[FFmpeg-user] error with cuda for convert ts to mp4

Michele Salerno mikysal78 at gmail.com
Mon Jan 11 23:32:00 EET 2021


Il 11/01/21 12:01, Dennis Mungai ha scritto:
> On Mon, 11 Jan 2021, 04:30 Michele Salerno, <mikysal78 at gmail.com> 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




More information about the ffmpeg-user mailing list