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
465 stars 97 forks source link

Decoding into a color desynced video #59

Closed nate-moo closed 3 years ago

nate-moo commented 3 years ago

Each color is desynced and displayed at a different time causing a scrolling picture with frame edges falling over into the next frame

OS: Windows 10 - WSL 2 CPU: Ryzen 7 3700x GPU Nvidia RTX 3060 Ram: 32gb

Original: mpv-shot0005 Decoded: mpv-shot0001

adamjw24 commented 3 years ago

I'm pretty sure the problem lies with your encoding. Did you try encoding a .y4m file with VTM or VVenC? Neither understands the .y4m syntax and would treat the header as video bits, thus the content shift. The decoder just reproduces what is contained in the bitstream.

Please make sure you encode a raw yuv without a Y4M header.

nate-moo commented 3 years ago

Sorry for the late reply, I don't believe I encoded to a y4m, I encoded to a .h266 file using vvenc and decoded to a .yuv file using vvdec

adamjw24 commented 3 years ago

Could you post the whole chain of calls you used to encode and decode a video?

Best regards, Adam