View Full Version : MPEG-2 Encoder for VDub
StHapns247
8th January 2009, 22:04
Is there an MPEG-2 encoder available that I can use with VirtualDub or VirtualDubMod?
On my XP machine I have 3 different ones available from Microsoft, but none on my Vista machine.
I was just wondering if there were any options available to me.
Thanks.
LoRd_MuldeR
8th January 2009, 23:18
None that I'm aware of. VirtualDub uses VfW Codecs and I'm not aware of any MPEG-2 VfW encoder. Also VirtualDub writes to AVI only and MPEG-2 in AVI would be more than unusual.
You may want to check out Avidemux, which has a VirtaulDub-like user interface and comes with a built-in MPEG-2 encoder:
http://forum.doom9.org/showthread.php?t=126164
Ajax_Undone
9th January 2009, 00:11
Wondering if there is a mpeg 2 muxer haven't dealt a lot with mpeg 2 so I am unsure.
StHapns247
9th January 2009, 00:36
My mistake, the codecs I have on my XP computer are MS MPEG-4 condecs, not MPEG-2 codecs.
What would be my best option for converting .avi files (with various compression, mostly Intel Indeo video) to MPEG-2?
setarip_old
9th January 2009, 04:17
Hi!
Is it your intention to simply convert to and retain MPEG-2 files, or do you want to create DVDs from them?
LoRd_MuldeR
9th January 2009, 04:19
What would be my best option for converting .avi files (with various compression, mostly Intel Indeo video) to MPEG-2?
Did you check out Avidemux, as suggested? (see link above)
Wondering if there is a mpeg 2 muxer haven't dealt a lot with mpeg 2 so I am unsure.
Sure there are MPEG-2 muxers. A lot of them. But StHapns247 asked for an encoder ;)
halsboss
9th January 2009, 08:17
ffdshow tryouts VFW config settings under the encode tab seems to reference mpeg2 ?
nixo
9th January 2009, 09:08
ffdshow tryouts VFW config settings under the encode tab seems to reference mpeg2 ?
Yeah, and it works too. You just need to output to raw, not avi.
halsboss
9th January 2009, 09:13
Thanks. Doesn't it work with audio encoding + video encoding muxed into an AVI ? (I wonder if it also does MP2 or AC3 audio encoding)
nixo
9th January 2009, 09:33
Thanks. Doesn't it work with audio encoding + video encoding muxed into an AVI ? (I wonder if it also does MP2 or AC3 audio encoding)
MPEG2 in AVI plays fine through ffdshow. I just don't know if any DVD authoring tools would accept such a file.
halsboss
9th January 2009, 10:35
Ah. An ignorant follow-up question ... Vdub doesn't support the "mpg container" (I guess that's a program stream, is it ?) ? I wonder if there's any plans, given Vdub plugins now exist to read the things.
buzzqw
9th January 2009, 13:27
I wonder if there's any plans, given Vdub plugins now exist to read the things
fcchandler mpeg2 plugin... google is your friends
BHH
LoRd_MuldeR
9th January 2009, 20:14
I just don't know if any DVD authoring tools would accept such a file.
Certainly not. Storing MEPG-2 in AVI simply is no good idea...
ron spencer
9th January 2009, 20:22
here is one...I have tried it...slow...
$30...not sure how often it is developed...works in vdub
http://www.ympeg.com/index.htm
tutorial with pics:
http://www.ympeg.com/tutorial.htm
LoRd_MuldeR
9th January 2009, 22:56
Why that workaround with VfW Codecs which redirect their output to an external file (without audio), when Avidemux can do it naively and for free?
ron spencer
10th January 2009, 01:46
what does poster want it for
LoRd_MuldeR
10th January 2009, 01:48
what does poster want it for
The original poster asked for MPEG-2 encoder in VirtualDub and it was explained enough why VirtualDub/VfW is not the way to go for MPEG-2 ...
ron spencer
10th January 2009, 04:34
well he could do it with ympeg...it is NOT mpeg in avi container....check out the tutorial.
but is not free and slow....I use HC, but if person wants in Vdub can be done to author
pezgordo
10th January 2009, 07:17
I have a similar interest in using ffdshow encoding to Mpeg2 from Vdub.
Te reason is i have lots of .h264 (hundreds to thousands) HD files that I need to batch process to encode them to Mpeg 2.
I've solved most of the process butt....
When I process a directory on VirtualDubMod's Job Control I get .AVI files that do not work (I get an "Unknown file format FFDS" error msg.) Maybe ffds is messing up de FOURCC code??
I tried seting Output in FFDSHOW to "Store frames to external file" => "RAW frames" (as sugested somewhere) but I can't figure out what to write on the location fiel in order for the batch process to work ok and create 1 mpeg file for each original .h264
AlreadyTried using:
D:\outputFolder\
D:\outputFolder\*.mpg
An avi file is created while the encoding is taking place and when finished that avi is transformed into a handler i guess (goes from several MBs to 18kb) but no other file is found.
I also tried D:\outputFolder\%i to see whjat happenned, same as before but ended with the avi handler and thousands of 22kb .mpeg files (which I guess are separated frames)
I guess it should be possible to solve this and be able to automate this process. I'm just having trouble with the "scripting" format and can't find documentation of this specific feature of FFDshow tryouts
Input files are AVIsynth scripts with DirectshowSource("filename") command only
I also tried feeding all the avs scripts to a Mpeg 2 encoder but it crashes so that's why I'm trying to use VD.
Help is appreciated.
Thanks
halsboss
10th January 2009, 07:42
You could use HC.. with batch files to parse files in a folder and feed into avisynth then into HC... provided they're all in the same size/aspect/container format it's not so hard... no need for problematic vdub processing.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.