

Video data: Most WebM files will contain VP8 or VP9 for video. For details on how to use the 2nd one (it’s better) check out the FFmpeg’s AAC Encoding Guide. The value changes depending on the audio encoder.įFmpeg currently supports two AAC-LC encoders: Our examples will be using the native AAC-LC library. You can select an audio quality level with -qscale:a (or the alias -q:a ). Most of the time this should be the preferred method. This is a variable bit rate mode, roughly analogous to using -qp (constant QP ) with x264. Is there a variable bit rate mode in FFmpeg? In other words, it is not possible to build one FFmpeg with multiple versions of x264 with different bit depths. FFmpeg only supports one bit depth in one particular build. The exact bit depth is controlled at x264’s configure time. I also tried encoding to VP8 and ffmpeg just sits there, not erroring out but not encoding anything either.How many bit depths does FFmpeg support x264? I ran the following command which shows H.264 is supported by the /dev/video11 device:Ĭode: Select all $ v4l2-ctl -d /dev/video11 -list-formats If I switch the video codec to h264 it encodes the video at 13-14 fps, so I know the rest of my command is correct.

I assume the h264 profile not found warning has something to do with it. driver 'exynos-gsc' on card 'exynos-gsc gscaler' Here is my ffmpeg command and the output.Ĭode: Select all ffmpeg -threads 4 -i recording.ts -vf scale=720:480 -vcodec h264_v4l2m2m -crf 18 -acodec copy test.mp4Ĭode: Select all ffmpeg version n4.1 Copyright (c) 2000-2018 the FFmpeg developers I have ffmpeg installed and the encoders list shows support for h264_v4l2m2m. According to this post on the Armbian forum, it is now possible.ĭoes anyone know what packages/modules/kernel/libraries/branches are required to get this working?

I would like to do H.264 hardware encoding with ffmpeg. I recently got an Odroid XU4 running Arch Linux ARM.
