#11601(avcodec:new): VVC decode fails after decoding few frames
#11601: VVC decode fails after decoding few frames -----------------------------------+---------------------------------- Reporter: Kirithika | Type: defect Status: new | Priority: normal Component: avcodec | Version: 7.1 Keywords: vvc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+---------------------------------- Summary of the bug: VVC decode using ffmpeg's native VVC decoder failed after decoding 68/300 frames.The message "Error allocating frame, DPB full" could be seen on the console. Decoding the bitstream using https://github.com/fraunhoferhhi/vvdec was successful. Hence suspecting this could be a bug in native VVC decoder related to max DPB size. How to reproduce: {{{ ffmpeg -v 9 -loglevel 99 -i input 960x540_8bit.vvc 960x540_8bit.yuv }}} ffmpeg version n7.1.1-17-g24de8a98cf-20250520 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 15.1.0 (crosstool-NG 1.27.0.42_35c1e72) Please find the console log and input file attached. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11601> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11601: VVC decode fails after decoding few frames -----------------------------------+----------------------------------- Reporter: Kirithika | Owner: (none) Type: defect | Status: new Priority: normal | Component: avcodec Version: 7.1 | Resolution: Keywords: vvc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+----------------------------------- Description changed by Kirithika: Old description:
Summary of the bug:
VVC decode using ffmpeg's native VVC decoder failed after decoding 68/300 frames.The message "Error allocating frame, DPB full" could be seen on the console. Decoding the bitstream using https://github.com/fraunhoferhhi/vvdec was successful. Hence suspecting this could be a bug in native VVC decoder related to max DPB size.
How to reproduce: {{{ ffmpeg -v 9 -loglevel 99 -i input 960x540_8bit.vvc 960x540_8bit.yuv }}} ffmpeg version n7.1.1-17-g24de8a98cf-20250520 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 15.1.0 (crosstool-NG 1.27.0.42_35c1e72)
Please find the console log and input file attached.
New description: Summary of the bug: VVC decode using ffmpeg's native VVC decoder failed after decoding 68/300 frames.The message "Error allocating frame, DPB full" could be seen on the console. Decoding the bitstream using https://github.com/fraunhoferhhi/vvdec was successful. Hence suspecting this could be a bug in native VVC decoder related to max DPB size. How to reproduce: {{{ ffmpeg -v 9 -loglevel 99 -i input 960x540_8bit.vvc 960x540_8bit.yuv }}} ffmpeg version n7.1.1-17-g24de8a98cf-20250520 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 15.1.0 (crosstool-NG 1.27.0.42_35c1e72) Please find the console log and input file attached using the videolan file uploader -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/11601#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11601: VVC decode fails after decoding few frames -----------------------------------+----------------------------------- Reporter: Kirithika | Owner: (none) Type: defect | Status: new Priority: normal | Component: avcodec Version: 7.1 | Resolution: Keywords: vvc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+----------------------------------- Comment (by Frank Plowman): Hi, could you please provide the input file? Thanks -- Ticket URL: <https://trac.ffmpeg.org/ticket/11601#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11601: VVC decode fails after decoding few frames -----------------------------------+----------------------------------- Reporter: Kirithika | Owner: (none) Type: defect | Status: new Priority: normal | Component: avcodec Version: 7.1 | Resolution: Keywords: vvc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+----------------------------------- Comment (by Kirithika): Hi,since the file size was large, it was attached using videolan file uploader -- Ticket URL: <https://trac.ffmpeg.org/ticket/11601#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11601: VVC decode fails after decoding few frames -----------------------------------+----------------------------------- Reporter: Kirithika | Owner: (none) Type: defect | Status: new Priority: normal | Component: avcodec Version: 7.1 | Resolution: Keywords: vvc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+----------------------------------- Comment (by Frank Plowman): I can only see the log file in [https://streams.videolan.org/ffmpeg/incoming/11601/ the uploads directory]. Is there any chance you could try uploading it again? Also I note you are using FFmpeg 7.1.1. Could you please try decoding the file with the latest revision on the master branch from git, to see if the issue has been resolved since the 7.1.1 release? -- Ticket URL: <https://trac.ffmpeg.org/ticket/11601#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11601: VVC decode fails after decoding few frames -----------------------------------+----------------------------------- Reporter: Kirithika | Owner: (none) Type: defect | Status: new Priority: normal | Component: avcodec Version: 7.1 | Resolution: Keywords: vvc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+----------------------------------- Comment (by Kirithika): Sure, I have uploaded the input file to the directory.I shall check with latest revision and revert back.Thanks -- Ticket URL: <https://trac.ffmpeg.org/ticket/11601#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11601: VVC decode fails after decoding few frames -----------------------------------+----------------------------------- Reporter: Kirithika | Owner: (none) Type: defect | Status: new Priority: normal | Component: avcodec Version: 7.1 | Resolution: Keywords: vvc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+----------------------------------- Comment (by Kirithika): Checked with the latest commit on git-master. The issue persists there as well. Please find the corresponding log attached as log_960x540_8bit_git_master_commit_4099d53.txt in the directory. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11601#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11601: VVC decode fails after decoding few frames -----------------------------------+----------------------------------- Reporter: Kirithika | Owner: (none) Type: defect | Status: closed Priority: normal | Component: avcodec Version: 7.1 | Resolution: invalid Keywords: vvc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+----------------------------------- Changes (by Frank Plowman): * resolution: => invalid * status: new => closed Comment: Hi, the input file you have provided is an illegal VVC bitstream. It contains NAL units with nuh_temporal_id_plus1 syntax elements whose value is equal to 0. The specification states "The value of nuh_temporal_id_plus1 shall not be equal to 0." (H.266v3 p. 92). FFmpeg isn't the only decoder which won't play the stream, the VVC reference software reports "The value of TemporalId of SPS NAL units shall be equal to 0". VVdeC also reports the same error, the difference between it and the reference software being that it is able to recover better. In principle, FFmpeg should also be able to recover like VVdeC (both simply skip the NAL unit in the error case). Alternatively, I tested modifying the value of nuh_temporal_id_plus1 to be equal to 1 for these NAL units. Having done this, it appears that the bitstream is a multilayer bitstream, which is not currently supported by the FFmpeg VVC decoder. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11601#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg