Quantcast KVCD: AVS Script Much Worse than the Straight Movie - digitalFAQ.com Forums [Archives]
  #1  
06-01-2002, 05:26 PM
Bigswaffo Bigswaffo is offline
Free Member
 
Join Date: Apr 2002
Location: Tejas
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
Hey Kwag,
I use FitCD for scripts and I loaded the one I made into TMPGEnc along with the audio and I ran it. When it was done, the quality was horrible. So I thought maybe it was the temporal smoother function in the AVS script because it looked like there was too much temporal smoothing. I tried that and ran it again and the movie still looked horrible. After that, I tried just putting in the movie straight without FitCD and the quality is great. What am I doing wrong?

Here are my scripts:

LoadPlugin("C:\My Documents\VCD Stuff\Misc\MPEG2DEC.dll")
AviSource("C:\Program Files\eDonkey2000\incoming\A.Clear.and.Present.Dan ger.1994.AC3.WideScreen.[AgP].ReVamP.Sample.ShareReactor.avi")
BilinearResize(320,384,15,0,546,320)
#TemporalSmoother(2,2)
AddBorders(16,96,16,96)
#Trim(0,897).FadeOut(150)
#ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons
#== If you want this 'fix' permanently, edit the INI-file:
#== Under [AVSscript] set the CCEcrashfix-option to
#== CCEcrashfix=1

And without the temporal smoother(and a few others):

