H.264 Video Converter.

If you have questions about compression/encoding/converting look here.
Locked
User avatar
bluetrain
Joined: Tue Mar 15, 2005 3:54 am
Location: Australia
Contact:
Org Profile

H.264 Video Converter.

Post by bluetrain » Fri Feb 16, 2007 7:09 am

Quite simple really. Does a program exist to convert H.264 mp4s into.. well anything else. I just want to put some of my favourite AMVs on my Zune and i've tried all of the Zune converters etc and generally any mp4 converter out there that i could find. AVSconverter worked but the audio was unfortunately left out...
I hear there is a way to put mp4s into VirtualDubMod, but whenever i try the directshowsource scripts VDM crashes.

I even tried googling it and i searched through most of the H.264 articles in this category, but most of them seem to be referring to editting problems.

*Just for reference:
Zune Video SPecs:
WMV9, 1500Kbs, 30FPS, 320x240.

So if i could get a converter that goes straight to that format, that would be too awesome. But i understand there is virtually no chance of this.

*Thanks in advance.
*one day something with some effort will reside here*

User avatar
Purge
Joined: Mon Oct 10, 2005 9:18 am
Location: Under Aus
Org Profile

Post by Purge » Fri Feb 16, 2007 7:36 am

:P

but i usually fine just using directshowsource/avisynth or SUPER (try this if you haven't - very simple).

my last resort program to at least get mp4 to uncompressed avi and wav is Avidemux - it was a bit buggy and tricky the last time i used it though :roll:
http://fixounet.free.fr/avidemux/

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Fri Feb 16, 2007 12:34 pm

You could do it with graphedit, I suppose.

As a test, get ahold of graphedit and YAMB - use YAMB to extract the audio stream and convert it to WAV with your tool of choice (I use dBPowerAMP with the MP4/AAC plugin myself). Open graphedit and go to File->Render Media File... Select your .mp4, and it should load all the different filters, represented by boxes. You'll want to keep only two boxes - the one with the .mp4's filename, and the H.264 decoder, which will probably be either ffdshow or CoreAVC. Highlight all the other boxes and delete them. Then go and save the graph file.

Make a script like so (to load the graph file instead of the .mp4):

Code: Select all

video = DirectShowSource("filename.grf", fps=30, convertfps=true).[choice]Resize(320,240) #replace [choice] with whatever resizer you want to use - Bilinear, Bicubic, or Lanczos
audio = WAVSource("filename.wav") #this is the audio you just decoded with whatever
AudioDub(video,audio)
See if that doesn't work in VDub.

User avatar
Minion
Joined: Sat May 22, 2004 10:16 pm
Location: orlando
Contact:
Org Profile

Post by Minion » Fri Feb 16, 2007 12:45 pm

super is crap. don't use it.
frameserving into vdub is your best option, as Qyot27 said

also, cheap fast way:
DirectShowSource("filename.mp4")
KioAtWork: I'm so bored. I don't have class again for another half hour.
Minion: masturbate into someones desk and giggle about it for the remaining 28 minutes

User avatar
bluetrain
Joined: Tue Mar 15, 2005 3:54 am
Location: Australia
Contact:
Org Profile

Post by bluetrain » Fri Feb 16, 2007 6:46 pm

@Minion: Well that's what i was having problems with. The VDUB script.

@Purge: Thanks i'll try both..

@Qyot27: I had no idea this was so hard. Is there any reason why nobody has created a converter?
-Thanks though, i have a feeling this way is more likely to work.
*one day something with some effort will reside here*

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Fri Feb 16, 2007 8:13 pm

bluetrain wrote:@Qyot27: I had no idea this was so hard. Is there any reason why nobody has created a converter?
-Thanks though, i have a feeling this way is more likely to work.
Well, in all honesty, all it should take is the basic DirectShowSource script that was already proposed. I know the graphedit method simply because I did it that way for quite a while just to be cautious, and I figure it might work if the regular script method fails. The only other thing I'd suggest - which is a really nasty solution - is to use YAMB to extract the raw video stream and feed it to AVC2AVI (can be found here - requires .NET, IIRC I think it's 2.0; if you can use MeGUI then you shouldn't have a problem), which will repack it in AVI for you, and can then be brought back into VDub by whatever method, resized/joined to the audio, and exported out as HuffYUV or something that you can then use in a converter for the Zune.

Locked

Return to “Conversion / Encoding Help”