digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: AVS + TMPG yields no image? (http://www.digitalfaq.com/archives/avisynth/421-avisynth-avs-tmpg.html)

muaddib 06-15-2002 03:02 PM

Avisynth: AVS + TMPG yields no image?
 
Hi every one! This is my first post in this forum, and I hope you can help me with this one...

I wrote an AVS script, and I think it's a valid one because I can open and play the AVS file in mplayer and JPlayer. But when I use this AVS as the video source in the TMPG, I see no image in the output file.

If I use the D2V project directly in TMPG, the output is OK.

Can someone please explain what I am doing wrong...?

kwag 06-15-2002 05:00 PM

Re: AVS + TMPG --> no image??
 
Quote:

Originally Posted by muaddib
Hi every one! This is my first post in this forum, and I hope you can help me with this one...

I wrote an AVS script, and I think it's a valid one because I can open and play the AVS file in mplayer and JPlayer. But when I use this AVS as the video source in the TMPG, I see no image in the output file.

If I use the D2V project directly in TMPG, the output is OK.

Can someone please explain what I am doing wrong...?

Check your MPEG2DEC.dll version and/or avisynth version.

kwag

muaddib 06-15-2002 10:03 PM

Re: AVS + TMPG --> no image??
 
Quote:

Originally Posted by kwag
Check your MPEG2DEC.dll version and/or avisynth version.

- Avisynth is v1.0 beta6
- MPEG2DEC.DLL I tryed 3 of them (don't know the version, it don't show up in the properties):
---> 1st I used the one that came with Gordian Knot... no image, just a black backgroud and the sound.
---> 2nd I use the two (mpeg2dec.dll e mpeg2dec2.dll) that came with DVD2SVCD... both with the same problem. :cry:

Just want to remember that this black background just happen with TMPG. Whem I open the AVS file with any other player, it plays ok.

muaddib 06-18-2002 01:31 AM

Well, I tried every thing I could imagine, but TMPG outputs only a black background whem I use AVS as source file. So I think to frame server with VirtualDub before go to TMPG. Here is what I'm doing...

1- Rip with SmartRipper 1.41
2- Create D2V project with DVD2AVI 1.76
3- Create AVS with Avisynth v1.0 b6
4- Extract the subtitles with VobSub 2.15
5- Open the AVS in VirtualDub and apply the VobSub Filter.
(the virtualdub preview the movie perfectly good, with AVS edits and subtitles)
6- Start ther frame server in virtualdub.
7- Encode the file of the frame server in TMPGEnc 2.55

Everything goes perfectly until I try step 7... that's when TMPG gives me a mesage that it "can't open or not suported" sorce file.

HELP ME PLEASE !!!!!!! :?: :roll: :?:

kwag 06-18-2002 02:13 AM

Quote:

Originally Posted by muaddib
Well, I tried every thing I could imagine, but TMPG outputs only a black background whem I use AVS as source file. So I think to frame server with VirtualDub before go to TMPG. Here is what I'm doing...

1- Rip with SmartRipper 1.41
2- Create D2V project with DVD2AVI 1.76
3- Create AVS with Avisynth v1.0 b6
4- Extract the subtitles with VobSub 2.15
5- Open the AVS in VirtualDub and apply the VobSub Filter.
(the virtualdub preview the movie perfectly good, with AVS edits and subtitles)
6- Start ther frame server in virtualdub.
7- Encode the file of the frame server in TMPGEnc 2.55

Everything goes perfectly until I try step 7... that's when TMPG gives me a mesage that it "can't open or not suported" sorce file.

HELP ME PLEASE !!!!!!! :?: :roll: :?:

I think that your problem is that your source is RGB and not YUY2.
That's why you can see the video in Vdub, but not in TMPEG.
Add a line to your .avs script
ConvertToYUY2()
right after the line that loads the source. Example:
mpeg2source("F:\THE_MATRIX_16X9LB_N_AMERICA\VIDEO_ TS\matrix.d2v"
ConvertToYUY2()

Now try to open the .avs directly with TMPEG and see if you can see video.

kwag

muaddib 06-19-2002 06:10 PM

Quote:

Originally Posted by kwag
I think that your problem is that your source is RGB and not YUY2.
That's why you can see the video in Vdub, but not in TMPEG.
Add a line to your .avs script
ConvertToYUY2()
right after the line that loads the source. Example:
mpeg2source("F:\THE_MATRIX_16X9LB_N_AMERICA\VIDEO_ TS\matrix.d2v"
ConvertToYUY2()

Now try to open the .avs directly with TMPEG and see if you can see video.

Nope... the ConvertToYUY2() didn't work, but I found what was the problem. :idea:
In the "Environmental Setting -> VFAPI Plug-in" there was an option for a file named ReadAVS.dll, and a message saying that the "file can not be loaded". I just unchecked the box and TMPG starts to display the image!!! :lol:
This file could not be loaded because it was in a directory of DVD2SVCD that I have uninstalled.
I would like to know what is this file for. Should I install it? Is there any inconvenience (performance or quality loss) in not having this file installed?


All times are GMT -5. The time now is 11:34 AM  —  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.