[FFmpeg-trac] #5379(ffmpeg:new): -ss option does not work for stream selection

FFmpeg trac at avcodec.org
Fri Mar 25 12:14:37 CET 2016

#5379: -ss option does not work for stream selection
             Reporter:  gdittmer  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  ffmpeg    |                  Version:  unspecified
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
 I am using 3.0 with

 ffmpeg -ss xx -i in.mkv -c copy out.mp4

 in.mkv has video, mp2 stereo and AC3 audio. AC3 is 2.0 stereo at position
 0 and 5.1 surround at position xx. out.mp4 contains mp2 audio, while
 documentation states that no decode happens until position xx and thus AC3
 audio should be selected. Easily confirmed on any satellite TV stream.

 Current workaround for desired behaviour:

 ffmpeg -ss xx -i in.mkv -map 0 -c copy -f matroska pipe:1 | ffmpeg -i - -c
 copy out.mp4

Ticket URL: <https://trac.ffmpeg.org/ticket/5379>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list