Skip to content

Conversation

@Yang2096
Copy link
Contributor

According to the H264 specification 7.3.3.2 Prediction weight table syntax, there is two layers of luma/chroma weight in B slice header.
image

@scottlamb
Copy link
Collaborator

Thanks! The code looks correct to me. Could you throw in a test and a "BREAKING CHANGE:" entry in CHANGELOG.md?

@Yang2096
Copy link
Contributor Author

It is hard to find or create a video that contains such slice header, i tried to encode a video using ffmpeg with -c:v libx264 -x264-params weightp=2:weightb=1, but the best i can get is l0 prediction weight.
Any suggestion?

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.

2 participants