[FFmpeg-trac] #3419(avformat:new): -ss on the input has no effect when extracting subtitles
FFmpeg
trac at avcodec.org
Wed Feb 26 10:39:57 CET 2014
#3419: -ss on the input has no effect when extracting subtitles
--------------------------------------+----------------------------------
Reporter: bubbleguuum | Type: defect
Status: new | Priority: normal
Component: avformat | Version: 2.1.3
Keywords: srt, subitle | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
uUing the -ss option to specify the start of the input has no effect when
extracting subtitles. The full subtitle extracted, not taking into account
the start position:
{{{
% ffmpeg -i
h264_720p_hp_5.1_3mbps_vorbis_styled_and_unstyled_subs_suzumiya.mkv -map
0:2 -c:0 srt -f srt sub1.srt
% ffmpeg -ss 10 -i
h264_720p_hp_5.1_3mbps_vorbis_styled_and_unstyled_subs_suzumiya.mkv -map
0:2 -c:0 srt -f srt sub2.srt
}}}
both files sub1.srt and sub2.srt are identical.
I would have expected sub2.srt timestamps to be offset by -10 seconds, and
all cues < 10s to be discarded.
The file used for testing can be found here:
http://www.auby.no/files/video_tests/h264_720p_hp_5.1_3mbps_vorbis_styled_and_unstyled_subs_suzumiya.mkv
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3419>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list