[FFmpeg-trac] #10340(undetermined:new): Input frame is not the in the configured hwframe context.

FFmpeg trac at avcodec.org
Sun Apr 30 21:57:09 EEST 2023


#10340: Input frame is not the in the configured hwframe context.
----------------------------------------+----------------------------------
             Reporter:  ronag           |                     Type:  defect
               Status:  new             |                 Priority:  normal
            Component:  undetermined    |                  Version:  5.1.3
             Keywords:  cuda, hwaccel,  |               Blocked By:
             Blocking:                  |  Reproduced by developer:  0
Analyzed by developer:  0               |
----------------------------------------+----------------------------------
 For some reason using npp filters can cause this error. Replacing
 `scale_npp` with `scale_cuda` makes the error go away.

 {{{
 ffmpeg -f lavfi -i "color=c=0x4d1a7f" -s 1280x720 -r 30 -c:v webp
 -filter:v
 'format=yuv444p,hwupload_cuda,transpose_npp=cclock,scale_npp=w=180:h=320,hwdownload,format=yuv444p'
 -f null -
 ffmpeg version 5.1.3 Copyright (c) 2000-2022 the FFmpeg developers
   built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
   configuration: --disable-debug --disable-doc --disable-ffplay --disable-
 htmlpages --disable-manpages --disable-podpages --disable-txtpages
 --enable-cuda --enable-cuda-nvcc --enable-cuvid --enable-fontconfig
 --enable-gpl --enable-libaribb24 --enable-libass --enable-libfdk_aac
 --enable-libfreetype --enable-libmp3lame --enable-libnpp --enable-
 libopenjpeg --enable-libopus --enable-libsrt --enable-libvidstab --enable-
 libvpx --enable-libwebp --enable-libx264 --enable-nonfree --enable-nvenc
 --enable-nvdec --enable-openssl --enable-postproc --enable-shared
 --enable-version3 --enable-encoder=png --enable-decoder=png --extra-
 cflags='-I/opt/ffbuild/include -I/opt/ffbuild/include/ffnvcodec
 -I/usr/local/cuda/include/' --extra-ldflags='-L/opt/ffbuild/lib
 -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib32/' --extra-libs=-ldl
 --extra-libs=-lpthread --prefix=/opt/ffbuild
   libavutil      57. 28.100 / 57. 28.100
   libavcodec     59. 37.100 / 59. 37.100
   libavformat    59. 27.100 / 59. 27.100
   libavdevice    59.  7.100 / 59.  7.100
   libavfilter     8. 44.100 /  8. 44.100
   libswscale      6.  7.100 /  6.  7.100
   libswresample   4.  7.100 /  4.  7.100
   libpostproc    56.  6.100 / 56.  6.100
 Input #0, lavfi, from 'color=c=0x4d1a7f':
   Duration: N/A, start: 0.000000, bitrate: N/A
   Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR
 1:1 DAR 4:3], 25 tbr, 25 tbn
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> webp (libwebp_anim))
 Press [q] to stop, [?] for help
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf59.27.100
   Stream #0:0: Video: webp, yuv420p(tv, progressive), 1280x720 [SAR 27:64
 DAR 3:4], q=2-31, 200 kb/s, 30 fps, 30 tbn
     Metadata:
       encoder         : Lavc59.37.100 libwebp_anim
 [hwdownload @ 0x55b1afcec880] Input frame is not the in the configured
 hwframe context.
 Error while filtering: Invalid argument
 Failed to inject frame into filter network: Invalid argument
 Error while processing the decoded data for stream #0:0
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10340>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list