Re: [FFmpeg-user] vaapi_h264 encoding very low bitrate

2021-01-21 Thread owen s
Hi Mark, You're correct in that increasing the framerate for the image input increases the bitrate. You also suggested lowering the gop, but that would cause issues if I am trying to stream at these settings since the gop needs to be 2* framerate. there's no way to have higher framerate w/ an in

Re: [FFmpeg-user] vaapi_h264 encoding very low bitrate

2021-01-20 Thread Mark Thompson
On 19/01/2021 16:07, owen s wrote: I am running this command with ffmpeg -y -loglevel debug \ -vaapi_device /dev/dri/renderD128 \ -loop 1 -r 1 -i ./image.jpg -pix_fmt vaapi_vld \ -b:v 18000k -minrate 18000k \ -vf 'format=nv12|vaapi,hwupload,scale_vaapi=w=1280:h=720' \ -rc_mode 3 \ -r 30 -g 60 \ -

[FFmpeg-user] vaapi_h264 encoding very low bitrate

2021-01-19 Thread owen s
I am running this command with ffmpeg -y -loglevel debug \ -vaapi_device /dev/dri/renderD128 \ -loop 1 -r 1 -i ./image.jpg -pix_fmt vaapi_vld \ -b:v 18000k -minrate 18000k \ -vf 'format=nv12|vaapi,hwupload,scale_vaapi=w=1280:h=720' \ -rc_mode 3 \ -r 30 -g 60 \ -c:v h264_vaapi -f flv /dev/null I am