[FFmpeg-user] h264_vaapi missing frames

Moritz Barsnick barsnick at gmx.net
Thu Mar 22 15:31:17 EET 2018


On Thu, Mar 22, 2018 at 09:22:24 +0800, Kai Hendry wrote:
> https://s.natalian.org/2018-03-22/1521681432.mp4.log
> I'm getting hwupload,scale_vaapi=format=nv12: Invalid argument
> 
> Did I miss something?

Yes, the lines before that one. This hints that your command line is
misinterpreted:
> Opening an output file: hwupload,scale_vaapi=format=nv12.
This is where it goes wrong:
> Applying option vf (set video filters) with argument -vf.

Which points to the obvious:
> [...] -movflags +faststart -vf -vf "hwupload,scale_vaapi=format=nv12" [...]
                             ^^^^^^^

One "-vf" too many. :-)

Moritz

P.S.: That log was definitely short enough (by far) to post/attach it
      here directly.


More information about the ffmpeg-user mailing list