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

James Almer jamrial at gmail.com
Wed May 2 22:26:07 EEST 2018


On 5/2/2018 3:59 PM, Carl Eugen Hoyos wrote:
> 2018-05-02 20:52 GMT+02:00, James Almer <jamrial at gmail.com>:
>> On 5/2/2018 3:44 PM, Carl Eugen Hoyos wrote:
> 
>>> Attached patch fixes ticket #7110 for me.
>>
>> hevc in AVI is not a thing, and adding a non official fourcc to
>> ff_codec_movvideo_tags to support weird files created by
>> faulty software that are not even mov/mp4 is not a good idea.
> 
> So what do you suggest?
> Not supporting files that are written by common software?

Asking the source of these files (VirtualDub) to stop creating them is
one option. Otherwise we'll be adding a similar tag to support h266 in
avi five years from now because people refuse to do things right.

Alternatively, actually start using avfmtctx->strict_std_compliance on
demuxers and refuse to handle these files unless it's set as unofficial
or lower, but i predict a lot of people will come out of the woodworks
complaining about their broken samples suddenly not working anymore
because ffmpeg started to honor its own standard compliance settings.

> 
>> Why the hell is the avi demuxer even looking at mov tags to begin with?
> 
> Because every other software except FFmpeg writes such files.

I doubt we're the only ones that try to not write non standard files...

> 
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 



More information about the ffmpeg-devel mailing list