[FFmpeg-user] ffmpeg h264_vaapi hangs

Nalorokk nalorokk at gmail.com
Thu Jan 26 16:21:56 EET 2017


When I'm trying to encode any h264 video to h264 using h264_vaapi ffmpeg
hangs just after start. Is there any way to make hardware encoding working?


   1. ffmpeg -loglevel debug -hwaccel vaapi -vaapi_device
   /dev/dri/renderD128 -i output.mp4 -vf 'format=nv12,hwupload' -map 0:0
   -threads 8 -aspect 16:9 -y -f matroska -acodec copy -b:v 12500k -vcodec
   h264_vaapi out_va.mp4

   http://pastebin.com/2MmJBY04 - full log


More information about the ffmpeg-user mailing list