Re: [FFmpeg-user] concat filter

2022-07-09 Thread Leo Butler via ffmpeg-user
On Tue, Jul 05 2022, Carl Zwanzig wrote: > On 7/4/2022 8:04 AM, Leo Butler via ffmpeg-user wrote: >> Question: Is there a better way to sidestep the problem of changing >> width or height? e.g. does ffmpeg already have a way to handle width or >> height changes? > > How much of a change is there?

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