LoadPlugin("C:\My Documents\VCD Stuff\Misc\MPEG2DEC.dll")
AviSource("C:\Program Files\eDonkey2000\incoming\A.Clear.and.Present.Dan ger.1994.AC3.WideScreen.[AgP].ReVamP.Sample.ShareReactor.avi")
BilinearResize(320,384,15,0,546,320)
AddBorders(16,96,16,96)
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-01-2002, 05:36 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
Look at your numbers!
You're taking a 546x320 video.
Resizing it to 320x384.
And then blowing it up to 704x480 ( I assume you're using the new template )

Without the .avs script none of that happened. That's why it looked better.
I've said it before. DIVx to mpeg is a bad move. Specially with those non-standard resolutions.
If you still want to up-scale your original 546x320 (which I don't recommend ), try resizing with Bicubic precise instead of bilinear.
You're better off with the standard KVCD ( 352x480 ) template for this video.

kwag
Reply With Quote
  #3  
06-01-2002, 07:20 PM
Bigswaffo Bigswaffo is offline
Free Member
 
Join Date: Apr 2002
Location: Tejas
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag,
I'm using the 352x480 template rather than the new template since I know of the bad quality from upsizing from experience. Divx to mpeg may be a bad movie, but not as bad as what happened with the AVS script. What else could cause this problem?
Reply With Quote
  #4  
06-01-2002, 08:22 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 Bigswaffo
Kwag,
I'm using the 352x480 template rather than the new template since I know of the bad quality from upsizing from experience. Divx to mpeg may be a bad movie, but not as bad as what happened with the AVS script. What else could cause this problem?
Then the only thing in the way is the avisynth.dll.
I can't think of anything else.

Verify that you have the newest version.

kwag
Reply With Quote
  #5  
06-03-2002, 05:30 AM
Bigswaffo Bigswaffo is offline
Free Member
 
Join Date: Apr 2002
Location: Tejas
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag,
I just downloaded the newer version and the quality is the same. I guess I'll have to use FitCD just for resizing and I'll resize it in VDub. Thanks anyway.
Reply With Quote
  #6  
06-03-2002, 07:30 AM
Spyglass Spyglass is offline
Free Member
 
Join Date: Apr 2002
Location: Canada
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Kwag,

I sent a similar question to you by private message last night I think. I am also getting crappy quality when I use my AVS script as an input to TMPGENC. The Original rip is from the DVD at 720x480, and using FitCD I output at 704x480. I used the round to slider to get 0% error, but the picture quality becomes really bad. I've got the latest avisynth dll, the one you sent me. Still no luck. Any further ideas? I used the d2v input, and messed around with output aspect ratio and decided to use 1:1VGA with the input aspect ratio as 16:9 525Line (NTSC). That seemed to give the closest to the original aspect ratio.

Spyglass
Reply With Quote
  #7  
06-03-2002, 09:51 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 Spyglass
Hi Kwag,

I sent a similar question to you by private message last night I think. I am also getting crappy quality when I use my AVS script as an input to TMPGENC. The Original rip is from the DVD at 720x480, and using FitCD I output at 704x480. I used the round to slider to get 0% error, but the picture quality becomes really bad. I've got the latest avisynth dll, the one you sent me. Still no luck. Any further ideas? I used the d2v input, and messed around with output aspect ratio and decided to use 1:1VGA with the input aspect ratio as 16:9 525Line (NTSC). That seemed to give the closest to the original aspect ratio.

Spyglass
Hi Spyglass:

Could you post your .avs script, so we can take a look at your values?

kwag
Reply With Quote
  #8  
06-03-2002, 10:22 AM
DaDe DaDe is offline
Free Member
 
Join Date: Apr 2002
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
I had the same problem but, did you remember with past templates you must set the size to 1/2 DVD? well this time you need to put it to XVCD, and the TV overscan to 0 (zero). With this sets you don't need to move any other setting.

Hope this help somebody.

DaDe.
Reply With Quote
  #9  
06-03-2002, 08:08 PM
Spyglass Spyglass is offline
Free Member
 
Join Date: Apr 2002
Location: Canada
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Hey Kwag,

I know this is getting annoying, but I'm soo close I can smell it, and damn I can't wait to get the quality of the 704x480 working on my player.

Here is the avs script that I tried using....

LoadPlugin("D:\DVD\Decoding\MPEG2DEC\MPEG2DEC.dll" )
mpeg2source("D:\SHREK\VIDEO_TS\shrek.d2v")
BilinearResize(704,352,0,0,720,480)
TemporalSmoother(1,2)
AddBorders(0,64,0,64)
#Trim(0,130390).FadeOut(150)
#ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons
#== If you want this 'fix' permanently, edit the INI-file:
#== Under [AVSscript] set the CCEcrashfix-option to
#== CCEcrashfix=1

When I used the d2v directly with 1:1 VGA out in Tmpgenc with 16:9 525Line Source the aspect is fine. After demux and remux as SVCD, on the TV the picture quality is amazing but it chops every once in a while. I'll try upping the min bitrate but I don't think that's the problem.

Spyglass
Reply With Quote
  #10  
06-03-2002, 08:59 PM
Spyglass Spyglass is offline
Free Member
 
Join Date: Apr 2002
Location: Canada
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag,

I upped the min bitrate to 600. The thing finally worked, and WOW! Kwag, it finally looks the way it should, and damn what a job you did.

Summarizing all the stuff I did to get this going properly:

1. Dvd Rip - Shrek with DVD Decrypter
2. DVD2AVI - Forced Film, Preview = 16:9 Progressive
3. Tmpgenc - .d2v input (not .avs), 704x480 1 CD template,
Source aspect ratio = 16:9 525 Line (NTSC) not 16:9 Display
There were some sizing issues with 16:9 Display, no clue y.
Video Arrange - Full Screen (Keep aspect ratio)
Video Streaming Setting, Aspect ratio - 1:1 VGA
CQ min 600 bitrate, or MVBR min 600 bitrate (both work nice)
VBV buffer size - 48 (I tried a bunch like kwag suggested,
but didn't make a difference on my player unless I was
under 20.)
4. Tmpgenc - demux mpeg
5. bbmpg - remux mpeg as SVCD
6. DVD Player - Sylvania DV2000 - equivalent to GPX DV2000 and one
more, check VCDhelp.com under sylvania make.

Thanks Kwag and this awesome forum! Time for me to encode the full movie and see if it fits on one disc!

Spyglass.

P.S. The regular kvcd template doesn't work, need to remux as svcd. Mvbr plays as a vcd but only green blocks on screen, audio fine. So no matter what I've tried, always have to remux on this player.
Reply With Quote
  #11  
06-04-2002, 12:50 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
Hey Spyglass:

Glad you finally got it working
Does this mean that your player does play correctly at 704x480 but not at 352x480?.

kwag
Reply With Quote
  #12  
06-04-2002, 03:40 PM
Spyglass Spyglass is offline
Free Member
 
Join Date: Apr 2002
Location: Canada
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag

I'll try tonight with the regular template at 352x480 and remux as SVCD, maybe it will work.

Spyglass
Reply With Quote
  #13  
06-06-2002, 01:18 PM
Spyglass Spyglass is offline
Free Member
 
Join Date: Apr 2002
Location: Canada
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
I did the remux to svcd after encoding with a min bitrate at 600 on a one minute sample, and the quality was excellent and video was smooth. ( It was choppy at 300) But now when I coded the full movie its choppy. I don't get it. Any ideas?

Spyglass.
Reply With Quote
  #14  
06-06-2002, 01:33 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
Could it be that when you encoded the complete movie, you encoded it again with the MIN=300?
I mention this, because it has happened to me

kwag
Reply With Quote
  #15  
06-06-2002, 04:42 PM
Daagar Daagar is offline
Free Member
 
Join Date: May 2002
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Could you explain the need for the demux/remux as svcd step?
Reply With Quote
  #16  
06-06-2002, 04:44 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 Daagar
Could you explain the need for the demux/remux as svcd step?
It's all in this thread. Discussions and links.
http://www.kvcd.net/forum/viewtopic....01db3238b7ac53

kwag
Reply With Quote
  #17  
06-07-2002, 05:46 AM
Bigswaffo Bigswaffo is offline
Free Member
 
Join Date: Apr 2002
Location: Tejas
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
Hey Kwag,
I demux/remux using TMPGEnc and bbmpg. With TMPGEnc I raised the min. bitrate to 600. This said, it still doesn't work. What could be the problem? The only thing changed in the template was the bitrate, and all steps were followed on VCDHelp.com and this forum for bbmpg.
Reply With Quote
  #18  
06-07-2002, 09:33 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 Bigswaffo
Hey Kwag,
I demux/remux using TMPGEnc and bbmpg. With TMPGEnc I raised the min. bitrate to 600. This said, it still doesn't work. What could be the problem? The only thing changed in the template was the bitrate, and all steps were followed on VCDHelp.com and this forum for bbmpg.
Did you try the kvcdx2 template, which is 704x480, to see if it works?

kwag
Reply With Quote
  #19  
06-07-2002, 12:02 PM
Spyglass Spyglass is offline
Free Member
 
Join Date: Apr 2002
Location: Canada
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag,

I thought that as well ( about reencoding with 300) but I am pretty sure that it was still 600. I'm going to try a 10 minute sample and see what happens. A problem that I ran into with the file was when I tried to read it into bbmpeg it had a problem and bbmpeg would give an error about not being able to read header on file. I remuxed it in TMPGenc as SVCD. Perhaps that was the problem? Is there a difference in how bbmpeg and tmpgenc remux as SVCD?

Daagar,

Some players have a problem playing variable bit rates as VCD's but are able to handle it if it thinks that it is an SVCD. My player (Sylvania DV2000) is one such.

Spyglass
Reply With Quote
  #20  
06-07-2002, 06:12 PM
Bigswaffo Bigswaffo is offline
Free Member
 
Join Date: Apr 2002
Location: Tejas
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Did you try the kvcdx2 template, which is 704x480, to see if it works?

kwag
No, what would be the difference. Doesn't this work on both templates?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Is AverTV much worse than PVR-250 ? bman Video Capturing / Recording 5 11-20-2003 03:06 AM
KVCD: no success? quality worse than original? D Rated Video Encoding and Conversion 0 07-08-2003 08:58 AM
KVCD looked a lot worse than video on computer? kinggee Players, DVRs, Media Centers 7 07-01-2003 02:13 AM
If I record straight to MPEG 1 instead of AVI, do I even need TMPGenc? bsbeck Video Encoding and Conversion 2 12-29-2002 07:54 PM
kvcd: Why is there a smaller resolution with a bigger filesize and worse quality? a_star62 Video Encoding and Conversion 0 11-22-2002 01:22 AM

Thread Tools



 
All times are GMT -5. The time now is 09:26 AM  —  vBulletin Jelsoft Enterprises Ltd