[FFmpeg-trac] #4315(ffmpeg:closed): -shortest option seams to be ignored

FFmpeg trac at avcodec.org
Tue Feb 17 03:48:41 CET 2015


#4315: -shortest option seams to be ignored
--------------------------------------+-----------------------------------
             Reporter:  gabrielstuff  |                    Owner:
                 Type:  defect        |                   Status:  closed
             Priority:  normal        |                Component:  ffmpeg
              Version:  2.5.2         |               Resolution:  invalid
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+-----------------------------------
Changes (by llogan):

 * keywords:  shortest, layer, overlay =>
 * status:  new => closed
 * resolution:   => invalid


Comment:

 `-shortest` is an output option as shown in the
 [https://ffmpeg.org/ffmpeg.html documentation]. I expect that you should
 have received a message in your console output:

 {{{
 Option shortest (finish encoding within shortest input) cannot be applied
 to input file image001.png -- you are trying to apply an input option to
 an output file or vice versa. Move this option before the file it belongs
 to.
 Error parsing options for input file image001.png.
 Error opening input files: Invalid argument
 }}}

 However, when using overlay with a looping input you need to use
 `shortest=1` within the overlay filter, such as `overlay=shortest=1`. See
 the [https://ffmpeg.org/ffmpeg-filters.html#overlay overlay video filter
 docs] for more info.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4315#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list