Hey,
When I'm encoding my video (x264) it goes through Phase 1... and then Phase 2 and then sometimes it crashes..
I'm wondering why it's going through two phases?
I mean.. I though when Phase 1 is done, that it's done with encoding..
But no it goes again through phase 2... so totally it takes 2 hours to encode from mkv to mp4.
Is this common?
Or is there a way to make it finish quicker?
Thanks,
Sedoc94
+ Reply to Thread
Results 1 to 13 of 13
-
-
You must have "Two Pass" encoding selected. First pass checks the video for bitrate allocation, second pass does the actual encoding.
2 hours to encode normal? Depends on the length of your video, encoding bitrate selected, filters used, etc. -
Well... an MKV file of 145mb, subtitle filter (.ass), length: 23min. Encoded with x264 into .mp4..
1 hour to do Phase 1 and 1 hour to do phase 2...
And I don't notice any speed ups when I set the Priority from below normal to Above Normal or High...
WinMenc does this process within 1 hour.. but since it doesnt support the effects of .ASS my only way is Avidemux.. ^^ -
You can probably get acceptable quality results with one-pass encoding using an appropriate quantizer setting -- that should cut the encoding time in half (one hour vs. two).
"And I don't notice any speed ups when I set the Priority from below normal to Above Normal or High..." -- no, that setting doesn't affect encoding speed, as far as I know.
When you use WinMenc, are you using a one-pass process? That would explain the quicker time. -
I'm familiar with XviD and DivX codec settings -- they give you codec "configuration" settings where you can select one-pass or two-pass, quantizer (quality ) or specific bitrate, motion, etc., so I assumed the x264/mp4 codec you are using would have something similar.
-
Changing the scheduling priority would only make it faster if you were running some other CPU hungry application at the same time. When multiple programs are asking for CPU time Windows will give the one with the highest priority more CPU time than those with lower priority. If you are only running one CPU hungry application it gets all CPU time regardless of its priority.
I usually encode at idle priority (note that AviDemux only goes down to low). Then if I want to use the computer for anything else the encoding has almost no impact on system performance.
Regarding single pass quality mode in Avidemux/x264: set the Encoding Mode to Constant Rate Factor (Single Pass). Set the Quality to somewhere between ~18 (very high quality) and ~26 (medium quality). -
Now I have another issue... and that is that the Video is out of sync with the audio&subs...
Thats weird because in the source file everything is synced... -
Quote: "Now I have another issue..."
Is the audio being out of sinc a new issue, after trying jagabo's suggested codec settings, or did you just now discover it and you had it all along from your earlier encodings? -
Well the thing is that in the beginning the audio is in sync, but at the end it's out of sync.
Is there maybe any other program that can encode mkv to h264 mp4 with .ass subtitle?
Similar Threads
-
Avidemux aspect ratio question [from newbie to Avidemux]
By ANOther1676 in forum EditingReplies: 1Last Post: 20th Jan 2012, 20:07 -
Audio Synching issue in Sony Vegas - What is the best way to solve my issue
By pandeyrajiv in forum EditingReplies: 2Last Post: 19th Dec 2010, 22:53 -
Avidemux editing causing audio sync issue
By perdomot in forum EditingReplies: 0Last Post: 14th Sep 2009, 15:29 -
Sound delay issue after MPEG2 editing (avidemux)
By dodoecchi in forum Video ConversionReplies: 8Last Post: 22nd Mar 2009, 05:55 -
AVIDemux 2.4.1 cutting audio or maybe video sync issue
By ColdFusion2 in forum LinuxReplies: 9Last Post: 11th Sep 2008, 10:27