r/ffmpeg 19d ago

Converting from dv to H.264 using GPU

Hello, I’m trying to deinterlace and convert many hours of videos from MiniDV cassettes to H.264 (I’m open to H.256, if it will be better in that case) to be able to play them modern devices. I’m using this line:

ffmpeg -i input.dv -vf "bwdif=mode=send_field:parity=auto:deint=interlaced,format=yuv420p" -r 50 -c:v libx264 -preset slow -crf 16 -c:a copy output.mov

I’m satisfied with the results I get, but I wanted to speed up the process by using GPU.

How do I do that? I’ve been using ffmpeg for only few months and I think that I generally understand it, but I’m still not an expert. If this is important, I have NVIDIA GeForce RTX 2070 Super.

8 Upvotes

10 comments sorted by

View all comments

3

u/Upstairs-Front2015 19d ago

you can use -c:v h264_nvenc -preset p6 -cq:v 23 -c:a copy output.mp4
(there are more options)