I am trying to use CUDA assisted video decoding and have run the AppDec decoder example

I am trying to use CUDA assisted video decoding and have run the AppDec decoder example. However, when I tried to use an external web cam’s RTSP url the examples gave an error at the start.

tip:Unable to open input file:

Welcome back @940655439 to the NVIDIA developer forums.

I will move your post to the Video category to get better visibility.

I am not an expert, but as far as I understand it the example app you are referring to only takes actual (local) files as input. RTSP URLs are usually streams which need to be handled differently. The sample code uses std::ifstream internally to access the file data. To decode RTSP streams you would need to implement your own stream buffer and rewrite the FFmpegDemuxer logic in the app to be able to handle streamed data.

1 Like

Did you give some tips?How to fix this problem?

Or can i delete the invoke of CheckInputFile

Nope, sorry, no real tips I can give. To handle streaming input you will need to implement the stream handling yourself.
Only deleting the check is not enough, the file loading happens later and will still fail.