Opened 11 months ago

Last modified 11 months ago

#10417 new defect

yadif_cuda: Input frame is not the in the configured hwframe context.

Reported by: ronag Owned by:
Priority: normal Component: avfilter
Version: 6.0 Keywords: cuda filter
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Change History (1)

comment:1 by ronag, 11 months ago

I have seen similar issues with transpose_npp.

Note: See TracTickets for help on using tickets.