Hello,
I'm using VirtualDub-MPEG2 1.6.19 (That's the latest version which supports MPEG2). I bought a new video camera (Sanyo Xacti VPC-CA8), which film in mp4 format. I can't edit that on VirtualDub for some reason. I downloaded Avidemux 2.4 GTK+ but when I edit the file there, it has some issues with frame rate, and the audio doesn't synchronize with the video.
I would prefer anyway to edit my videos on VirtualDub. How can I do it?
Thanks in advance,
Tom
+ Reply to Thread
Results 1 to 30 of 30
-
-
Did you DL and install the MOV,MP4 import plugin for VD?
" Who needs Google, my wife knows everything" -
Have you installed a VFW codec for MP4? Looks like the camera uses MPEG-4 AVC/H.264.
You might try this codec: http://sourceforge.net/projects/x264vfw/ -
Originally Posted by redwudz
-
Upload a tiny sample clip and I'll have a look at it
You can use a free hosting site, like mediafire
What is your final format goal for these? Are you re-encoding to something else? What kind of editing are you doing? (simple linear editing, like cutting sections? or something more complex) -
I think it would be better to covert it into xvid (avi). All I want to do is some simple linear editing. Here is a link to my file:
http://rapidshare.com/files/166112841/SANY0003.MP4.html
By the way, after installing VFW, Was I suppose to change some settings in VD? -
Hmm this seems to work directly in vdub for me. I have the directshow input and the mov filter for vdub installed
The video is h264/aac audio, so you cannot do any directstream copying in vdub (i.e. you have to re-encode)
Avidemux handles it perfectly, perhaps you are using an older version? (I'm using r4494)
In vdub, you might have to enable h264 in the ffdshow vfw video configuration (the gold one), and set to "libavcodec"
Editing will be dicey in vdub, because it's useing h264 (which is hard to edit with frame accuracy, and .mp4 is not offically supported in vdub, and neither is the AAC audio). I think its using the directshow input driver plugin, although I didn't select it from the dropdown menu
Editing should be fine in avidemux, provided you cut on keyframes.
Another option is to use avisynth to frameserve
If you are comfortable just using vdub, it might be easier to convert to xvid/mp3/avi, or some lossless intermediate like lagarith, then edit that because I am willing to bet there is a high chance of desync errors if you do too much editing while using the directshow driver plugin
Here is your video converted to xvid/mp3/avi in vdub directly opening the .mp4.
sany0003.avi -
You need to be using the new version of Virtualdub with the Quicktime plugin (not Virtualdub MPEG-2). Follow the instructions on where to place the files for the Quicktime plugin (Quicktime.ini goes in the VDub directory and the quicktime.vdplugin goes in the Virtualdub\plugin directory). Having both the QT plugin and MP4 plugin could cause a conflict.
If you can play the file on your computer then you may not need to install anything else, if not then either the H264 decoder that Redwudz linked to or ffdshow with H264 enabled under VFW configuration. -
I'm using Avidemux 2.4.3 (r4276) (that's the latest version they have on the official website). When I'm dragging the mp4 into Avidemux, I get this warning message:
Code:H.264 detected If the file is using B-frames as reference it can lead to a crash or stuttering. Avidemux can use another mode which is safe but YOU WILL LOSE FRAME ACCURACY. Do you want to use that mode?
In vdub, you might have to enable h264 in the ffdshow vfw video configuration (the gold one), and set to "libavcodec"
DarrellS, I need to use VirtualDub-MPEG2 because my videos from Canon camera can only be edited on that version. If I would do what you mentioned regarding the quicktime plugin (where do I get it?) on the MPEG2 version, will it work out for me? -
Virtualdub 1.8.6...
http://prdownloads.sourceforge.net/virtualdub/VirtualDub-1.8.6.zip?download
Input plugins...
MPEG2........ http://fcchandler.home.comcast.net/~fcchandler/Plugins/MPEG2/index.html
WMV........... http://fcchandler.home.comcast.net/~fcchandler/Plugins/WMV/index.html
Quicktime.... http://www.tateu.net/software/
FLV............. http://www.moitah.net/
MP4............ http://forums.virtualdub.org/index.php?act=ST&f=7&t=15356
AC3............ http://fcchandler.home.comcast.net/Plugins/AC3/AC3.zip
Directshow.. http://forums.virtualdub.org/index.php?act=ST&f=7&t=15093&st=0
Put all the plugins in the Virtualdub plugin folder
Ffdshow...
http://sourceforge.net/project/showfiles.php?group_id=173941
Don't select any audio or video types to decode on install. Only select as needed or can cause problems. Use VFW configuration to set H264 (if you don't have an H264 decoder) and all FLV types to libavcodec and all WMV types to WMV9. -
I understand how to put the plugins into the VD's plugins folder, but what is exactly Ffdshow? How Do I use it? And what do you mean "don't select any audio or video types to decode on install". I don't even know how to do that.. Where do I select those things? During the installation of Ffdshow? And how do I use VFW configuration... It got me a little confused
Could you please clarify that for me? -
I managed to change the settings in ffdshow, and I dropped the plugins into the plugins folder. (regarding the mp4 plugins, i dropped all 3 files [vdplugin, def, cpp] into plugins folder as well. was i suppose to do that?)
Now when I drop my MP4 video into VD it doesn't give me an error message, but the video appears to be black, and I can't even hear the audio during playback.
What should I do now? -
I think the MP4 plugin that DarrellS linked to doesn't work with your file. Use the Quicktime plugin instead. You may need to install Quicktime or Quicktime Alternative too.
-
I removed the MP4 plugins, and now I'm left with the Quicktime.vdplugin in the plugins folder, and Quicktime.ini in the VD main folder. Now the screen is green, but I can hear the audio. (I have Quicktime Alternative installed)
What is the next step I should do? -
-
When you open the MP4 file in VirtualDub be sure to use the pulldown at the bottom of the dialog to force Quicktime Video Files.
-
Yeah I'm using the exact file, and I did install the x264vfw that redwudz linked.. I also opened the mp4 file using the pulldown to force Quicktime video files, but it didn't work - the screen is still green.
(By the way, when I'm playing the movie on MPC it works very well..) -
This wasn't required for me, but you can also use the directshow input driver (also use the pulldown menu to force it). This uses forces the directshow subsystem, much like mpc uses.
You need may need a splitter like haali media splitter installed -
I already have Haali media splitter. Where make the change with the directshow input driver? pulldown menu where?
-
You must already have a H264 decoder installed and there is a conflict. Try disabling support for H264 in ffdshow and see what happens.
I have mine disabled since I have an H264 decoder and if I enable libavcodec in ffdshow, Virtualdub opens the file with a green screen and if I click a button, the program crashes. If I disable support, everything works fine. -
Originally Posted by tomchook
DarrellS's idea is a good one too, perhaps there is a codec conflict on your system
-
poisondeathray, your solution works! So should I convert all my mp4 into avi so I can edit them?
-
Originally Posted by tomchook
And you could always convert the whole clip to xvid/mp3/avi first, then edit out segments on keyframes without re-encoding (direct stream copy for audio & video), or use "smart rendering" for frame accuracy (only re-encodes a few frames around the cut site if not on a keyframe)
The other option is to convert to a lossless intermediate first (e.g. lagarith), do the editing in that, then convert to your final format - this method probably has less likelihood of sync issues but takes longer
Good luck -
You'll want to convert the audio (foobar will do this) to a usable type since Virtualdub doesn't totally support aac. Virtualdub will convert the audio to MP3 but you'll have sync issues.
Insert the converted MP3 audio file into the MP4 in Virtualdub and compress to XviD and direct stream copy the audio. Then you can do your edits on the converted AVI as deathray mentioned with smart rendering to keep from recoding after your edits. -
Thank you guys for the efforts of explaining to me in such patient! I really appreciate it! I think that I will just covert the mp4 to avi (divx), and edit the avi file. I shouldn't have any sync problems with that, right?
Similar Threads
-
How to open .MP4 files in virtualdub? (i want to sharpen mp4
By fuc847 in forum Video ConversionReplies: 27Last Post: 22nd Apr 2015, 08:06 -
Editing mp4 files?
By MJS in forum Newbie / General discussionsReplies: 4Last Post: 29th Dec 2010, 03:35 -
MP4 and virtualdub?
By capman21 in forum Newbie / General discussionsReplies: 3Last Post: 25th May 2010, 00:20 -
editing mp4/flv files from youtube in virtualDub
By tolland in forum EditingReplies: 2Last Post: 16th Nov 2009, 16:50 -
mp4 in virtualdub
By branch in forum Video ConversionReplies: 10Last Post: 7th Aug 2009, 07:37