howto:subtitles
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:subtitles [2025/02/01 22:44] – Wulf Rajek | howto:subtitles [2025/07/09 16:31] (current) – Wulf Rajek | ||
---|---|---|---|
Line 18: | Line 18: | ||
</ | </ | ||
+ | ===== Alternatives ===== | ||
Untested alternative without limitations: | Untested alternative without limitations: | ||
https:// | https:// | ||
+ | |||
+ | Other alternative: | ||
+ | https:// | ||
+ | https:// | ||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | |||
+ | https:// | ||
+ | |||
+ | ===== Yatse kodi offset ===== | ||
+ | |||
+ | JSON-RPC | ||
+ | Method: Input.ExecuteAction | ||
+ | Parameter: | ||
+ | or | ||
+ | Parameter: | ||
+ | |||
+ | |||
+ | ===== Extract subtitles ===== | ||
+ | Extract subtitle with specific metadata title: | ||
+ | < | ||
+ | for f in *.mkv; do ffmpeg -hide_banner -i " | ||
+ | for f in *.mkv; do ffmpeg -hide_banner -i " | ||
+ | |||
+ | #extract 2 at once | ||
+ | for f in *.mkv; do ffmpeg -hide_banner -i " | ||
+ | </ | ||
+ | |||
+ | ===== Set subtitle to forced ===== | ||
+ | This copies the video and audio stream of an mp4 file, sets the first mov_text subtitle stream to ' | ||
+ | < | ||
+ | ffmpeg -i input.mp4 -vcodec copy -acodec copy -map 0:v:0 -map 0:a:0 -map 0:s:0 -c:s mov_text -disposition: | ||
+ | </ | ||
+ | |||
+ | For mkv files, this probably needs to be srt instead of mov_text. | ||
howto/subtitles.1738449883.txt.gz · Last modified: by Wulf Rajek