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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".