Re: [FFmpeg-user] ffmpeg 4.0 fails to transcoding one 4k clip

2018-08-01 Thread Carl Eugen Hoyos
2018-07-27 10:23 GMT+02:00, qw : > I use the following command, which reports error: > > ffmpeg -nostdin -y -hwaccel qsv -c:v h264_qsv -i src_AVC_4K.mp4 -b:a 8 > -ar 44100 -c:v h264_qsv -g 300 -profile:v high -preset veryfast -c:a > libfdk_aac -max_muxing_queue_size 4000 -b:v 17418000 -movflag

Re: [FFmpeg-user] ffmpeg 4.0 fails to transcoding one 4k clip

2018-07-27 Thread Yang Zhang
[test@localhost ~]$ uname -r 4.4.0-quicksync [test@localhost ~]$ vainfo libva info: VA-API version 0.99.0 libva info: va_getDriverName() returns 0 libva info: User requested driver 'iHD' libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so libva info: Found init function __vaDriver

Re: [FFmpeg-user] ffmpeg 4.0 fails to transcoding one 4k clip

2018-07-27 Thread Dennis Mungai
Also, can you provide the output of vainfo? On 27 July 2018 at 09:27, Yang Zhang wrote: > It will cause you get the "partial HW acceleration" error message > always. there is a patch fix the problem I remember, but I couldn't > find the patch in the latest FFmpeg > > On 7/27/18, qw wrote: > > H

Re: [FFmpeg-user] ffmpeg 4.0 fails to transcoding one 4k clip

2018-07-27 Thread Yang Zhang
It will cause you get the "partial HW acceleration" error message always. there is a patch fix the problem I remember, but I couldn't find the patch in the latest FFmpeg On 7/27/18, qw wrote: > Hi, > > > I use the following command, which reports error: > > > ffmpeg -nostdin -y -hwaccel qsv -c:v

Re: [FFmpeg-user] ffmpeg 4.0 fails to transcoding one 4k clip

2018-07-27 Thread Yang Zhang
add -init_hw_device qsv before "-g 300". also I as known. in the ffmpeg-4.0, there is a bug in the h264_qsv and hevc_qsv codec. On 7/27/18, qw wrote: > Hi, > > > I use the following command, which reports error: > > > ffmpeg -nostdin -y -hwaccel qsv -c:v h264_qsv -i src_AVC_4K.mp4 -b:a 8 > -a

[FFmpeg-user] ffmpeg 4.0 fails to transcoding one 4k clip

2018-07-27 Thread qw
Hi, I use the following command, which reports error: ffmpeg -nostdin -y -hwaccel qsv -c:v h264_qsv -i src_AVC_4K.mp4 -b:a 8 -ar 44100 -c:v h264_qsv -g 300 -profile:v high -preset veryfast -c:a libfdk_aac -max_muxing_queue_size 4000 -b:v 17418000 -movflags +faststart -strict -3 -vsync pa