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

2023-02-26 Thread Dennis Mungai
On Mon, 27 Feb 2023 at 03:48, Dennis Mungai wrote: > On Sun, 10 Jul 2022 at 10:28, Ben Parham wrote: > >> Hi Dennis, >> Now I am streaming with two cameras but I have a small problem, the audio >> stream is not synced with the video stream, and there is a small delay of >> around 0.2 seconds. >>

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

2023-02-26 Thread Dennis Mungai
On Sun, 10 Jul 2022 at 10:28, Ben Parham wrote: > Hi Dennis, > Now I am streaming with two cameras but I have a small problem, the audio > stream is not synced with the video stream, and there is a small delay of > around 0.2 seconds. > How can I fix it? I would appreciate your help. > Regards, >

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

2022-07-10 Thread Ben Parham
Hi Dennis, Now I am streaming with two cameras but I have a small problem, the audio stream is not synced with the video stream, and there is a small delay of around 0.2 seconds. How can I fix it? I would appreciate your help. Regards, Ben. On Sat, Jul 9, 2022 at 9:52 PM Dennis Mungai wrote: > O

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

2022-07-09 Thread Dennis Mungai
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 wrote: > > > On Sat, 9 Jul 2022 at 14:40, Ben Parham wrote: > >

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-preset p4. Now I am r

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

2022-07-09 Thread Dennis Mungai
On Sat, 9 Jul 2022 at 14:40, Ben Parham wrote: > 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? > Hello there, That GPU has no limitations on the simultaneous number of NVENC ses

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. I added it

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

2022-07-09 Thread Dennis Mungai
On Sat, 9 Jul 2022 at 14:25, Ben Parham wrote: > Thanks, Dennis. I added it in -preset p4 and the same error appeared: > > hevc @ 01ac32f034c0] hardware accelerator failed to decode picture > Error while decoding stream #0:0: Generic error in an external library > [hevc @ 01ac41cd1180] Co

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

2022-07-09 Thread Ben Parham
Thanks, Dennis. I added it in -preset p4 and the same error appeared: hevc @ 01ac32f034c0] hardware accelerator failed to decode picture Error while decoding stream #0:0: Generic error in an external library [hevc @ 01ac41cd1180] Could not find ref with POC 5 [hevc @ 01ac41d82640] No d

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

2022-07-09 Thread Dennis Mungai
On Sat, 9 Jul 2022 at 14:01, Ben Parham wrote: > Thank you, Dennis. By removing _pix_fmt the issue was solved. > But when I change the preset from p2 to p3 or p4, I face this error: > > [hevc @ 01ebb41bdc40] hardware accelerator failed to decode picture > [hevc @ 01ebb41bb440] Could not f

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 input stream is from > an > > IP came

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

2022-07-09 Thread Ben Parham
Thank you, Dennis. By removing _pix_fmt the issue was solved. But when I change the preset from p2 to p3 or p4, I face this error: [hevc @ 01ebb41bdc40] hardware accelerator failed to decode picture [hevc @ 01ebb41bb440] Could not find ref with POC 24 [rtsp @ 01ebb42500c0] Invalid DTS:

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

2022-07-09 Thread Dennis Mungai
On Sat, 9 Jul 2022 at 12:45, DEF wrote: > On Sat, 9 Jul 2022 at 08:25, Ben Parham wrote: > > > > 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 -hw

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

2022-07-09 Thread DEF
On Sat, 9 Jul 2022 at 08:25, Ben Parham wrote: > > 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 > -

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

2022-07-09 Thread Ben Parham
Thanks for the recommendation. I removed it, but the same error exists. The input stream size is 1920x1080 Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scale_0' Error reinitializing filters! Failed to inject frame into filter network: Funct

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

2022-07-09 Thread Dennis Mungai
On Sat, 9 Jul 2022 at 10:25, Ben Parham wrote: > 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

[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