h264-reader
h264-reader copied to clipboard
Support l1 weights in B slice header
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.
Thanks! The code looks correct to me. Could you throw in a test and a "BREAKING CHANGE:" entry in CHANGELOG.md?
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?