[FFmpeg-devel] [PATCH 3/3] avcodec/libopenh264enc: set iEntropyCodingModeFlag by coder option
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Fri Jan 14 05:20:38 EET 2022
On Fri, Jan 14, 2022 at 12:01:26AM +0200, Martin Storsjö wrote:
> 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.
Sorry, I'll update the message.
it's high profile, we can't to use cavlc even if specify -coder. Yes, if haven't
set coder, it's preferable to enable cabac for high.
>
> // Martin
>
--
Thanks,
Limin Wang
More information about the ffmpeg-devel
mailing list