#7912 closed defect (fixed)
timing is all wrong when extracting Closed Captions
Reported by: | jookiyaya | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | cc |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
ffmpeg -fix_sub_duration -f lavfi -i "movie=test.mkv[out+subcc]" -map 0:1 test.srt
also tried
ffmpeg -fix_sub_duration -real_time 1 -f lavfi -i "movie=test.mkv[out+subcc]" -map 0:1 test.srt
video sample: https://x0.at/SrG.mkv
result of test.srt https://x0.at/pUA.srt
version 4.1.3
Change History (8)
comment:1 by , 5 years ago
Keywords: | cc added |
---|---|
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
comment:2 by , 5 years ago
Summary: | timing is all wrong when extract srt subtitle from video → timing is all wrong when extracting Closed Captions |
---|
comment:3 by , 5 years ago
Summary: | timing is all wrong when extracting Closed Captions → timing is off by factor of 90 or 3 when extracting srt subtitle from video |
---|
comment:4 by , 5 years ago
ffmpeg -fix_sub_duration -f lavfi -i "movie=3hu.mp4[out+subcc]" -map 0:1 3hu.srt
3hu.srt : timing is off by factor of 3
comment:5 by , 5 years ago
Summary: | timing is off by factor of 90 or 3 when extracting srt subtitle from video → timing is all wrong when extracting Closed Captions |
---|
comment:6 by , 3 years ago
First of all sample is here now: https://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket7912/
Second, mediainfo does not see CC in mkv.
Third, I do not understand what is the actual problem here. And VLC is no help, it looks good, but sees some kind of second stream there of cc?
4th, where is 3hu.mp4?
comment:8 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fixed in a27853a7300bb3c2752256b2fc02f2439619f6f8.
For future tickets: Please always test current FFmpeg git head, nothing else is supported, and provide the command line you tested together with the complete, uncut console output.