View Full Version : MPEG-2 to VirtualDub
jcsston
2nd January 2003, 19:01
I can't decide which category to put this under.
This is what it does
It takes a MPEG-2 file,
Creates a d2v project with DVD2AVI
Decodes the mpa with the MPASource plugin, MADPlay, or DirectShow decoder
Writes a AviSynth script
Opens the script in VirtualDub
You can try it out at here (http://webjory.tripod.com/vb/)
I'd appreciate any comments or suggestions.
sillKotscha
2nd January 2003, 19:29
maybe dumb question but where is the difference to GKnot?
Sill
jcsston
2nd January 2003, 20:16
GKnot is for DVD's, I use GKnot for calculating bitrates
This is for recorded MPEG-2 captures, and I've tried to streamline the process to one-click.
Si
2nd January 2003, 23:51
I downloaded 1.3 and I had a few issues with my long filenames
(e.g. d:\ready for cdrw\Xmass 2002 fDV All c3d SWY1 rM192F SDfd mm10 RS480pbl 01 cbr2520 SVCD 253 HQ TFF.mpg -I like descriptive filenames) not being properly handled :( but I'm probably exceeding some windows limit :p
Anyway - its secondary at the moment as when I updated to 1.4, I still didn't have any option to use MPASource for the audio, which according to your docs I should be able to.
Is your v1.4 link correct ? or are there issues when upgrading?
PS I find it a good idea to make the installing .exe (or .zip) have the version number in it as its very easy to get confused
regards
Simon
PPS - don't let the vob merchants get to you - they don't know what a real mpeg-2 file is
;)
jcsston
3rd January 2003, 00:44
'Xmass 2002 fDV All c3d SWY1 rM192F SDfd mm10 RS480pbl 01 cbr2520 SVCD 253 HQ TFF.mpg' and I thought I used long filenames. I renamed one of my files, and it worked until VirtualDub tried to open it. This isn't anything major, just open the .avs in VirtualDub manually. (Fix in v1.5)
I didn't update the v1.4 link, it's fixed now.
:stupid: In the caption of MPEG-2 to VirtualDub, what is the build no?
I have the sources named with version, I'll start naming the setup package too.
BTW Since I switched installers from v1.3 to v1.4, I would un-install v1.3 before installing v1.4
Si
3rd January 2003, 01:29
I didn't update the v1.4 link, it's fixed now.
Well one of us is getting it wrong - the file I keep downloading is excatly the same size (515KB) as the 1.3.
Your site says 1.4 should be 481KB
The version(s) I have say 1.3 build 13
:confused: :confused: :confused:
Re long file names - its seems to be an issue with spaces in the names instead of/as well as? length.
regards
Simon
sillKotscha
3rd January 2003, 01:32
Originally posted by siwalters
Well one of us is getting it wrong
you :D
Si
3rd January 2003, 01:39
@sillKotscha
Come on - I'm paranoid enough as it is. ;)
Just because I called you a vob user :p
regards
Simon
sillKotscha
3rd January 2003, 01:49
paranoid or not but one thing I know... just downloaded 1.4 (build24) ;)
and about the vob merchant... no doubt this/ his little tool is very easy to use (one click 'n go as jcsston said) but when you talk about "a real mpeg-2 file" than I use GKnot as well for doing the job, because what else is he using than DVD2AVI -> AviSynth_Script -> VDub, just like GKnot as a frontend does (maybe just until now ;) - I will see)
my 0,02 €
Sill
Edit: ok, ok... now as 'mpasource' is included it's more easy to handle mpeg2 files - but it's just a workaround for people who don't like to write a script or who are just too lazy to do it - please, no misunderstandings here... /me likes easy to use interfaces too
Si
3rd January 2003, 09:03
@sillKotscha
OK- war over :)
What is the size of the file you have downloaded please?
regards
Simon :confused: :confused: :confused:
jcsston
3rd January 2003, 09:20
I downloaded my package from my site and the size is 481KB
Maybe the old one is cached? Here's a link to a newer one for you :cool: update on site page tomorrow (http://webjory.tripod.com/vb/) 482KB
Si
3rd January 2003, 09:32
Maybe the old one is cached?
I think that was it - once you changed the filename - it now works for me (Thats the trouble of being an early adopter ;) )
Running it now - will give feedback later - thanks very much.
regards
Simon
Si
3rd January 2003, 09:41
Brilliant - handles my "descriptive" ;) filenames - just converting a MPEG-2 to avi to do detailed checks on any audio sync issues.
Edit: No audio sync problems detected on a 30 min file. :D
Thanks very much to you and WarpEnterprises :D
regards
Simon
jcsston
5th January 2003, 01:59
I've released a new version v1.6
[features added]
* Now you can select which colorspace is outputed by the AviSynth script
* Added keyboard shortcuts
* Commandline support added
Switches:
/l "path\filename" Load MPEG-2 file
/rgb Output AviSynth script in RGB32 colorspace
/yuv Output AviSynth script in YUV colorspace
/a0 Decode mpa audio with MADPlay
/a1 Decode mpa audio with DirectShow decoder
/a2 Decode mpa audio in AviSynth with MPASource plugin
/exit Exit 'MPEG-2 to VirtualDub' when done
Ex. Mpeg2toVirtualDub /l "D:\videos\xmass.mpg" /rgb /a2 /exit
[bug fixes]
* Fixed bug of MADPlay and DirectShow decoders didn't work
I've attached a exe update, but it's at the site too.
jcsston
10th January 2003, 23:22
Okay I've released a new version
v1.63 Released: 1/10/2003
[features added]
* Creates job files to demux streams with cPVS (not included)
* You can now choose if the DelayAudio() is in the AviSynth script
* Set locations for all exe's and dll's used
* Switched from FSFWrap.dll to dshowvblib.tlb for DirectShow Decoding (IFileSinkFilter::SetFileName)
* Audio file Commandline support added
New Switches:
/a "path\filename" Load MPEG-2 audio file
Ex. Mpeg2toVirtualDub /l "D:\videos\xmass.m2v" /a "D:\videos\xmass.m2a" /rgb /a2 /exit
[bug fixes]
* I really fixed the MADPlay and DirectShow decoders
* Support for separate video and audio files works now (Thanks to Zodiacal)
jcsston
1st February 2003, 21:49
I've released a new version v1.70
Released: 2/01/2003
[features added]
* Snaps to 4 when resizing
* Upgraded MPASource and MPEG2Dec3 included, to AviSynth 2.5 beta versions
* Added box to edit AviSynth scripts
* Rewrote script generation code to support Custom AviSynth scripts
* Fancied up the About Box
* EXE is now packed with UPX. From 192KB to 45KB
[bug fixes]
* Fixed YUV12 conversion script command error ConvertToYUV12() instead of ConvertToYV12()
* Fixed resize related bugs
The full package, exe update, and source code is at the site
Happy encoding :D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.