Hey,
My question is just as the title says:
How to open a x264 encoded mp4 in VirtualDubMod?
Thanks,
Sedoc94
+ Reply to Thread
Results 1 to 28 of 28
-
-
So what do I do/install?
I installed ffdshow, and I put in the avs file DirectShowSource("video.mp4") and when I try to open it in VirtualDubMod it says:
-
do you have current version of avisynth installed?
can you play the file in a directshow player, like mpc ?
can you render the file in graphstudio, do the pins connect?
are you on win7? if so, you need win7dsfiltertweaker
ffmpegsource is preferrable as a source filter
http://code.google.com/p/ffmpegsource/ -
Well I need to do it in VirtualDubMod, because that's like the only program around wich can easily make a fade in and -out watermark on my video..
Only problem is I don't know how I can manage so do that it will be able to open x264 encoded mp4s.. -
Last edited by poisondeathray; 28th May 2010 at 16:26.
-
Okay... I just downloaded the last version of avisynth from this website..
But the bad thing is I don't get anything at all from FFMPEGSOURCE
I downloaded this file: http://code.google.com/p/ffmpegsource/downloads/detail?name=ffms2-2.13_src.7z&can=2&q=
But I see a bunch of files and I don't even know where to open the program or something... -
unzip them, especially the .dll's and .avsi, and ffmsindex.exe, into the avisynth\plugins folder
open a text file in notepad in the same directory as your video, write the syntax in post#2 (change the filename to match), save it, rename the extension to .avs . Open that .avs in vdub/vdubmodLast edited by poisondeathray; 28th May 2010 at 17:13.
-
THank you very much! it works! :d
only now.. how can I save the video as mp4? -
how can I save the video as mp4?
you could use x264vfw , then re-wrap with yamb (mp4box)
newer versions can output a dummy avi, and mp4 if you use the extra options command line box
modern vfw builds can be found here
http://komisar.gin.by/
see this thread for more info:
http://forum.doom9.org/showthread.php?t=98247&page=29 -
use the extra options box, and enter the output in the command line
e.g.
-o e:\output.mp4
save the dummy avi as you would normally in vdubmod e.g. to the desktop, and the real output.mp4 will be saved to the e directory. Of course you can change the path and filename
read the thread link above, there are more instructions there, and screenshots -
YES! It worked! Only though.. I put in the extra options box: -o output.mp4
But I don't hear any sound in the output file.. -
did you select audio compression in the options? (in vdubmod it's under streams, in vdub it's under audio) . What kind of compression did you use? mp3, ac3 ?
if you use file=>file information does it report audio?
did you use atrack=-1 in the script? (see post #2)
If you didn't add or delete any frames (just overlay graphics, nothing else) , I would use yamb to mux in the original audio from the source file ,instead of re-encoding it (lose quality)
It might be that this muxer doesn't add in audio (video only) , since it's experimental. I haven't used it very much, I normally use other methods -
Well, I use vdubmod and I don't see anywhere in the options taskbar where I can se the audio compression.. also not under streams.
Yes I did use atrack=-1
And I just added a watermark in vdubmod, but I rather want to re-encoding the audio so that the file size also becomes smaller... -
does file information report audio passed through?
streams=>streams list
what kind of audio? use mediainfo if you don't know
i'm not sure if the experimental muxer works with audio. Normally you are limited to AVI container ONLY with vdub/vdubmod
you can use another audio encoder and mux it in with yamb -
Just audio of the source file
And in the source file information it says that it is PCM uncompressed
Well if there is no way to add in the audio directly i guess I need to just mux it with the video
And does anyone knows a program that can Demux MKV files and Mux mp4 files?Last edited by Sedoc94; 29th May 2010 at 09:08.
-
mkvextract, mkvtoolnix, yamb to mux
You can still encode the audio , then mux it in. e.g. lamexp is easy to use
If you are using mp3, you can still use AVI output from vdubmod, and use lamemp3 acm to encode in vdubmod in 1 step (audio & video), then yamb to change container from avi=>mp4
If you want aac audio, you can't use vdubmod -
And in the source file information it says that it is PCM uncompressed
when you use avisynth, everything is uncompressed (video frames and audio)
to determine what the original audio format was, use mediainfo on the the original source file
cheers -
thanks...
one last thing! virtualdub is very slow in saving the file... something like 7fps
is there any other encoder wich can do h264 .mp4 through frameserving with vdubmod and thats pretty fast?
thanks -
x264 CLI , you could use a front end like megui or staxrip for example (it's faster without any GUI, however)
But you would have extra overhead going through the frameserver
It would be faster if you did everything in avisynth and fed it directly to x264 CLI
I've also noticed the x264vfw version is slower; I think it has to do with the VFW interface
Another option is to use lower quality (faster) settings -
Okay.. but I don;'t know anything of how to the the code and stuff like that..
How will I be able to do everything in avisynth and feed it directly to x264 CLI?
bcause i need to add subs and fade-in/out watermark in vdub and I don't know if its possible with doing everything in avisynth etc..
btw thank you for the help man... i really appreciate it!Last edited by Sedoc94; 29th May 2010 at 10:18.
-
Well... I checked the container file (.mp4) if there was an audio stream in it, but indeed, vdubmod only encoded the video and not with the audio. This is not a very very big problem for me as I can just take out the audio stream of the source file and mux it with the new encoded file..
But though, I am just wondering if there maybe is a way to make it automaticly include (encode) the audio stream?
Thanks! -
Using External Encoder in Virtualdub 1.9.X test20
http://forums.virtualdub.org/index.php?act=ST&f=5&t=18789&
Virtualdub 1.9.X test20
http://www.virtualdub.org/beta/VirtualDub-1.9.X-test20.zip
Directshow Input Driver (can open MKV in Virtualdub with this and latest Haali media splitter)
http://www.virtualdub.org/beta/DShowInputDriver-mediadettest.zip
I used...
x264.exe for 264 encoder
NeroAacEnc.exe instead of ffmpeg (could not get ffmpeg to work) for aac encoder
MP4Box.exe to mux into MP4 container
x264 800
--preset slower --bitrate 800 --thread-input --b-pyramid strict --vbv-maxrate 1600 --cqm \"jvt\" --fps %(fps) --direct temporal --output \"video.264\" - %(width)x%(height)
neroAacEnc
-ignorelength -lc -if - -of \"%(tempaudiofile)\"
MP4Box
-add \"video.264\" -add \"audio.aac\" -fps %(fps) \"%(outputname)\"Last edited by DarrellS; 1st Jun 2010 at 17:45.
Similar Threads
-
Simply can't hardcode text into x264 encoded videos or decompress them
By sincostan45 in forum Video ConversionReplies: 5Last Post: 19th Jan 2011, 21:25 -
horizontal lines in x264 encoded dvd using MeGUI
By codemaster in forum DVD RippingReplies: 5Last Post: 9th Dec 2010, 06:48 -
MP4 (x264 / AAC / 720x480) to MP4 (x264 / AAC / iPod res)
By GrayStrickland in forum Video ConversionReplies: 2Last Post: 15th Jun 2009, 10:20 -
x264 encoded mkv/mp4 transcode to xvid encoded avi
By graysky in forum Video ConversionReplies: 4Last Post: 9th Aug 2008, 18:55 -
VirtualDubMod 1.5.10 cannot open rmvb file
By pchan in forum Video ConversionReplies: 2Last Post: 14th Sep 2007, 09:17