Quantcast Avisynth: AVS + TMPGEnc Yields No Image? - digitalFAQ.com Forums [Archives]
  #1  
06-15-2002, 03:02 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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...?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-15-2002, 05:00 PM
kwag kwag is offline
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 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
Reply With Quote
  #3  
06-15-2002, 10:03 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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.

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.
Reply With Quote
  #4  
06-18-2002, 01:31 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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 !!!!!!!
Reply With Quote
  #5  
06-18-2002, 02:13 AM
kwag kwag is offline
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 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 !!!!!!!
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
Reply With Quote
  #6  
06-19-2002, 06:10 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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.
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!!!
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?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Plugin that matches TMPG's noise reduction? sToRm Avisynth Scripting 1 02-17-2004 10:05 AM
Avisynth: Clip is upside down and mirror image!! mistermickster Avisynth Scripting 6 01-13-2004 05:16 PM
Avisynth slow after TMPG encoding? MrTibs Avisynth Scripting 9 06-18-2003 07:16 PM
Avisynth: Filters that distort the image? ovg64 Avisynth Scripting 6 04-11-2003 02:20 PM
Capturing Digital 8 yields stretched image? drewson99 Video Capturing / Recording 1 06-03-2002 12:24 PM

Thread Tools



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