Converting mp4 to an avi?

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.
User avatar
SQ
Doesn't have a title
Joined: Fri Nov 08, 2002 8:11 pm
Status: Forever Navy
Location: Hawaii
Contact:
Org Profile

Converting mp4 to an avi?

Postby SQ » Mon Nov 27, 2006 1:56 pm

So I have this cellphone video in mp4 that I really wish to edit with. It comes in mp4, and I haven't found a converter that will actually convert the thing and WORK.

I tried using alltoavi and something that had to do with PSPs and maybe ipods... The other programs just seem to be malware infested or not worth it.

I'd try EO Video, but I'm not sure it supports mp4 and my trial is up. X|

Has anyone had any actual expierence with a program that may actually work?
-SQ™
Pssst. It's not really trademarked.

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Postby Kariudo » Mon Nov 27, 2006 2:06 pm

have you tried making an avs script with DirectShowSource()?
*I assume that you have the directshow filter*

I've put x.264 files into vdubmod this way
Image
Image

User avatar
SQ
Doesn't have a title
Joined: Fri Nov 08, 2002 8:11 pm
Status: Forever Navy
Location: Hawaii
Contact:
Org Profile

Postby SQ » Mon Nov 27, 2006 2:11 pm

This is going to sound retarded, but when I do that the framerate for the audio is doubled but the audio stays the same, so it goes by really fast.

I'm outputting to huffyuv, and even in configure I can't find where the stupid fps rate is. X|
-SQ™
Pssst. It's not really trademarked.

User avatar
SQ
Doesn't have a title
Joined: Fri Nov 08, 2002 8:11 pm
Status: Forever Navy
Location: Hawaii
Contact:
Org Profile

Postby SQ » Mon Nov 27, 2006 2:11 pm

What I meant to say was, the video fps rate is doubled while the audio stays the same.
-SQ™
Pssst. It's not really trademarked.

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Postby Kariudo » Mon Nov 27, 2006 2:18 pm

I think that directshowsource can take a few arguments...and I think one of those is fps
*goes to check*
yep...it does, so just specify the desired framerate (ie fps=24) inside of the parenthesis
Image
Image

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

Postby Qyot27 » Mon Nov 27, 2006 3:54 pm

If the video stream is MPEG-4 Advanced Simple Profile or Simple Profile, then you should be able to simply transmux it to AVI using MP4Box (or YAMB); a more drawn out but arguably more effective way is to take the MP4, throw it through MKVToolNix, and then use MKVExtract to extract the video to AVI; the reason for this is that for MPEG-4 Part 2, MKVToolNix automatically arranges the video frames for VFW compatibility. However, if the video in question has a variable frame rate, then this is a bad suggestion, and the best way to ensure everything stays synced is to use DirectShowSource with the 'convertfps' parameter enabled (as detailed below).

If it's H.264 (or anything other than MPEG-4 Part 2, really) then you could load it through Graphedit, leaving the video decoder pins open, and then pipe the .grf file through DirectShowSource (this is mainly to see if it won't get wonky with the framerate, but that's not necessarily guaranteed).

Generally, though, if you can play it in Windows Media Player, then

Code: Select all

DirectShowSource("video.mp4", fps=xx, convertfps=true)

should take care of everything, if the fps and convertfps arguments are even needed at all.

cupdear
Joined: Fri May 19, 2006 12:59 am
Org Profile

Postby cupdear » Tue Nov 28, 2006 3:47 am

:lol: Maybe you can try winavi video converter.It said that it can support almost all video formats.Wish that can help you too.
Good lulck
http://www.winavi.com/en/video-converter/video-converter.htm


Return to “Footage Help”

Who is online

Users browsing this forum: No registered users and 1 guest