01-18-2003, 04:02 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i want to re-encode an mpeg1 video- how do i load it with Avisynth?
I tried DirectShowSource(clip) but I got an exception in TMPGEnc
thanks,
ren
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
01-18-2003, 04:42 PM
|
Free Member
|
|
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by rendalunit
i want to re-encode an mpeg1 video- how do i load it with Avisynth?
|
Two options: either fast recompress as HuffYUV (which takes scads and scads of disc space) or use the MPEGDecoder plugin. I can't remember where I got it from, but if you do a search on Doom9 for posts by a guy called Nic you should find a link to his web site in his sig. I think .
|
01-18-2003, 04:58 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
oh cool- I'll look for the MPEGDecoder plugin (Nic's the author of XviD right?). I can't load the mpeg1 into Vdub because I get an unexpected end of file error.
thanks,
ren
|
01-18-2003, 05:48 PM
|
Free Member
|
|
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by rendalunit
Nic's the author of XviD right?
|
Well, I know he does his own builds of it. I think he's on the development team. Not sure .
|
01-18-2003, 06:32 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
MPEGDecoder works great!! It created a .d2v file with my mpeg-1 I really like how you can load .vobs directly too with a script similar to this:
Code:
LoadPlugin("C:\encoding\MPEGDecoder.dll")
LoadPlugin("C:\encoding\FluxSmooth.dll")
LoadPlugin("C:\encoding\BlockBuster.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\LegalClip.dll")
LoadPlugin("C:\encoding\sampler.dll")
MPEGSource("D:\MOHICAN\VIDEO_TS\VTS_04.01.VOB+D:\MOHICAN\VIDEO_TS\VTS_04.02.VOB+D:\MOHICAN\VIDEO_TS\VTS_04.03.VOB+D:\MOHICAN\VIDEO_TS\VTS_04.04.VOB+D:\MOHICAN\VIDEO_TS\VTS_04.05.VOB+D:\MOHICAN\VIDEO_TS\VTS_04.06.VOB",0,"ff")
LegalClip()
FluxSmooth()
BlockBuster(method="noise",variance=0.5)
GripCrop(width=528,height=480,overscan=1)
GripSize()
GripBorders()
LegalClip()
Sampler(length=24)
so no need for DVD2AVI or FitCD
|
01-18-2003, 06:45 PM
|
Free Member
|
|
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by rendalunit
I really like how you can load .vobs directly
|
It looks very promising. I'm waiting for all the bugs to be ironed out first .
|
01-18-2003, 07:48 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by rendalunit
MPEGDecoder works great!! It created a .d2v file with my mpeg-1 I really like how you can load .vobs directly too with a script similar to this:
Code:
LoadPlugin("C:\encoding\MPEGDecoder.dll")
LoadPlugin("C:\encoding\FluxSmooth.dll")
LoadPlugin("C:\encoding\BlockBuster.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\LegalClip.dll")
LoadPlugin("C:\encoding\sampler.dll")
MPEGSource("D:\MOHICAN\VIDEO_TS\VTS_04.01.VOB+D:\MOHICAN\VIDEO_TS\VTS_04.02.VOB+D:\MOHICAN\VIDEO_TS\VTS_04.03.VOB+D:\MOHICAN\VIDEO_TS\VTS_04.04.VOB+D:\MOHICAN\VIDEO_TS\VTS_04.05.VOB+D:\MOHICAN\VIDEO_TS\VTS_04.06.VOB",0,"ff")
LegalClip()
FluxSmooth()
BlockBuster(method="noise",variance=0.5)
GripCrop(width=528,height=480,overscan=1)
GripSize()
GripBorders()
LegalClip()
Sampler(length=24)
so no need for DVD2AVI or FitCD
|
How do you get the Inverse Telecine ( drop rff ) there . If you read VOBs directly, the frame rate would be read as 29.97fps and not as 23.976, or am I wrong
-kwag
|
01-18-2003, 07:56 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hi Kwag,
The third parameter is "ff" - force film
this is from the readme
Quote:
MPEGSource("e:\rip\VTs_01_1.vob+e:\rip\VTs_01_2.vo b+e:\rip\VTs_01_3.vob)
Here the first thing that MPEGDecoder.dll will do is to check for a e:\rip\VTs_01_1.d2v file.
if a file with that name exists it will load that and assume that the d2v is for the three files.
if e:\rip\VTs_01_1.d2v does not exist, it will be created and then loaded automatically.
For D2V files created automatically by MPEGDecoder.dll it does not know if force film should be turned on.
If it should then put "ff" as the third parameter
i.e.
MPEGSource("e:\rip\big.vob", 0, "ff")
|
As for the second parameter- I don't have a clue what it's for.
ren
|
01-18-2003, 08:00 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by rendalunit
hi Kwag,
The third parameter is "ff" - force film
|
for not reading the small details
Thanks
-kwag
|
01-18-2003, 08:03 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It would be great if you could just do: MPEGSource("D:\MOHICAN\VIDEO_TS\*.VOB",0,"ff") and it would load all VOBs in ascending order
Edit: Better yet, just rip to a single VOB
|
01-18-2003, 08:15 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by kwag
It would be great if you could just do: MPEGSource("D:\MOHICAN\VIDEO_TS\*.VOB",0,"ff") and it would load all VOBs in ascending order icon_mrgreen.gif
|
Yeah I know!
It would be nice if you could write it like this;
SegmentedMPEGSource("clip.00.vob") and it would load the other vobs (clip.01.vob...so on)
just like you can do with SegmentedAviSource(clip)
|
01-19-2003, 02:32 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by kwag
Edit: Better yet, just rip to a single VOB
|
I didn't think DVD Decrypter could do this, but now I see that it can
|
All times are GMT -5. The time now is 12:06 PM — vBulletin © Jelsoft Enterprises Ltd
|