[FFmpeg-user] Error: Impossible to convert between the formats...(Nvidia codecs)

2022-07-09 Thread Ben Parham
Hello, I try to use Nvidia codecs in live transcoding. The input stream is from an IP camera (Hikvision) and its color format is "*yuvj420p*". My command is: ffmpeg.exe -y -hwaccel cuda -hwaccel_output_format cuda -rtsp_transport tcp -i "rtsp://admin:Pass1@192.168.1.1" -flags +low_delay -vcodec h

Re: [FFmpeg-user] Error: Impossible to convert between the formats...(Nvidia codecs)

2022-07-09 Thread Ben Parham
into filter network: Function not implemented Error while processing the decoded data for stream #0:0 Conversion failed! On Sat, Jul 9, 2022 at 3:30 PM Dennis Mungai wrote: > On Sat, 9 Jul 2022 at 10:25, Ben Parham wrote: > > > Hello, > > > > I try to use Nvidia codecs in liv

Re: [FFmpeg-user] Error: Impossible to convert between the formats...(Nvidia codecs)

2022-07-09 Thread Ben Parham
c_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument Could you help me to fix this error please? On Sat, Jul 9, 2022 at 6:11 PM Dennis Mungai wrote: > On Sat, 9 Jul 2022 at 12:45, DEF wrote: > > > On Sat, 9 Jul 2022 at 08:25, Ben Parham wrote: > > > > > > Hell

Re: [FFmpeg-user] Error: Impossible to convert between the formats...(Nvidia codecs)

2022-07-09 Thread Ben Parham
Thank you DEF. The problem was solved by removing pix_fmt based on Dennis's recommendation. On Sat, Jul 9, 2022 at 5:45 PM DEF wrote: > On Sat, 9 Jul 2022 at 08:25, Ben Parham wrote: > > > > Hello, > > > > I try to use Nvidia codecs in live transcoding. The

Re: [FFmpeg-user] Error: Impossible to convert between the formats...(Nvidia codecs)

2022-07-09 Thread Ben Parham
decoder surfaces left38 bitrate=N/A speed=2.09x [hevc @ 01ac41d82640] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument On Sat, Jul 9, 2022 at 7:11 PM Dennis Mungai wrote: > On Sat, 9 Jul 2022 at 14

Re: [FFmpeg-user] Error: Impossible to convert between the formats...(Nvidia codecs)

2022-07-09 Thread Ben Parham
Thank you, Dennis. It works with 6 in-preset p4. Now I am running one stream, but I will run 5 streams in RTX A2000. Does it support this number in all streams? On Sat, Jul 9, 2022 at 7:29 PM Dennis Mungai wrote: > On Sat, 9 Jul 2022 at 14:25, Ben Parham wrote: > > > Thanks, Dennis

Re: [FFmpeg-user] Error: Impossible to convert between the formats...(Nvidia codecs)

2022-07-09 Thread Ben Parham
Hi again, Sure, I will do it based on that. Thank you for your help. If I face an issue I'll contact you again. I appreciate it. On Sat, Jul 9, 2022 at 7:55 PM Dennis Mungai wrote: > On Sat, 9 Jul 2022 at 14:40, Ben Parham wrote: > > > Thank you, Dennis. It works with 6 in-pr

Re: [FFmpeg-user] Error: Impossible to convert between the formats...(Nvidia codecs)

2022-07-10 Thread Ben Parham
: > On Sat, 9 Jul 2022, 15:05 Ben Parham, wrote: > > > Hi again, > > Sure, I will do it based on that. Thank you for your help. If I face an > > issue I'll contact you again. > > I appreciate it. > > > > On Sat, Jul 9, 2022 at 7:55 PM Dennis Mungai wr

[FFmpeg-user] Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'

2022-07-12 Thread Ben Parham
Hello, When I use this command in transcoding I face an error. How can I fix this issue? This command works in some cameras without error but for other cameras it has a problem. I would appreciate your help. Regards, Ben. tst@tst: ~$ ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda