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:

kwag 06-07-2002 06:59 PM

Quote:

Originally Posted by Bigswaffo
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:

Some players don't like 352x480(576), but they play 704x480(576) perfectly.

kwag

Bigswaffo 06-07-2002 09:17 PM

Quote:

Some players don't like 352x480(576), but they play 704x480(576) perfectly.
Sorry Kwag if I lead you in the wrong direction. I'm viewing these on my computer. Anyway, I tried the KVCDx2 template and the exact same thing happened. :cry:

Bigswaffo 06-10-2002 10:02 AM

Kwag,
I decided to try an AVS on something besides A Clear and Present Danger. I tried it on MASH, and it worked beautifully. Anybody else who had this problem, were the movies encoded with Divx 5? Just trying to find out what causes this... :D

Spyglass 06-15-2002 10:36 AM

@Bigswaffo

Running the avs script on a DVD VOB rip on Shrek didn't work for me at all. The picture quality is bad. Same for Harry Potter. Any ideas yet? I'll keep trying with the avs script because sometimes i can get the aspect ratio to look right and sometimes not.

spyglass.

kwag 06-15-2002 11:03 AM

Quote:

Originally Posted by Spyglass
@Bigswaffo

Running the avs script on a DVD VOB rip on Shrek didn't work for me at all. The picture quality is bad. Same for Harry Potter. Any ideas yet? I'll keep trying with the avs script because sometimes i can get the aspect ratio to look right and sometimes not.

spyglass.

Hi spyglass:

Make sure you're using the latest version of AviSynth. Also check your MPEG2DEC.dll version. That's very important.

kwag

Bigswaffo 06-15-2002 12:09 PM

@Spyglass
I'm sorry to say I don't see any patterns. :( I did it with a divx5 (which I thought might be the problem) download. But, I tried it with MASH (which is encoded with divx3) and it worked fine, except I get the illegal floating decimal point error thing.

@Kwag
Thanks for helping me with logging in. It works just fine now. :D

Spyglass 06-16-2002 09:36 AM

@Kwag

I think I'm using the latest version of the mpeg2dec.dll (August 16, 2001) file. I think the AVISYNTH v1.0beta6 is the latest.

Could you make a new topic on the main forums page about Software? and perhaps post the versions of the different software you are using?

Spyglass.

Daagar 06-16-2002 02:44 PM

If it helps, you can try grabbing DVD2SVCD. It includes 'good' versions of all the necessary software (minus TMPGEnc) that one typically needs (including mpeg2dec.dll, avisynth, bbmpeg, etc.). It can also be used to basically automate the whole conversion process (don't let the name fool you, it works for vcd as well, and even avi conversions).

MoovyGuy 06-17-2002 08:23 AM

Hi Kwag,

I saw you mention ensuring versions of AVISynth and MPEG2DEC.DLL.

I have my MPEG2DEC.Dll from the DVD2SVCD rippack and I've pointed FITCD at it, but when I open an .d2v file I get an incomprehensible German error message.

Am I using the right DLL ?

kwag 06-18-2002 12:55 AM

Quote:

Originally Posted by MoovyGuy
Hi Kwag,

I saw you mention ensuring versions of AVISynth and MPEG2DEC.DLL.

I have my MPEG2DEC.Dll from the DVD2SVCD rippack and I've pointed FITCD at it, but when I open an .d2v file I get an incomprehensible German error message.

Am I using the right DLL ?

Hi MoovyGuy:

My MPEG2DEC dll's size is 188,416 bytes and the date stamp is 03/24/2002.
Hope this helps.

kwag

bman 06-18-2002 02:25 AM

Quote:

Originally Posted by Spyglass
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

Hi spyglass !

Of course there is a difference in how bbmpeg and tmpgenc remux as SVCD a huge difference !!!
And it's noticable , is it ???
ONE WORKS PERFECTLY and another .....
Remux with TMPGenc is not presice as with bbMPEG and reason is small bug in buffer size that TMPGenc produses . They write SVCD headers in differnt ways too , so file remuxed with TMPG isn't recognised with bbMPEG and vice versa .
There is lot of info on web about this .

bman

MoovyGuy 06-19-2002 07:43 AM

Quote:

Originally Posted by kwag
Hi MoovyGuy:

My MPEG2DEC dll's size is 188,416 bytes and the date stamp is 03/24/2002.
Hope this helps.

kwag


OK I'll check it tonight and let you know.

By the way, where did your copy of the MPEG2DEC dll come from? I ask because maybe the version I am using is from the wrong source 8O .....

Thanks

kwag 06-19-2002 09:33 AM

Quote:

Originally Posted by MoovyGuy
Quote:

Originally Posted by kwag
Hi MoovyGuy:

My MPEG2DEC dll's size is 188,416 bytes and the date stamp is 03/24/2002.
Hope this helps.

kwag


OK I'll check it tonight and let you know.

By the way, where did your copy of the MPEG2DEC dll come from? I ask because maybe the version I am using is from the wrong source 8O .....

Thanks

Frankly, I don't remember now 8O But download the one here: http://www.divx-digest.com/software/avisynth.html
I just tried it, and it works.

kwag

MoovyGuy 06-19-2002 12:44 PM

Hey Kwag,

Great, I just DL'd them. I'll make sure these are the ones I use when I get home tonight.

Thanks again.. :D

MoovyGuy 06-19-2002 09:31 PM

Kwag;

I must be an idiot. 8O I don't know what I'm doing wrong, but I cannot load a .d2v file into fitCD. I still get that funky german error message ....

:?: :?: :?: :?: :?:

kwag 06-20-2002 12:24 AM

Quote:

Originally Posted by MoovyGuy
Kwag;

I must be an idiot. 8O I don't know what I'm doing wrong, but I cannot load a .d2v file into fitCD. I still get that funky german error message ....

:?: :?: :?: :?: :?:

Just for the hell of it, have you tried another version of DVD2AVI?

kwag

MoovyGuy 06-20-2002 10:11 AM

Quote:

Originally Posted by kwag
Just for the hell of it, have you tried another version of DVD2AVI?
kwag

Duhhhh :roll: , nope didn't think of that. I have a couple of different versions that I can try. I'll let ya know ...

What version do you use ?

Timberwolf 06-20-2002 12:02 PM

Have you tried the latest? Version 1.77 I think?

MoovyGuy 06-20-2002 12:52 PM

I don't think I have.

I've been using an offshoot as it had solved an unrelated problem that I had been having.

I do have that version, but have not actually installed it.

I'll give it a shot ......

Thanks -- I'll let ya'll know how I make out... :)

MoovyGuy 06-20-2002 09:18 PM

Boy, you know ... I'm feeling just a little slow ...

I've loaded up v1.77.3 of DVD2AVI and now FitCD is very happy :lol: .
Thanks to Kwag & Timberwolf.

Buuuuuuuuuut, now TMPGenc says that it dunno what to do with an .AVS file for source input. 8O

There was another thread here that I believe explained how to fix that but I cant find it. :cry: .

So like I said, I must be a little sloooooooww. How do I fix this please.

Thanks


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