Quantcast KVCD: Good Idea to Increase Compression? - digitalFAQ.com Forums [Archives]
  #1  
01-27-2003, 09:45 PM
Gaudi Gaudi is offline
Free Member
 
Join Date: Dec 2002
Location: Buenos Aires, Argentina
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Gaudi
Some time ago I posted this, and this post remained lost. But the other day I came across with the same idea. Is it feasible?

Would like the gurus in here to give some hint on this idea.

Quote:
Originally Posted by Gaudi
I have come across a good idea, despite the fact I am not proficient in programming.

Perhaps someone out there can do something with it.

First of all. I know very little about compressing and the like. But I think that the bitrate of a scene, provided CQ_VBR is a good index of its action or complexity. Perhaps there are some other methods.

Ok, here is then the idea:
Why donīt encode small clips of the movie, lets say 10 seconds every 1 to 3 minutes (perhaps we could impement some scene change detection here to include complete scenes in each clip avoiding splitting). We can easily do this with a small soft that automates a creation of an avisynth script, sends the commandline to TMPEG, waits for the encoding to complete, and then checks the file size.
We can do this for every sample in the movie, and can the build a "complexity" vs time graph. If we account for the sample to be representative of every clip, then we will have some idea on how to set CQ (or bitrate) for different parts of the movie.

We can then repeat the encoding but this time for each clip (not just the sample) setting different CQ and/or bitrate settings for each one. We will the come to a series of clips or "parts" that will have to be joined together.

No problem with that. And the audio will be ok because it uses CBR.


Perhaps someone can do a small test to check results. I myself will try to do something in excel this weekend to check what comes out.


Another aproach could be to use bitrate viewer and export the data for each clip after encodign the whole movie.


Hope this idea is a good one to trigger some development in this area.


Gaudi

Many thanks

Gaudi
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-27-2003, 11:34 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Gaudi,
yes i remember,i read this before...
but don't have knowledge to do some.
waiting with you,maybe it could be usefull!
Reply With Quote
  #3  
01-27-2003, 11:46 PM
Gaudi Gaudi is offline
Free Member
 
Join Date: Dec 2002
Location: Buenos Aires, Argentina
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Gaudi
With some little help on how to control TMPGEnc from command line, I might be able to do something.

Anyhow, I will be waiting for some post with more info.

Thanks.


Gaudi
Reply With Quote
  #4  
01-28-2003, 02:25 AM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Gaudi
Why donīt encode small clips of the movie, lets say 10 seconds every 1 to 3 minutes (perhaps we could impement some scene change detection here to include complete scenes in each clip avoiding splitting). We can easily do this with a small soft that automates a creation of an avisynth script, sends the commandline to TMPEG, waits for the encoding to complete, and then checks the file size.
This is what ACP does
Reply With Quote
  #5  
01-28-2003, 03:54 AM
Latexxx Latexxx is offline
Free Member
 
Join Date: Jun 2002
Location: Tampere, Finland
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Have you guuuys heard about 2-pass vbr??? Exact the filesize you want. The only disadvantage is that it tooks two times more time than encoding single pass.
Reply With Quote
  #6  
01-28-2003, 07:30 AM
Gaudi Gaudi is offline
Free Member
 
Join Date: Dec 2002
Location: Buenos Aires, Argentina
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Gaudi
Quote:
Originally Posted by rendalunit
Quote:
Originally Posted by Gaudi
Why donīt encode small clips of the movie, lets say 10 seconds every 1 to 3 minutes (perhaps we could impement some scene change detection here to include complete scenes in each clip avoiding splitting). We can easily do this with a small soft that automates a creation of an avisynth script, sends the commandline to TMPEG, waits for the encoding to complete, and then checks the file size.
This is what ACP does
Sure, only it does that for the whole movie. I mean aplying different CQ/BR to different parts according to their complexity.
Reply With Quote
  #7  
01-28-2003, 09:18 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 Latexxx
The only disadvantage is that it tooks two times more time than encoding single pass.
And also looks worse
Here: http://www.kvcd.net/forum/viewtopic....=asc&start=195 and the screenshots are on the following page

-kwag
Reply With Quote
  #8  
01-28-2003, 09: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 Gaudi

Sure, only it does that for the whole movie. I mean aplying different CQ/BR to different parts according to their complexity.
That's exactly what CQ does. It changes bit rate in different parts of the movie based on a "quality" treshold. That's the definition of "Constant Quality"

-kwag
Reply With Quote
  #9  
01-28-2003, 11:10 AM
Gaudi Gaudi is offline
Free Member
 
Join Date: Dec 2002
Location: Buenos Aires, Argentina
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Gaudi
Quote:
Originally Posted by kwag
That's exactly what CQ does. It changes bit rate in different parts of the movie based on a "quality" treshold. That's the definition of "Constant Quality"

So, what about then on changing the bitrate. Wouldnīt that help compress more the low detail parts and less, with better quality the high action/high detail scenes?
We could even apply different GOPs perhaps to different parts. Or use the LBR selectively.

Gaudi
Reply With Quote
  #10  
01-28-2003, 11:22 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 Gaudi
We could even apply different GOPs perhaps to different parts. Or use the LBR selectively.

Gaudi
VBR + VGOP
Not so sure that DVD players will like that

-kwag
Reply With Quote
  #11  
02-04-2003, 04:12 AM
Latexxx Latexxx is offline
Free Member
 
Join Date: Jun 2002
Location: Tampere, Finland
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Quote:
Originally Posted by Latexxx
The only disadvantage is that it tooks two times more time than encoding single pass.
And also looks worse
Here: http://www.kvcd.net/forum/viewtopic....=asc&start=195 and the screenshots are on the following page

-kwag
Didn't know that! I just tought it would be the same thing than with cce.
Reply With Quote
  #12  
02-04-2003, 05:10 AM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Quote:
Originally Posted by Gaudi
We could even apply different GOPs perhaps to different parts. Or use the LBR selectively.

Gaudi
VBR + VGOP
Not so sure that DVD players will like that

-kwag
I guess if you check "scene detect" you end with VGOP - altough the number of B's is fixed the total GOP length is variable as you may insert an I anytime needed.
Reply With Quote
  #13  
02-04-2003, 11:17 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 GFR
Quote:
Originally Posted by kwag

VBR + VGOP
Not so sure that DVD players will like that

-kwag
I guess if you check "scene detect" you end with VGOP - altough the number of B's is fixed the total GOP length is variable as you may insert an I anytime needed.
Yes, that's true. But I think some players (wrongly designed) might have sync issues with scene change detect and a long GOP. Maybe, that's just a guess

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Good idea to install post-processor filters? rs008f Video Encoding and Conversion 1 02-25-2004 04:47 AM
Avisynth: Good compression? muhali3 Avisynth Scripting 10 10-14-2003 05:18 PM
CQ vs bitrate - does that increase the compression? ak47 Video Encoding and Conversion 13 03-21-2003 09:24 AM
TMPGEnc: Is noise reduction a good idea? Reno Video Encoding and Conversion 5 01-06-2003 06:05 AM
TMPGEnc: Sharpen filter good idea to use? mfb Video Encoding and Conversion 1 12-11-2002 07:54 PM

Thread Tools



 
All times are GMT -5. The time now is 01:18 PM  —  vBulletin Đ Jelsoft Enterprises Ltd