[FFmpeg-devel] [RFC] Type descriptors

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu Dec 31 22:54:34 EET 2020

On 31/12/2020 20:15, Jim DeLaHunt wrote:
> One of the places where FFmpeg's inconsistent encoding caused me a 
> problem was when I was operating on a Quicktime video. FFmpeg (or 
> perhaps FFprobe) printed a 4-byte Quicktime tag literally to stdout. The 
> tag's byte sequence was not valid UTF-8. It messed up the output. That 
> tag, being arbitrary binary data, should have been escaped or printed in 
> hex or otherwise represented in valid UTF-8.

We really should simply never be printing 'strings' from files without
any soft of validation - I consider this a bug. It's the same reason
we don't just dump the User SEI as a string, for example.

- Derek

More information about the ffmpeg-devel mailing list