[FFmpeg-devel] [PATCH 3/3] avcodec/libopenh264enc: set iEntropyCodingModeFlag by coder option
Martin Storsjö
martin at martin.st
Fri Jan 14 00:01:26 EET 2022
On Thu, 13 Jan 2022, lance.lmwang at gmail.com wrote:
> From: Limin Wang <lance.lmwang at gmail.com>
>
> ffmpeg -y -f lavfi -i testsrc -c:v libopenh264 -profile:v main -coder cavlc -frames:v 1 -bsf trace_headers -f null -
>
> before the patch:
> entropy_coding_mode_flag 0 = 1
>
> after the patch:
> entropy_coding_mode_flag 0 = 0
I don't understand what this bit in the commit message tries to say?
Doesn't this patch have the effect, that if I only specify "-profile
high", I'll end up with CAVLC unless I specifically pass "-coder cabac"
too? If coder wasn't specified, I think we should still default to CABAC
for main/high.
// Martin
More information about the ffmpeg-devel
mailing list