Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
subtitles [2019/06/29 21:46] – [DVD Subtitles] beandog | subtitles [2020/10/27 00:49] (current) – [Detect CC] beandog | ||
---|---|---|---|
Line 3: | Line 3: | ||
* [[ffmpeg]] | * [[ffmpeg]] | ||
- | ** WARNING: ** ffmpeg | + | ** WARNING: ** ffmpeg automatically |
- | + | ||
- | < | + | |
- | ffmpeg -i dvd_copy.mpg dvd_copy.mp4 | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | Output #0, mp4, to ' | + | |
- | Metadata: | + | |
- | encoder | + | |
- | Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc | + | |
- | Metadata: | + | |
- | encoder | + | |
- | Side data: | + | |
- | cpb: bitrate max/ | + | |
- | Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), | + | |
- | Metadata: | + | |
- | encoder | + | |
- | </ | + | |
- | + | ||
- | Running | + | |
- | + | ||
- | < | + | |
- | Text | + | |
- | ID : 1-CC1 | + | |
- | Format | + | |
- | Muxing mode : SCTE 128 / DTVCC Transport | + | |
- | Muxing mode, more info : Muxed in Video #1 | + | |
- | Duration | + | |
- | Bit rate mode : Constant | + | |
- | Stream size : 0.00 Byte (0%) | + | |
- | Encoded stream size : 0.00 Byte (0%) | + | |
- | CaptionServiceName | + | |
- | </ | + | |
- | + | ||
- | Same source, but in a Matroska container does not on this sample: | + | |
- | + | ||
- | < | + | |
- | ffmpeg -i dvd_copy.mpg dvd_copy.mkv | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | Output #0, matroska, to 'test.mkv': | + | |
- | Metadata: | + | |
- | encoder | + | |
- | Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), | + | |
- | Metadata: | + | |
- | encoder | + | |
- | Side data: | + | |
- | cpb: bitrate max/ | + | |
- | Stream #0:1: Audio: vorbis (libvorbis) (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp | + | |
- | Metadata: | + | |
- | encoder | + | |
- | </ | + | |
- | + | ||
- | Running | + | |
==== Detect VobSub ==== | ==== Detect VobSub ==== | ||
Line 92: | 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 '' |