ffvvc / FFmpeg

VVC Decoder for ffmpeg
Other
48 stars 12 forks source link

Seeking issues #190

Closed 6ws closed 4 months ago

6ws commented 4 months ago

With the new muxer patches upstream, seeking in an mp4 file causes long delays, audio sync issues, and artifacts. Occurs at all resolutions and framerates, regardless of complexity. Tested with ffplay and mpv.

[vvc @ 00000221bc975b00] Duplicate POC in a sequence: 87. [vvc @ 00000221bc975b00] Error parsing NAL unit #5. [vvc @ 00000221bc975b00] Duplicate POC in a sequence: 111. [vvc @ 00000221bc975b00] Error parsing NAL unit #5. [vvc @ 00000221bc975b00] Duplicate POC in a sequence: 107. [vvc @ 00000221bc975b00] Error parsing NAL unit #2. [vvc @ 00000221bc975b00] Duplicate POC in a sequence: 106. [vvc @ 00000221bc975b00] Error parsing NAL unit #1. [vvc @ 00000221bc975b00] Duplicate POC in a sequence: 109. [vvc @ 00000221bc975b00] Error parsing NAL unit #2. [vvc @ 00000221bc975b00] Duplicate POC in a sequence: 108. [vvc @ 00000221bc975b00] Error parsing NAL unit #1.

nuomi2021 commented 4 months ago

Thank you for the report.
I tried https://www.elecard.com/storage/video/NovosobornayaSquare_1920x1080.mp4 with ffplay before. It's no issue. Could you help provide the clip?

6ws commented 4 months ago

I created my own clips using sources from https://media.xiph.org/video/derf/y4m/ vvencapp --input students_cif.y4m --preset faster --output students.266 mp4box -add students.266:fps=30000/1001:par=12:11 -new students.mp4

I also found a TS sample on https://dvb.org/specifications/verification-validation/vvc-test-content/ named "VVC HDR UHDTV1 OpenGOP 1920x1080 50fps HLG10" which I reuploaded here. Both cases share the same issue.

nuomi2021 commented 4 months ago

mp4 issue was fixed by https://github.com/ffvvc/FFmpeg/pull/192, could you provide you email, so I can add you to Reported-by:

ts is a demux bug or feature. 265 has the same issue. You can check with: wget https://s3.amazonaws.com/x265.org/video/Tears_400_x265.mp4 && ffmpeg -i Tears_400_x265.mp4 -c:v copy tos.ts ffplay tos.ts

please report an issue to ffmpeg for ts.

nuomi2021 commented 4 months ago

mp4 fixed by https://github.com/FFmpeg/FFmpeg/commit/88a040386a0ea95306d8d8fdf9400f6214c89e7d, @6ws please have a try

6ws commented 4 months ago

Just tested and it is solved. No credit is necessary, but if you want to link this issue that is fine. Thank you.