Hi cats
at the moment I use this commandline to encode 2 hours of HD video, but the speed of encoding appear too slow.
Is there a way to get more speed of encoding? thanks
Code:ffmpeg.exe -y -i g:\commedia2016.avi -i g:\commedia2016.wav -pix_fmt yuv422p -vf yadif=1 -c:v libx264 -crf 20 -profile:v high422 -level:v 4.1 -g 33 -bf 1 -c:a libmp3lame -b:a 320k -aspect 16:9 g:\commedia2016crf20.mkv
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
Since you're using the default preset (medium) you have me=hex and subme=7. Those two settings are among those that have the largest effect on encoding speed. Use me=dia and lower subme settings to get faster encoding. Quality will suffer, of course.
-
Some thoughts:
1. You are encoding raw HD video with a bitrate over 800 Mbps. Are you reading and writing to the same disc? If so, you might try writing to another disc and see if that speeds things up a little.
2. You are de-interlacing HD footage. Do you really need to do that since speed is such a paramount concern for you? What are you gaining from de-interlacing? Leaving it interlaced should speed things up as well.
3. You are running x264 through ffmpeg and encoding the audio and video in parallel. A faster workflow might be encoding the video separately from the audio then muxing the two since the video is the bottleneck, and presumably one or more of the cores on your machine is being reserved for the audio encode. The overhead for x264 cli encoding to a raw .264 file is slightly less than ffmpeg.
Similar Threads
-
How can improve speed of ffmpeg encoding?
By marcorocchini in forum Newbie / General discussionsReplies: 3Last Post: 13th Oct 2015, 12:17 -
Video conversion speed - How to improve
By tsk1979 in forum Video ConversionReplies: 31Last Post: 12th Nov 2013, 12:20 -
Why low qmax value improve video quality in ffmpeg?
By theateist in forum ffmpegX general discussionReplies: 3Last Post: 2nd Sep 2013, 12:29 -
Improve speed on H264/AVC video conversion
By klode in forum Video ConversionReplies: 9Last Post: 11th Aug 2013, 02:26 -
Do Encoding with H264 using 2 passes actually improve the quality
By prithvi in forum Newbie / General discussionsReplies: 4Last Post: 15th Mar 2011, 09:30