IENT / YUView

The Free and Open Source Cross Platform YUV Viewer with an advanced analytics toolset
http://ient.github.io/YUView
Other
1.88k stars 369 forks source link

Add lhvC parsing (MH-HEVC in MP4) #571

Closed ChristianFeldmann closed 6 months ago

ChristianFeldmann commented 6 months ago

Add parsing of the lhvC Configuration parameters from MP4. These are used for MH-HEVC bitstreams. Unfortunately, FFmpeg does not support reading this yet and it also does not give us these in the extradata. So the solution for now is to just open the input file "raw" and search for the characters lhvC. The sequence is searched for in the first and last 5k of data in the file. This is very hacky but there is no other way unless we would have our own mp4 parser.