[FFmpeg-trac] #10762(undetermined:closed): ffmpeg: Intel QSV and xstack_qsv: Error while filtering: Internal bug, should not have happened

FFmpeg trac at avcodec.org
Thu Dec 28 23:39:07 EET 2023


#10762: ffmpeg: Intel QSV and xstack_qsv: Error while filtering: Internal bug,
should not have happened
-------------------------------------+-------------------------------------
             Reporter:  Shane        |                    Owner:  (none)
  Warren                             |
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:  invalid
             Keywords:  qsv          |               Blocked By:
  xstack_qsv                         |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by Shane Warren):

 * status:  new => closed
 * resolution:   => invalid

Comment:

 This problem does not happen if this patch set is installed
 (https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=10318), and the
 command line is changed to:

 {{{
 /tmp/ffmpeg_g  -nostats -loglevel verbose -init_hw_device
 qsv=card1:/dev/dri/card1 -hwaccel_device card1 -filter_hw_device card1
 -fflags discardcorrupt  -fflags +genpts -fflags discardcorrupt  \
 -hwaccel qsv -hwaccel_output_format qsv -thread_queue_size 4096
 -async_depth 1 -gpu_copy on -i
 "udp://@225.105.0.1:10102?fifo_size=214688&buffer_size=851968&timeout=800000&overrun_nonfatal=1"
 \
 -hwaccel qsv -hwaccel_output_format qsv -thread_queue_size 4096
 -async_depth 1 -gpu_copy on -i
 "udp://@225.105.0.14:10102?fifo_size=214688&buffer_size=851968&timeout=800000&overrun_nonfatal=1"
 \
 -hwaccel qsv -hwaccel_output_format qsv -thread_queue_size 4096
 -async_depth 1 -gpu_copy on -i
 "udp://@225.105.0.5:10102?fifo_size=214688&buffer_size=851968&timeout=800000&overrun_nonfatal=1"
 \
 -hwaccel qsv -hwaccel_output_format qsv -thread_queue_size 4096
 -async_depth 1 -gpu_copy on -i
 "udp://@225.105.0.4:10102?fifo_size=214688&buffer_size=851968&timeout=800000&overrun_nonfatal=1"
 \
 -noautoscale -filter_complex "\
 [0:v]vpp_qsv=deinterlace=2:w=720:h=480:framerate=60000/1001[v1]; \
 [1:v]vpp_qsv=deinterlace=2:w=720:h=480:framerate=60000/1001[v2]; \
 [2:v]vpp_qsv=deinterlace=2:w=720:h=480:framerate=60000/1001[v3]; \
 [3:v]vpp_qsv=deinterlace=2:w=720:h=480:framerate=60000/1001[v4]; \
 [v1][v2][v3][v4] xstack_qsv=inputs=4:layout=0_0|0_h0|w0_0|w0_h0[mosiac]; \
 [mosiac]vpp_qsv=w=1920:h=1080,pad=1920:1080:(ow-iw)/2:(oh-ih)/2[v]"  \
 -map "[v]" -map 0:a:0 -map 1:a:0 -map 2:a:0 -map 3:a:0 \
 -c:v h264_qsv -async_depth 1 -scenario livestreaming -r:v 60000/1001 -b:v
 6000k -minrate:v 6000k -maxrate:v 6000k -bufsize:v 1500k -threads 1
 -profile:v high  -bf:v 0 -g:v 15 \
 -filter:a "aresample=async=1" -c:a aac -ac:a 2 -ar:a 48000 -b:a 192k
 -fps_mode auto \
 -f mpegts -muxrate 7450599 -pes_payload_size 1528
 "udp://@225.105.0.83:10102?pkt_size=1316&fifo_size=90000&bitrate=7450599&burst_bits=10528"
 }}}

 Note: I removed the hwupload,hwdownload from my original commands, that
 patch seems to have negated the need for those commands.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10762#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list