Quantcast Avisynth: GOP 12 for Anime? Why Not 30? - digitalFAQ.com Forums [Archives]
  #1  
01-05-2004, 10:02 AM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
I only need answer for this. Why setting GOP to 12 (15) for animes, when GOP 24 (and even 30 for PAL) gives same results with smaller file size? It has some influence on compatybility with standalones?
__________________
Go for SECAM =)
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  
01-05-2004, 10:16 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
Long GOPs for anime give more artefacts around sharp edges.

-kwag
Reply With Quote
  #3  
01-05-2004, 10:55 AM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
This is what I'm talking about. I set GOP for 30 and have preaty less atefacts than with 12. Pure luck or ... ?
__________________
Go for SECAM =)
Reply With Quote
  #4  
01-05-2004, 11:06 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 Hydeus
This is what I'm talking about. I set GOP for 30 and have preaty less atefacts than with 12. Pure luck or ... ?
Depends what you are calling anime
If you are encoding new cartoons, or computer generated, then those are treated as a movie because you don't have the sharp edges that you find in the animes we are talking about. For example the new Disney movies, or movies like "IceAge", should be encoded with the regular long GOPs because they are computer generated. However, things like japanimation and stuff like that, where you can see the strong contrast on the lines, those are candidates for short GOPs.

-kwag
Reply With Quote
  #5  
01-05-2004, 11:14 AM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
And how about Futurama I'm using AVS25x script for DVD, TMPEG, GOP 30 (and will try a higher GOP). Artefacts are almost invisible even in high motion scenes, and comparating to 12GOP, I could say that they don't exist.

Edit: I must go now, but lately I will make few tests and write some more experiences.
__________________
Go for SECAM =)
Reply With Quote
  #6  
01-05-2004, 11:21 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 Hydeus
And how about Futurama
I'm not sure how those are produced

-kwag
Reply With Quote
  #7  
01-05-2004, 11:27 AM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
Futurama is like the simpsons: hard outline filed with uniform color.
I realy mus go now. Later will describe some more results, but I'm writing truth, It's not a joke.
__________________
Go for SECAM =)
Reply With Quote
  #8  
01-05-2004, 11:41 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Hydeus,
you can't see that that generally, cause it depends on your film, the lenght, the treatment, and the original state. So choose what comes out as the best in your case. I think your case is a high AVG Bitrate thing.

I for example did a reencoding on some 480x576 captured Disney "Donald Duck's Christmas" movies on one CDR80, ... amount of movietime was about 110min.
I used a GOP of 1-41-1 !! And everything came out chrystal clear and using Avisynth it appears like a DVD source on the TV, even at 480x576!
No pumping, no artefacts clear.

I defenitely don't want to mix up Kwags GOP recommendation! but only saying to you that all this depends on many many things, ... so do your experiments on your own Source and workout and decide by yourself what comes out as the best for you
Reply With Quote
  #9  
01-05-2004, 12:03 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
I used a GOP of 1-41-1
Aren't you mistaken there the length GOP and the number of P frames ? It seems to me that when you write "1-41-1" you mean 1I 41P and 1B.

Here we are talking about the maximum number of picture in a group (GOP length). That is the "25" in 1-5823-2-1-25 (to take the tmpgenc settings order) and not the "5823".

Do I make any error or isn't that parameter taht we need to change ? (I always changed it )
Reply With Quote
  #10  
01-05-2004, 12:15 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
No I'm not mistaken (sorry I had to be more detailed):

I = 1

P = 41

B= 1

Seq = 1

max GOP = Unlimited

= 84!!! Frames per GOP! (Sounds crazy but I wanted to give an example on a Cartoon (new one) where it ended up very good! Thats what I wanted to point out.

(I also gave you in case of a normal Movie a sample.mpg using these settings in The Indiana Jones Thread of AVG about 450kbit , do you remember? But thats offtopic now))

And the 5382 I know thats the special personal telNumber joke of Kwag.

If you give the 1-5823-2-1 the max of 24 Frames (for example the norm KVCD spec.) that easely could also be written 1-7-2-1-unlimited .... this would also give you a framecount of 24 within a GOP at KVCD specs.

