Hi all,
I encoded a raw YUV video once with h264_vaapi and once with libx264 codec.
The output of h264_vaapi is about 4.8 MB, while the output of libx264 is
1.1 MB.

Here is the commands:
ffmpeg -loglevel trace -vaapi_device /dev/dri/renderD128 -video_size
1920x1080 -i raw_1080.yuv -vf 'format=nv12,hwupload' -vcodec h264_vaapi
out_h264_vaapi.mp4

ffmpeg -loglevel trace  -video_size 1920x1080 -i raw_1080.yuv  -vcodec
libx264  out_libx264.mp4

Is this variation in output size normal? or should I tune some settings?

Regards,
Ali
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to