Log in

View Full Version : Converting *.mp4


Spiral-Out
5th July 2003, 07:45
My friend has a *.mp4 video clip that he wants to put on his site, so I offered to re-encode it to DivX for him, but none of my programs will open the file (DVD2AVI, Virtualdub, Gordian Knot, Flask.. hell, GSpot wouldn't even open the thing). Is there a program out there that will encode MP4 to DivX?

RadicalEd
5th July 2003, 08:07
:\
MP4 is the official ISO container for Mpeg 4 video... which DivX IS :/ chances are good the video is either already DivX 5 or XviD. If you just want to place the video in an avi container or something other than mp4, you can extract to avi, raw mpeg 4, or an elementary mpeg 4 video stream using mp4UI.

SeeMoreDigital
5th July 2003, 14:16
If you are able to view the clip using the QuickTime player.

You can convert it to a DV.avi file. The file size will be around 225MB per min though. But from there you can do anything with the stream.

You will also need QuickTime Pro to do it!

DKDIB
7th July 2003, 09:23
Erk... but mp4UI or GraphEdit are much more usefull! ^^'

About GraphEdit:
1- install 3ivx delta 4 (http://www.3ivx.com/download/);
2- copy apart 3ivxDSMediaSplitter.ax (typically in %ProgramFiles%\3ivx);
3- uninstall 3ivx delta 4;
4- copy 3ivxDSMediaSplitter.ax in %WinDir%\system32 (or system, if you use Win 98/ME) and register it (type in your command line "regsvr32 3ivxDSMediaSplitter.ax").

Now you have an MP4/mov DS filter on you machine! :D

shitowax
7th July 2003, 10:15
Originally posted by DKDIB
Erk... but mp4UI or GraphEdit are much more usefull! ^^'

About GraphEdit:
1- install 3ivx delta 4 (http://www.3ivx.com/download/);
2- copy apart 3ivxDSMediaSplitter.ax (typically in %ProgramFiles%\3ivx);
3- uninstall 3ivx delta 4;
4- copy 3ivxDSMediaSplitter.ax in %WinDir%\system32 (or system, if you use Win 98/ME) and register it (type in your command line "regsvr32 3ivxDSMediaSplitter.ax").

Now you have an MP4/mov DS filter on you machine! :D

I wouldn't do that if I was you ... ;)
The 3ivx media splitter requires the remaining parts of the package to work correctly ... I you really don't want to use the decoders contained in the package (because you're addicted to ffdshow or whatever), don't uninstall it but simply enable the connection to unsupported decoders and decrease the 3ivx priority. That would do it ...

Anyway, there are a couple of bugs in the current D4 splitter that should prevent users to get a fully usable file when connecting the splitter to the directshow AVI muxer ... They have been fixed and it should work without problem with the next release...

Just my two cents tho ;)

dillee1
7th July 2003, 19:23
.mp4 = .divx

I guess u wanna remux mp4 to avi.

You can't simply repack a mp4 to avi without recompression, to convert mp4 to avi. You need:
1)3ivx codec
2)graphedit
3)Virtualdub

Step 1:
Install 3ivx

Step 2:
Use graphedit to render the mp4.
Remove "video render" and "default direct sound device" from the graph. Connect the decoded A/V stream to "AVI muxer" then output to "file writer".
You now got a RAW AVI file.

Step 3:
Open the raw avi file, recompress with virtualdub with whatever codec you like.

outlyer
7th July 2003, 20:56
Originally posted by dillee1 You can't simply repack a mp4 to avi without recompression
Why not?

bond
8th July 2003, 15:54
mp4ui
-> open -> extract

easy ;)

dillee1
8th July 2003, 16:16
Originally posted by bond
mp4ui
-> open -> extract

easy ;)

I am afraid that gives you raw Video track only. Not a AVI.
AAC cannot be muxed to AVI. If you force AAC into the avi there will be no sync at all:sly:

Thats why I said you can't repack mp4 into AVI without recompression.

bond
8th July 2003, 16:28
Originally posted by dillee1
I am afraid that gives you raw Video track only. Not a AVI.
there is the option to extract to .avi although i dont know if everything can be extracted to .avi wihtout problems!? i tried it with xvid and it works like a charme...

AAC cannot be muxed to AVI. If you force AAC into the avi there will be no sync at all :sly:right, but it should be possible to extract aac and mux aac into matroska
btw the audio can also be mp3 for example which can be muxed into .avi

so there is a chance to avoid reencoding by using mp4ui (at least its worth a try)...