Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

ChristianFeldmann
Copy link
Member

@ChristianFeldmann ChristianFeldmann commented Mar 25, 2024

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.

@ChristianFeldmann ChristianFeldmann marked this pull request as ready for review March 28, 2024 14:39
@ChristianFeldmann ChristianFeldmann merged commit 4b03932 into develop Mar 28, 2024
8 checks passed
@ChristianFeldmann ChristianFeldmann deleted the feature/ParseLhvCExtradataFromMp4Containers branch March 28, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant