[FFmpeg-user] how to use Intel qsv codec for ffmpeg 4.0

doc_caritech rrawlins at caritech.net
Sun Jul 15 14:30:13 EEST 2018


Hi Guys,
           Hey I have just tested your suggestion on the 4.0.1 as i had the
same issue and it seems to be working, here is the command i'm running
below:

ffmpeg -init_hw_device qsv=qsv:MFX_IMPL_hw_any -hwaccel qsv
-filter_hw_device qsv -c:v h264_qsv  -i
"udp://224.100.2.45:49500?buffer_size=10000000000000000&overrun_nonfatal=1&fifo_size=100000000"
-c:v h264_qsv -preset fast -vf "hwupload=extra_hw_frames=10,deinterlace_qsv"
-profile:v high -level 31 -b:v 3000k -force_key_frames
"expr:gte(t,n_forced*6)" -g 60 -c:a aac -ac 2 -b:a 56k -map i:0x21 -map
i:0x22 -f flv rtmp://localhost/show/maxup

The issue i'm having now is that the process is randomly crashing with a
circular buffer overflow, in the case of the command above it just hangs
with the nonfatal error but doesn't encoded any further data. I'm using
Centos 7.2 with intel media studio R2.



--
Sent from: http://www.ffmpeg-archive.org/


More information about the ffmpeg-user mailing list