[FFmpeg-user] Error in scale_cuda

Andy Sheimo asheimo at gmail.com
Sat Apr 1 19:42:36 EEST 2023

ffmpeg version N-110132-gc125860892-ffmpeg-windows-build-helpers

K:\Transcoded\Hiiro No Kakera Season 02>ffmpeg -loglevel error -stats
-hwaccel cuda -hwaccel_output_format cuda -i "F:\Remuxed\Hiiro No Kakera
Season 02\Hiiro No Kakera s02e01.mkv-002.mkv" -vsync cfr -map 0:0 -filter:v
scale_cuda=format=p010le -c:v hevc_nvenc -b:v 1000k -maxrate:v 6000k
-bufsize:v 6000k -color_primaries:v smpte170m -color_trc:v bt709
-colorspace:v smpte170m -metadata:s:v title= -disposition:v default -map
0:1 -c:a:0 copy -disposition:a:0 default -map 0:2 -c:a:1 copy
-disposition:a:1 0 -map 0:3 -c:s:0 copy -disposition:s:0 0 -map 0:4 -c:s:1
copy -disposition:s:1 0 -metadata:g title= -default_mode passthrough "Hiiro
No Kakera s02e01.mkv-002.mkv" -report

Receive the following error:
Impossible to convert between the formats supported by the filter
'Parsed_scale_cuda_0' and the filter 'auto_scale_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0

Reviewing the report (attached) there is one line that stands out to me.
[mpeg2video @ 0000029ac9df6100] allocating dummy last picture for B frame

If I take out scale_cuda and use format there is no issue. I believe that
scale_cuda is failing because of the B frame message. Is there any way to
route this message to Timo Rothenpieler since he seems to handle the
majority of nvidia commits to ffmpeg? I can provide the original and the
resulting files if needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-20230401-122745.7z
Type: application/octet-stream
Size: 101580 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20230401/35680369/attachment.obj>

More information about the ffmpeg-user mailing list