caslogs.blogg.se

Ffmpeg scale maintain aspect ratio
Ffmpeg scale maintain aspect ratio







ffmpeg scale maintain aspect ratio

Perhaps the difference would be much bigger if the input file was in a different codec. I should note that the initial input file is already in h264. However, when I try scaling and padding video filters, the difference between quicksync and libx264 becomes very small and transcoding speed using quicksync drops down to 1.84x (from 12.3x). When using libx264, the same command hangs around 9x speed.Ībove mentioned command: "ffmpeg -y -i test_file -init_hw_device qsv:hw -c:v h264_qsv -preset veryfast -profile:v baseline -keyint_min 24 -g 48 -c:a aac -strict -2 -movflags faststart -b:v 3400k output.mp4"Īll is fine up to this point, as quicksync should be faster than libx264.

ffmpeg scale maintain aspect ratio

When I run a simple transcode command, it processes with speed around 12.3x while using quicksync. I've successfully set up quicksync and ffmpeg and then started to work on using both for transcoding.









Ffmpeg scale maintain aspect ratio