fraunhoferhhi / vvdec

VVdeC, the Fraunhofer Versatile Video Decoder
https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html
BSD 3-Clause Clear License
462 stars 95 forks source link

Decode fail #168

Closed michaelwangat closed 8 months ago

michaelwangat commented 8 months ago

Hello, I have a VVC file test16.bin,but VVdec can only decode the first frame, and the other frames fail to be decoded. VTM can completely decode the entire file of 30 frames, it seems that this is a VVdec corresponding decoding bug, the attachment contains the encoded file, what is the error caused by this? Thank you!

test16.zip the log is as follows: VVdeC, the Fraunhofer VVC/H.266 decoder, version 2.2.0 [THREADS=1; PARSE_DELAY=1; SIMD=AVX2] POC 8 LId: 0 TId: 1 ERROR vvdecapp [warning]: (possibly recoverable) exception (decoder input data error) detail: Exception while tuning in: ERROR: In function "void __cdecl vvdec::DecSlice::parseSlice(class vvdec::Slice ,class vvdec::InputBitstream ,int)" in vvdec\source\Lib\DecoderLib\DecSlice.cpp:173: Expecting a terminating bit ERROR CONDITION: !binVal

K-os commented 8 months ago

Thanks for the report. I'll have a look at it.

michaelwangat commented 8 months ago

Thank you, can you reproduce this issue?

K-os commented 8 months ago

Yes, I was able to reproduce and identify the issue. I'm currently working on fixing it.

K-os commented 8 months ago

My colleague @adamjw24 fixed it. You can try the latest master revision.

Thanks for the report.