error with cuda for convert ts to mp4

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

error with cuda for convert ts to mp4

Michele Salerno
Hi,

i have GPU GTX660Ti on debian buster 64bit, cpu intel core i7.

I have fresh install debian and install latest driver and cuda from
website nvidia, no repository of debian.

If convert file h264 with cpu it's ok, if use gpu i have error.

The video prova.ts is recorder from decoder sat.

The command used is:

ffmpeg -y -threads 8 -vsync 0 -hwaccel cuda -i prova.ts -r 24 -c:v
h264_nvenc -filter_complex yadif=parity=tff:deint=all,scale=1920:1080
-b:v 3M -c:a aac -b:a 192k -ar 48000 prova.mp4

This is output

https://pastebin.com/uW9knqkz

what is the error?

Thanks.

Best regards.

Michele


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: error with cuda for convert ts to mp4

Brainiarc7
On Mon, 11 Jan 2021, 04:30 Michele Salerno, <[hidden email]> wrote:

> Hi,
>
> i have GPU GTX660Ti on debian buster 64bit, cpu intel core i7.
>
> I have fresh install debian and install latest driver and cuda from
> website nvidia, no repository of debian.
>
> If convert file h264 with cpu it's ok, if use gpu i have error.
>
> The video prova.ts is recorder from decoder sat.
>
> The command used is:
>
> ffmpeg -y -threads 8 -vsync 0 -hwaccel cuda -i prova.ts -r 24 -c:v
> h264_nvenc -filter_complex yadif=parity=tff:deint=all,scale=1920:1080
> -b:v 3M -c:a aac -b:a 192k -ar 48000 prova.mp4
>
> This is output
>
> https://pastebin.com/uW9knqkz
>
> what is the error?
>
> Thanks.
>
> Best regards.
>
> Michele
>
>
> _______________________________________________
>


Michele,

Use this:

ffmpeg -y -threads 1 -hwaccel cuda -i prova.ts -r 24 -c:v
h264_nvenc -filter_complex yadif_cuda,scale_cuda=1920:1080
-b:v 3M -c:a aac -b:a 192k -ar 48000 prova.mp4

Notes:

You're using nvdec hwaccel. Lower thread count for the decoder to 1, and
likewise use filters running on the GPU to prevent the need for hwdownload
filters.

>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: error with cuda for convert ts to mp4

Michele Salerno

Il 11/01/21 12:01, Dennis Mungai ha scritto:

> On Mon, 11 Jan 2021, 04:30 Michele Salerno, <[hidden email]> wrote:
>
>> Hi,
>>
>> i have GPU GTX660Ti on debian buster 64bit, cpu intel core i7.
>>
>> I have fresh install debian and install latest driver and cuda from
>> website nvidia, no repository of debian.
>>
>> If convert file h264 with cpu it's ok, if use gpu i have error.
>>
>> The video prova.ts is recorder from decoder sat.
>>
>> The command used is:
>>
>> ffmpeg -y -threads 8 -vsync 0 -hwaccel cuda -i prova.ts -r 24 -c:v
>> h264_nvenc -filter_complex yadif=parity=tff:deint=all,scale=1920:1080
>> -b:v 3M -c:a aac -b:a 192k -ar 48000 prova.mp4
>>
>> This is output
>>
>> https://pastebin.com/uW9knqkz
>>
>> what is the error?
>>
>> Thanks.
>>
>> Best regards.
>>
>> Michele
>>
>>
>> _______________________________________________
>>
>>
>>
>> Michele,
>>
>> Use this:
>>
>> ffmpeg -y -threads 1 -hwaccel cuda -i prova.ts -r 24 -c:v
>> h264_nvenc -filter_complex yadif_cuda,scale_cuda=1920:1080
>> -b:v 3M -c:a aac -b:a 192k -ar 48000 prova.mp4
>>
>> Notes:
>>
>> You're using nvdec hwaccel. Lower thread count for the decoder to 1, and
>> likewise use filters running on the GPU to prevent the need for hwdownload
>> filters.


Don't work, this is output

https://pastebin.com/9wMDckVf


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".