digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: AVS script much worse than the straight movie (http://www.digitalfaq.com/archives/encode/228-kvcd-avs-script.html)

Bigswaffo 06-01-2002 05:26 PM

AVS script much worse than the straight movie
 
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)

kwag 06-01-2002 05:36 PM

Look at your numbers!
You're taking a 546x320 video.
Resizing it to 320x384.
And then blowing it up to 704x480 8O ( 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

Bigswaffo 06-01-2002 07:20 PM

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? :cry:

kwag 06-01-2002 08:22 PM

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? :cry:

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

Bigswaffo 06-03-2002 05:30 AM

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.

Spyglass 06-03-2002 07:30 AM

Re: Crappy Vid Quality with AVS
 
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

kwag 06-03-2002 09:51 AM

Re: Crappy Vid Quality with AVS
 
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

DaDe 06-03-2002 10:22 AM

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.

Spyglass 06-03-2002 08:08 PM

Re: FitCD with bad picture quality
 
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

Spyglass 06-03-2002 08:59 PM

Success Finally!
 
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.

kwag 06-04-2002 12:50 AM

Hey Spyglass:

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

kwag

Spyglass 06-04-2002 03:40 PM

Re: Trying 352x480
 
Kwag

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

Spyglass

Spyglass 06-06-2002 01:18 PM

Re: No Luck
 
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.

kwag 06-06-2002 01:33 PM

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 8O

kwag

Daagar 06-06-2002 04:42 PM

Could you explain the need for the demux/remux as svcd step?

kwag 06-06-2002 04:44 PM

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

Bigswaffo 06-07-2002 05:46 AM

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.

kwag 06-07-2002 09:33 AM

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

Spyglass 06-07-2002 12:02 PM

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

Bigswaffo 06-07-2002 06:12 PM

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? :lol:


All times are GMT -5. The time now is 09:03 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.