[FFmpeg-trac] #11390(ffmpeg:new): av1_nvenc output frames sometimes cannot be decoded
FFmpeg
trac at avcodec.org
Thu Jan 2 06:45:49 EET 2025
#11390: av1_nvenc output frames sometimes cannot be decoded
------------------------------------+----------------------------------
Reporter: nikomo | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: av1_nvenc | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Comment (by nikomo):
I tried this.
{{{
@echo off
.\ffmpeg.exe -y -hwaccel cuda -hwaccel_output_format cuda -i
test_input.mkv -c:v hevc_nvenc -preset:v p1 -tune:v lossless -profile:v
main -tier:v high -rc:v constqp -rc-lookahead:v 0 -2pass:v 0 -qp:v 0
-multipass:v 0 -lookahead_level:v 0 -split_encode_mode:v 1 -c:a copy -c:s
copy -c:d copy tmp.mkv
.\ffmpeg.exe -y -hwaccel cuda -hwaccel_output_format cuda -i tmp.mkv -c:v
av1_nvenc -preset:v p7 -tune:v uhq -rc:v vbr -b:v 0 -multipass:v 2 -rc-
lookahead:v 30 -lookahead_level:v 15 -split_encode_mode:v 1 -cq:v 30 -c:a
copy -c:s copy -c:d copy debug.mkv
}}}
To my utter confusion, the output file still has the issue. I literally
re-encoded it to HEVC in between, and it still has the same issue. I have
never been this confused in my life.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11390#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list