digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Optimal or Girv for Divx encodes? (http://www.digitalfaq.com/archives/encode/5205-optimal-girv-divx.html)

Reno 08-25-2003 07:22 PM

Optimal or Girv for Divx encodes?
 
The subject pretty much sums it up. Which one do you use, and why??

incognito 08-25-2003 07:45 PM

I just so happen to be using this one.
Code:

######################################################################
# Based on Optimized Script to remove DCT Blocks by Girv and DialHot #
######################################################################
##############
# Parameters #
##############
#Use 720 or 352 to KDVD, 528 352 to K(S)VCD
m_width=704
#subtitle="name_of_the_subtitle.smi" # Add a # in the beginning of this line if you
#don't need subtitles.movie="name of the movie.avi"
myoverscan=1 # Test values from 0 to 3 here. Bigger files produce more quality but #a value too big will cause undesirable black borders on your TV.



##########
# script #
##########
AviSource("G:\Ripps\Current\anymovie.avi", false)

#Post-Process
Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.3,seed=5823)
ATC(1,2,4,0.5,false)
TemporalSoften(2,7,7,3,2)
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.5,seed=5823)

#Resize, overscan and borders

gripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=false,dest_anamorphic=false)
GripSize(resizer="lanczosresize")
GripBorders()

#Subtitles #
############
#TextSub(subtitle) # Add a # in the begining of this line if you don't need subtitles.

converttoyuy2()

And damn it looks good.

Reno 08-25-2003 09:08 PM

Looks good. I'll have to try that soon. Re: ATC, is that another avisynth filter or is it already plugged in? Also, will I need any new filters other than those that come with the latest Moviestacker?

incognito 08-25-2003 10:12 PM

You need AVISynth 2.5 along with Blockbuster for 2.5 and ATC. The full guide is here:
http://www.kvcd.net/forum/viewtopic.php?t=5142&start=0
And the filters are here:
http://www.avisynth.org/~warpenterprises/

Enjoy. I know I did. :wink:

Dialhot 08-26-2003 03:15 AM

Quote:

Originally Posted by incognito
I just so happen to be using this one [..] And damn it looks good.

Just two things I did based more on thinking that really on experiment :

1/ do the last blockbuster after the resizing as else this one will crunch some of the noise added by blockbuster and the effect will be less efficient.

2/ the seed used for both blockbuster lines must be different else you have two time the noise on exactly the same pixels off the picture. That's a derivate of random number generation based on a seed.

vmesquita 08-26-2003 09:19 AM

Dialhot,

Great ideas! What value can I use in the second blockbuster as seed? I was thinking about trying BlindPP() before all the filters... Just some extra thoughts...

[]'s
Vmesquita

Dialhot 08-26-2003 09:32 AM

The seed is only a starting point for the randomizer, you can put whatever you want. I use to put "5823" and "5623".

incognito 08-26-2003 09:08 PM

I'm not a pro at writing scripts yet, so it should look like this?
Code:

######################################################################
# Based on Optimized Script to remove DCT Blocks by Girv and DialHot #
######################################################################
##############
# Parameters #
##############
#Use 720 or 352 to KDVD, 528 352 to K(S)VCD
m_width=480
#subtitle="name_of_the_subtitle.smi" # Add a # in the beginning of this line if you
#don't need subtitles.movie="name of the movie.avi"
myoverscan=1 # Test values from 0 to 3 here. Bigger files produce more quality but #a value too big will cause undesirable black borders on your TV.



##########
# script #
##########
AviSource("G:\Ripps\animation.avi", false)

#Post-Process
Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.3,seed=5823)
ATC(1,2,4,0.5,false)
TemporalSoften(2,7,7,3,2)

#Resize, overscan and borders

gripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=false,dest_anamorphic=false)
GripSize(resizer="lanczosresize")
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.5,seed=5623)
GripBorders()

#Subtitles #
############
#TextSub(subtitle) # Add a # in the begining of this line if you don't need subtitles.

converttoyuy2()


Dialhot 08-27-2003 03:46 AM

I think it's ok. You should try without the last convertToYuY2 as I never use it and everything is ok on my PC. It depends on the codec pack you have I guess.

vmesquita 08-27-2003 08:31 AM

DialHot,

Converttoyuy2() is needed for CCE unless you have a yu12 decoder, I guess there is one that comes with FFVFW.

[]'s
Vmesquita

Dialhot 08-27-2003 08:44 AM

yu12 or yv12 ?

Because everything is already in yv12 in your script, no ?

vmesquita 08-27-2003 09:07 AM

DialHot,

Spell error, I meant yv12. Everything in the script is already yv12, but CCE only accepts yuy2 input unless you have a yv12 decoder.

[]'s
Vmesquita

incognito 08-27-2003 10:19 PM

So if I'm using TMPGEnc I don't need
Code:

converttoyuy2()
Cool. Thanks. :D

boeddha 08-28-2003 03:19 AM

I use Girv/Dialhot script and I like the quality very much but there's not so much compression. Has anyone some ideas which filter I can ad to get a smaller filesize without affecting quality. Encoding time doesn't matter.

Thanx

Dialhot 08-28-2003 05:53 AM

Quote:

Originally Posted by boeddha
I use Girv/Dialhot script and I like the quality very much but there's not so much compression. Has anyone some ideas which filter I can ad to get a smaller filesize without affecting quality. Encoding time doesn't matter.

I don't know what you call "not so much compression" but having a MPEG1 KVCD at the end that is the same size than the original MPEG4 avi file, I call that "a godam' good compression" !
With old SVCD we need twice the size in MPEG2 than in MPEG4.

Btw, If you want to drop a little the size, you can change Lanczos resizer to Bicubic (and perhaps then, add a "asharp(1,4)" just after the resizing).

boeddha 08-28-2003 06:22 AM

@ Dialhot

Of course there's "godam good compression" as you say it. What I meant was in comparison with the ma script the filesize (with constant cq) is bigger. So I have to down the cq with something like 4 points in comparison withe the ma script. Maybe this wasn't so clear because my english is not so good. I didn't mean to say that kvcd doesn't give good compression. I asked if there maybe were some filters that could give me some more compression without affecting quality.

You did give me some advise so I will look If change to bicubic will give me some smaller filesize.

thanx

vmesquita 08-28-2003 07:40 AM

boeddha,

The main purpose of the Girv script is kill DCT blocks that are very common in DivX source. Since that is done in part by adding noise, it's hard to getter a better compression than the MA script. But of course we don't want better compression at all costs, we want better compression but also the better picture. I wouldn't mind lowering the CQ if I know that in the end my movie will look better because some of the weekness of the sources has (almost) gone away.
As Dialhot said, you can try bicubic, a less sharp picture will of course be more compressible...

[]'s
Vmesquita

Dialhot 08-28-2003 07:46 AM

You can also do a very slight blur on the luma (slight because MPEG4 already soften a lot).

Try : MergeLuma(Blur(0.1)) after all the other filters (just before resizing).

Reno 08-30-2003 04:44 PM

Hey guys, are you using CQ_VBR or CQ for your encodes? According to Kwag, CQ_VBR is better with Blockbuster...

Dialhot 08-30-2003 05:09 PM

I know what said Kwag about this, but blockbuster is efficient even in CQ mode. Perhaps less efficient, but efficient enought.

So, as already told in an other thread what I use is : CQ_VBR for VCD res and CQ for res above that.


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