digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: How do you add MPEG-1 source in avs script? (http://www.digitalfaq.com/archives/avisynth/5465-avisynth-how-add.html)

limpby 09-08-2003 03:25 PM

How do you add MPEG-1 source in avs script?
 
is there any way to use avs script for MPEG-1 sources?

by the way, directsource() does not work...

it just stops...

:?

the source I have is VCD MPEG-1

any ideas?

kwag 09-08-2003 03:30 PM

DirectShowSource :?:

Dialhot 09-08-2003 04:42 PM

Try to use DVD2AVI : add your MPEG1 file like you would have done for a Vob and save the d2v file.

limpby 09-08-2003 08:29 PM

dvd2avi doesn't work...unfortunately

it reads the file...(well..not really...) and I can't save it

to the .d2v file

directshowsource() doesn't work either

it gives me this..'video decync!' msg...

any ideas?

Dialhot 09-09-2003 04:34 AM

OPen it under tmpgenc and save it in avi using the codec huffyuv (menu "file", output to file -> select avi).

You will need 4 GB / hour of video on your HD. But it's the only solution for you. (huffyuv codec is lossless, so don't worry).

Boulder 09-09-2003 11:23 AM

I'm not 100% sure but Nic's MPEGDecoder might be able to load the MPEG-1 source. See the Doom9 forum, the filter's buried somewhere over there.

jorel 09-09-2003 12:15 PM

excuse limpby, maybe a stup question:

why and for what do you want to use avs script for MPEG-1 sources?
:? :?
what is your target?
:?

Dialhot 09-09-2003 04:34 PM

Quote:

Originally Posted by Boulder
I'm not 100% sure but Nic's MPEGDecoder might be able to load the MPEG-1 source. See the Doom9 forum, the filter's buried somewhere over there.

Nic's MPEGdecoder first create a d2v file, so if DVD2AVI can't handle this file...
By the way this decoder is completly bugged with MPEG1 source and nothing told in the documentation can solved tghe problem : it never gives the correct frame number :-(

limpby 09-09-2003 06:01 PM

well...4gb...thats....big...

neways....

the reason is..I downloaded the vcd file...

but its 2cds...

and I wanted to change it to 2cd kvcd...

jorel 09-09-2003 08:13 PM

Quote:

Originally Posted by limpby

the reason is..I downloaded the vcd file...

but its 2cds...

and I wanted to change it to 2cd kvcd...

oh.....that's the reason... :roll:

ong001 09-09-2003 10:27 PM

Here is a simple way to do it: it is very fast and you can have both audio and video together.
The best is RANDOM seeking is possible.

Please d/l m2v_vfp from http://www.marumo.ne.jp/mpeg2/m2v_vfp-0.6.38.lzh
then use Winrar to unpack it to e.g c:\m2v.

Make sure m2v.vfp and m2vconf.exe are there.
Run m2vconf.exe for your configuration.

Then use the following avs scripts to get the mpg1/mpg2 video into avisynth.

LoadVFAPIPlugin("C:\m2v\m2v.vfp", "M2VVFP")
M2VVFP("D:\mpegfiles\Mympg.mpg")
FlipVertical()
#continue after this

However, TmpgEnc at times gives error messages half way.
So the best way is to load the avs file into VirtualDub
and then frameserve to TmpgEnc.

Dialhot 09-10-2003 03:47 AM

Quote:

Originally Posted by limpby
the reason is..I downloaded the vcd file...

but its 2cds...

and I wanted to change it to 2cd kvcd...

That's weird because I did this last week using DVD2AVI 1.76 and everything was correct.
I reaaly don't know why DVD2AVI does not work everytime (that was the first time I manage to use it for MPEG1 !).

incredible 09-10-2003 07:12 AM

Quote:

Originally Posted by limpby
dvd2avi doesn't work...unfortunately

Whats the number of your DVD2AVI version??

Cause, as DialHot said, ... it works fine ... for me too!

J-Wo 09-10-2003 07:34 AM

I've tried dvd2avi v1.76, 1.77.3 and 1.77.4 and neither of them will open my mpeg-1 source (Which is VCD compliant). Well they open it but the Video tab is greyed out so it won't preview the file no save a project file. I'm also having the same problem where DirectShowSource does absolutely nothing except cause tmpgenc to quit when I Try to load my avs file. I then thought I was smart and demultiplexed my file, but again I can't load my m1v file using directshowsource. I also tried to open the m1v file in all versions of dvd2avi. This time it did open the video file, but it came out as a green square and when I tried to preview it by pressing F5 the progam quit. So I might have to try that huffyv codec thingamabob, but there must be an easier way!!!!

Dialhot 09-10-2003 08:22 AM

Quote:

Originally Posted by J-Wo
I've tried dvd2avi v1.76, 1.77.3 and 1.77.4 and neither of them will open my mpeg-1 source (Which is VCD compliant).

That's why I said I manage to do this only once. I really never found the reason :-(

Quote:

So I might have to try that huffyv codec thingamabob, but there must be an easier way!!!!
Unfortunally there isn't. Even frameserve from vdub doesn't work as it always lead to audio desynch problems. :x


All times are GMT -5. The time now is 05:35 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.