View Full Version : Edit .mp4 (x264) with VDub
Dust Signs
13th September 2006, 19:13
Hi,
I'm currently trying to open an .mp4 file which I encoded with x264 in Virtual Dub which does not work (.avi worked fine). After a few tries I gave up - my last try was to install the Haali Media Splitter and to open the following AviSynth script with VDub (ffdshow is installed and - I suppose - configured properly):
DirectShowSource("G:\test.mp4",25,video=true)
(note: I also tried that without the video-Parameter set to true). What can be the problem? Or is it just impossible to edit x264 in .mp4 in VDub?
Dust Signs
bond
13th September 2006, 19:29
obviously we want to know what the error message you get is...
Dust Signs
13th September 2006, 19:32
Oh, sorry, I forgot: VDub crashes. If I open it with the preview of AVSEdit, AVSEdit crashes. The same with VDubMod.
Dust Signs
bond
13th September 2006, 19:40
does the file play in a directshow player, like zoomplayer or mpc or graphedit?
Dust Signs
13th September 2006, 19:45
Mediaplayer Classic crashes :confused: , I always use VLC to playback .mp4 files. I suppose this means more to you than it does to me ^^
Dust Signs
bond
13th September 2006, 20:02
if mpc crashes you dont use the correct directshow filters to play the file, but some strange one that causes the crash
basically all you need, and should use, is either gabests or haali's mp4 splitter and ffdshow (or coreavc)
so what filters are you using?
Dust Signs
13th September 2006, 20:12
I use the "sharpen" and the "postprocessing" filter of ffdshow. If I disable all filters in ffdshow, the problem is still there.
Dust Signs
bond
13th September 2006, 20:23
which mp4 parser are you using?
Dust Signs
13th September 2006, 20:38
which mp4 parser are you using?
Did I install one :p ? I thought that a media splitter (p.e. Haali) and ffdshow would be sufficient. A quick look into google told me something about "emp4demux.ax" which I couldn't find anywhere. Can you recommend me another MP4 parser?
Dust Signs
bond
13th September 2006, 21:05
haali should be fine
what happens if you open the file in graphedit (see the doom9 download section)?
Dust Signs
13th September 2006, 21:15
The Haali tray icon shows up and GraphEdit shows the following output in its window (see picture). Nothing unexpected (seems to me).
Dust Signs
foxyshadis
14th September 2006, 00:46
yamb is at best a splitter and muxer, not an editor. Avidemux is the only free mp4 gui editor; it's very virtualdub inspired, which may be awesome or horrible depending on your tastes. (I'm still looking for a commercial editor that's better than avidemux without being a thousand dollars, like FCP.)
Sharktooth
14th September 2006, 01:24
try with avidemux.
Dust Signs
14th September 2006, 08:23
Well, I thought VDub should be ok because I don't want to really EDIT the movie, I only want to cut some scenes out of the movie and save them into separate .mp4 files without modifying the original movie. AviDemux allows me to open the file and set a beginning/end. But when saving the file (as AVI and as OGM), VLC says that the file is corrupted (fixing it allows me to play it, but it's waggling all the time), audio doesn't seem to work at all (is MP3 CBR).
Dust Signs
celtic_druid
14th September 2006, 09:47
If you want seperate mp4's then why are you saving as avi and ogm?
Dust Signs
14th September 2006, 10:00
//EDIT: I just downloaded the latest version which also offers the possibility to save the file as MP4. But it seems that AviDemux does not like H.264:
H264 detected
If the file is using bframe as reference, it can lead to crash or stutteting.
Avidemux can use another mode which is safed but YOU WILL LOOSE FRAME ACCURACY.
Do you want to use that mode ?
And as AviDemux says, it's stuttering... (and the audio track sounds like a mixture of the two streams (German and English))
Dust Signs
celtic_druid
14th September 2006, 13:04
Well the 2.3 branch is still a work in progress.
Dust Signs
14th September 2006, 13:07
Let's hope that it works with H.264 soon :/
Dust Signs
mean
14th September 2006, 18:15
Use the non frame accurate mode and it will be ok
Dust Signs
14th September 2006, 18:22
Use the non frame accurate mode and it will be ok
I wish it was...
Dust Signs
bond
14th September 2006, 18:50
The Haali tray icon shows up and GraphEdit shows the following output in its window (see picture). Nothing unexpected (seems to me).
Dust Signslooks totally normal to me. does graphedit crash when playing the file?
Dust Signs
14th September 2006, 18:58
looks totally normal to me. does graphedit crash when playing the file?
Yes. But if I delete the ffdshow MPEG4 decoder (with the Del key) and then try to play it, it does not crash (I have no video then, only audio, of course). So the reason for the crashes seems to be ffdshow :scared:
Dust Signs
bond
14th September 2006, 19:12
what ffdshow compile are you using?
Dust Signs
14th September 2006, 19:17
http://mirror01.x264.nl/x264/ffdshow-2546-gcc4.0.3-sse2-x264.nl.exe
This one. I thought the SSE2 version would maybe be a little bit faster than the SSE version - there should be no problem with SSE2 I think, because my CPU (Athlon 64 X2 4200+) supports it.
Dust Signs
bond
14th September 2006, 19:37
http://mirror01.x264.nl/x264/ffdshow-2546-gcc4.0.3-sse2-x264.nl.exe
This one. I thought the SSE2 version would maybe be a little bit faster than the SSE version - there should be no problem with SSE2 I think, because my CPU (Athlon 64 X2 4200+) supports it.
Dust Signshm try some older versions maybe:
http://tirnanog.fate.jp/mirror/ffdshow/?M=A
Dust Signs
14th September 2006, 19:43
Thanks, I'll try that tomorrow.
Dust Signs
foxyshadis
14th September 2006, 20:51
Or you can try a newer one: http://sourceforge.net/project/showfiles.php?group_id=173941
SSE/SSE2 will never be faster for decoding, only for the filters (like some deinterlacers and the cleaning/sharpening filters).
Dust Signs
14th September 2006, 21:11
SSE/SSE2 will never be faster for decoding, only for the filters (like some deinterlacers and the cleaning/sharpening filters).
That's what I meant - sharpening, deblocking and all that postprocessing stuff ;)
Or you can try a newer one: http://sourceforge.net/project/showfiles.php?group_id=173941
Yippeeee :D ffdshow-tryouts-rev155-AMD-XP-K8.exe just works perfectly, thank you very much :cool: . I think, I'll have to re-encode that part, but that's no problem because it's only one minute long :)
Dust Signs
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.