Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| subtitles [2019/06/29 10:44] – [Encode DVD with Closed Captioning] beandog | subtitles [2020/10/27 00:49] (current) – [Detect CC] beandog | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| * [[ffmpeg]] | * [[ffmpeg]] | ||
| + | ** WARNING: ** ffmpeg automatically muxes the closed captioning in **with libx264** if it exists, and will not show up in the map output, meaning it cannot be disabled. Also, '' | ||
| ==== Detect VobSub ==== | ==== Detect VobSub ==== | ||
| Line 36: | Line 37: | ||
| For DVDs, closed captioning streams are embedded in the video stream. | For DVDs, closed captioning streams are embedded in the video stream. | ||
| + | |||
| + | By default, ffmpeg will copy the Closed Captions. Even passing '' | ||
| The fastest way is to see if it has closed captioning is using ffprobe and looking for '' | The fastest way is to see if it has closed captioning is using ffprobe and looking for '' | ||
| Line 100: | Line 103: | ||
| [/STREAM] | [/STREAM] | ||
| </ | </ | ||
| - | |||
| ==== Extract CC ==== | ==== Extract CC ==== | ||
| Line 114: | Line 116: | ||
| < | < | ||
| dvd_copy -o dvd_copy.mpg | dvd_copy -o dvd_copy.mpg | ||
| - | ffmpeg -f lavfi -i move=dvd_copy.mpg[out+subcc] -map 0:s subtitles.srt | + | ffmpeg -f lavfi -i movie=dvd_copy.mpg[out+subcc] -map 0:s subtitles.srt |
| </ | </ | ||
| Line 120: | Line 122: | ||
| < | < | ||
| - | ffmpeg -f lavfi -i move=dvd_copy.mpg[out+subcc] -map 0:v -map 0:s video.mkv | + | ffmpeg -f lavfi -i movie=dvd_copy.mpg[out+subcc] -map 0:v -map 0:s video.mkv |
| </ | </ | ||