I know this is probably a common question asked...but I just can't find an easy way to convert an H264 file into any other format! What I want is to convert a movie that is contained in an mkv file with an h264 video / ac3 audio into anything besides this, so that it can eventually be turned into a nice mpeg-2 for dvd burning.
The only method I have found so far that has worked with other h264 files of this nature is alltoavi, using the "no skip" option, makes an avi file with synced audio that I can then load into TMPGenc and get a beautiful mpeg-2...
However, one file that I have has completely gone out of sync, by like 3 minutes. It's 23.976 fps (well, that's what alltoavi says, and vdubmod as well. gspot won't display anything, and super seems to think its 29 for some reason).
Anyway, the .avi that alltoavi has output is ~3 minutes longer than the original (hence the out of synch, I assume). I do not understand why this one file won't work while another two by the same fansub group, encoded in seemingly the same exact way, have been successful.
Does anyone have any ideas on a simple way to get out of h264? I'm only semi-competent; and I don't know how to use avisynth. I also do not intend to purchase software.
Any help is greatly appreciated; thank you in advance to any who respond!
-Andrew
+ Reply to Thread
Results 1 to 5 of 5
-
-
Try Ogmcleaver in conjunction with mkvtoolnix to extract the audio and video files separately. There is a checkbox you need to check that says "Convert H264 tracks to AVI files". You can then process your video avi and audio files separately with the encoders of your choice (obviously you like tmpeg for video and I would suggest aften with one of it's gui's for the audio). You may not even need to encode the audio if it is already dvd compliant ac3.
An all in one app like FAVC might be able to do all of this for you but I prefer doing the separate steps myself.Donadagohvi (Cherokee for "Until we meet again") -
Okay, so I finally got it to work right!
Woot.
I had to do it in a way I wasn't expecting...the automated tools just weren't working. I found an avisynth script, well "script." It's only one line.
Directshow(filename,fps,convertfps=true)
Alright, so I could load that into virtualdub (not even the mod). It actually loaded the entire mkv, from there I just re-encoded using xvid. Not only did I get beautiful output, it hardsubbed with true fonts (something that I never get working quite right with textsub).
So, that seems to be the best solution to getting H264 into another format. Just loading that simple one line avisynth script, and bingo.
Now, I still do not understand much about avisynth...can someone explain to me why I can load an otherwise unusable file with virtualdub with the script? vdubmod loads the mkv, but it won't re-encode it properly. alltoavi won't do it properly, ogmcleaver won't do it properly....yet, when loaded via the script it works wonders...
Why is that? -
Some threads you might want to read:
https://forum.videohelp.com/topic348701.html
https://forum.videohelp.com/topic351932.html
Both of those cover MKV to DVD (among other stuff).
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
Similar Threads
-
Conversion from mpeg2 to H264 .F4V
By the1selecta in forum Video ConversionReplies: 2Last Post: 16th Sep 2010, 01:51 -
HD-DVD to H264 conversion
By Dr.Gee in forum Newbie / General discussionsReplies: 8Last Post: 15th May 2010, 21:02 -
Mov h264 to MP4/h264 Conversion
By Scooter_NJ in forum Video ConversionReplies: 2Last Post: 26th Mar 2009, 10:07 -
MP4 (h264): Easiest Conversion?
By m93 in forum Video ConversionReplies: 9Last Post: 15th Dec 2008, 22:13 -
Easy way to add borders to h264 video?
By cbl016 in forum Newbie / General discussionsReplies: 2Last Post: 10th Oct 2008, 02:51