So I was not enough detailed but not mistaken

And yes we where talking about that maxFrames Value. Sorry.
Reply With Quote
  #11  
01-05-2004, 12:23 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
max GOP = Unlimited
Okay, that is the point you didn't mentioned and I didn't catched

Quote:
(I also gave you in case of a normal Movie a sample using these settings in The Indiana Jones Thread, do you remember? But thats offtopic now))
That's right. Didn't notice at the moment that you were using a 84 long GOP ! I thought "41 isn't so much compared to 25"

Quote:
If you give the 1-5823-2-1 the max of 24 Frames (for example the norm KVCD spec.) that easely could also be written 1-7-2-1-unlimited this would also give you a framecount of 24 within a GOP.
That sure ! BTW, the advantage of having a crazy P number is that you can shorten or increase the longer of the GOP by changing the last number without impacting the structure of the GOP itself. It just like make cut and paste of a "IPBBP" pattern.

Quote:
So I was not enough detailed but not mistaken
Reply With Quote
  #12  
01-05-2004, 12:34 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by Dialhot
That sure ! BTW, the advantage of having a crazy P number is that you can shorten or increase the longer of the GOP by changing the last number without impacting the structure of the GOP itself. It just like make cut and paste of a "IPBBP" pattern.
I hope I did understand you well (A nice sentence of mine as I often use it )
Well I personally do my Gop Count by setting only the I,P and B Frames following by a maxGOP=Unlimited. So I do not CUT the IBP Pattern in ints following at the end of the counting.

If you want to keep at least the full structure of the pattern you should use a maxFrames value so that the interval of the pattern is completed (or you could say "round").

And by setting a 1-41-1 / unlimited this got an interval as following:

IBPBPBPBPBPBPBPBPBPBPBPBPBPBP... and so on.

You see in my example I only choosed 1 B frame within the interval/Pattern. Less end-filesize and also a goog effective B Frame intervall as it does work bi-directional. Well, ... watch the sample, but there was also another Matrix of mine used - still betaPhase
Reply With Quote
  #13  
01-05-2004, 04:56 PM
Hydeus Hydeus is offline
Free Member
 
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
ok fellowes Thanks for charming fight Thats realy explains me a lot. You propably now me enought and see that I'm newbie and i experiments alot
As for everybody whow wants to know long gops (~40 as Incedible geschreiben hat ) + ULBR template + ULBR resolution + MPEG1 for cartoons like Futurama, Simpsons, Disneys oldies and so one = very good results. But as always, try youre self, mayby you get better
__________________
Go for SECAM =)
Reply With Quote
  #14  
03-26-2004, 03:25 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Here we are talking about the maximum number of picture in a group (GOP length). That is the "25" in 1-5823-2-1-25 (to take the tmpgenc settings order) and not the "5823".
After many encodes I read recommendations about GOP lenght.
All those encodes were done with a GOP lenght = 24. In spite of it, I'm in PAL area, I have not problem.
Which is the GOP lenght importance?
Reply With Quote
  #15  
03-26-2004, 05:09 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
There is no real diff between 25 and 24.
I always found 25 more convenient for PAL as that make a I frame each second (and so, a possible chapter entry). But that's all

Note: I do not use "Detect Scene Change" else this theory would have been false.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Anime filters? TemplateAVS Avisynth Scripting 32 01-30-2005 12:28 PM
Best Anime Script in Avisynth? hoyahoya Avisynth Scripting 1 09-13-2004 09:49 AM
Avisynth: Anime filter? canon Avisynth Scripting 1 12-16-2003 02:51 PM
Avisynth: I need Anime encoding script BloodAngel Avisynth Scripting 51 10-21-2003 12:32 PM
Avisynth: Anime/Cartoon with 2.5x script? TemplateAVS Avisynth Scripting 2 06-17-2003 03:27 PM

Thread Tools



 
All times are GMT -5. The time now is 12:43 AM  —  vBulletin © Jelsoft Enterprises Ltd