[FFmpeg-trac] #152(undetermined:new): order of options matters when it shouldn't

FFmpeg trac at avcodec.org
Wed May 4 20:13:21 CEST 2011


#152: order of options matters when it shouldn't
------------------------------+--------------------------
 Reporter:  matteosistisette  |        Type:  defect
   Status:  new               |    Priority:  important
Component:  undetermined      |     Version:  unspecified
 Keywords:                    |  Blocked By:
 Blocking:                    |  Reproduced:  0
 Analyzed:  0                 |
------------------------------+--------------------------
 The option -loop_input may be ignored depending on whether it is specified
 before or after other options. The following commands, which are exactly
 the same except for the order in which options are specified, produce
 different result:

 ffmpeg -loop_input -shortest -y -i image8.jpg -i sound11.amr -acodec copy
 -vcodec mjpeg result.avi

 -> works as expected, looping the input

 while

 ffmpeg -y -i image8.jpg -i sound11.amr -loop_input -shortest -acodec copy
 -vcodec mjpeg result.avi

 -> won't loop the input and will produce a video of one frame, as if the
 -loop_input option wasn't present.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/152>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list