[FFmpeg-devel] [PATCH]lavc: Allow forcing work-around for x264 cabac 8x8 4:4:4 bug

Mark Thompson sw at jkqxz.net
Mon Dec 4 02:56:36 EET 2017


On 04/12/17 00:09, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #6717, files without sei can be produced
> with remuxing and seeking, even if this is a (separate) bug, such
> files exist in the wild.
> 
> Please comment, Carl Eugen

File are currently fixable by remuxing with:

-bsf:v 'h264_metadata=sei_user_data=dc45e9bde6d948b7962cd820d923eeef+x264 - core 150'

Unfortunately that can't be applied directly when decoding, because -bsf isn't available as an input option.

I don't really like the idea of adding the option because it does break correct files, but I guess it probably ends up being the pragmatic option for decoding.

Still, I think it might be sensible to at least add a big warning telling the user they're doing something stupid if this option is set and it finds x264_build is >= 151?

- Mark


More information about the ffmpeg-devel mailing list