[FFmpeg-trac] #8393(undetermined:new): -stream_loop option works neither with QSV, nor VA-API

FFmpeg trac at avcodec.org
Mon Nov 25 18:17:19 EET 2019


#8393: -stream_loop option works neither with QSV, nor VA-API
-------------------------------------+-------------------------------------
             Reporter:  eero-t       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by eero-t):

 With that patch, if I add "-noautoscale" before the input file, looping
 does work!

 Why libx264 doesn't need such option to work?


 Btw. if I add that same option after the input file, it seems to break
 option parsing:
 {{{
 $ ffmpeg -stream_loop 2  -hwaccel vaapi -vaapi_device /dev/dri/renderD128
 -hwaccel_output_format vaapi -i trailer_iphone.m4v -noautoscale -c:v
 h264_vaapi output.h264
 ...
 Option noautoscale (automatically insert a scale filter at the end of the
 filter graph if a resolutionchange is detected. This ensures all frames
 are the same resolution as the first framewhen they leave the filter chain
 (this option is enabled by default).If disabled, some encoders/muxers may
 not support this mode.) cannot be applied to output url output.h264 -- 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 output file output.h264.
 Error opening output files: Invalid argument
 }}}

 As to the patch itself, as you can see from above output, you need to add
 few spaces to the error text, now words at end & start of the text lines
 run together.

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


More information about the FFmpeg-trac mailing list