[FFmpeg-devel] [PATCH]lavf/isom: Recognize fourcc HEVC

Compn tempn at mi.rr.com
Fri May 4 15:19:27 EEST 2018


On Thu, 3 May 2018 17:26:38 -0300, James Almer <jamrial at gmail.com>
wrote:
> Create a new table with all non standard codecids from ff_codec_bmp_tags
> and use it exclusively in avidec, then remove them from
> ff_codec_bmp_tags, adapting other de/muxers if needed (like ivf).
> 
> And then add this HEVC codecid to it.

as fourcc maintainer i approve carls patch to add h265.

while i like james's idea, it would create a duplicated mess
of fourcc lists in each container. the fourcc problem got worse as
more people were using mov tags in avi, which is why the hack was
requested to have the avi container look at the isom list. saving us
from duplicating the isom list in the avi list. mostly due to apple
users needing an intermediate format for their apple codecs.

i would be extremely against splitting and duplicating the
decoding fourccs again. internal and external fourccs like VLC and
mplayer would be the end game to that. ugh.

my idea would be to create a whitelist of codec ids we can encode to,
instead of splitting up the decode fourcc list amongst formats.

that way we fully control which fourcc we support in which codecs on
the encoder side (avienc, movenc). and we dont mess with the decoder
fourccs at all.

please let me know if my idea would work, i am probably missing some
huge flaw somewhere...

-compn


More information about the ffmpeg-devel mailing list