[FFmpeg-trac] #10417(avfilter:new): yadif_cuda: Input frame is not the in the configured hwframe context.
FFmpeg
trac at avcodec.org
Thu Jun 15 12:10:47 EEST 2023
#10417: yadif_cuda: Input frame is not the in the configured hwframe context.
-------------------------------------+----------------------------------
Reporter: ronag | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: 6.0
Keywords: cuda filter | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+----------------------------------
The following will fail:
{{{
ffmpeg -i http://172.18.0.1:8000/file/8eb02e2a2e42e658.mov -filter:v
'format=yuv444p,hwupload_cuda,yadif_cuda=mode=send_field:parity=auto:deint=interlaced,scale_cuda=1920:-1,hwdownload,format=yuv444p'
-f mp4 /tmp/asd.mp4 -y
[hwdownload @ 0x55cd0a1a8000] [error] Input frame is not the in the
configured hwframe context.
[error] Error while filtering: Invalid argument
[error] Failed to inject frame into filter network: Invalid argument
[fatal] Error while processing the decoded data for stream #0:1
}}}
If I add a "scale_cuda" filter after "yadif_cuda" then it will work:
{{{
ffmpeg -i http://172.18.0.1:8000/file/8eb02e2a2e42e658.mov -filter:v
'format=yuv444p,hwupload_cuda,yadif_cuda=mode=send_field:parity=auto:deint=interlaced,scale_cuda=1920:-1,hwdownload,format=yuv444p'
-f mp4 /tmp/asd.mp4 -y
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10417>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list