digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: Good Idea to increase compression? (http://www.digitalfaq.com/archives/encode/2380-kvcd-good-idea.html)

Gaudi 01-27-2003 09:45 PM

Good Idea to increase compression?
 
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

jorel 01-27-2003 11:34 PM

Gaudi,
yes i remember,i read this before...
but don't have knowledge to do some.
waiting with you,maybe it could be usefull! :wink:

Gaudi 01-27-2003 11:46 PM

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

rendalunit 01-28-2003 02:25 AM

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

Latexxx 01-28-2003 03:54 AM

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.

Gaudi 01-28-2003 07:30 AM

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

Sure, only it does that for the whole movie. I mean aplying different CQ/BR to different parts according to their complexity.

kwag 01-28-2003 09:18 AM

Quote:

Originally Posted by Latexxx
The only disadvantage is that it tooks two times more time than encoding single pass.

And also looks worse :D
Here: http://www.kvcd.net/forum/viewtopic....=asc&start=195 and the screenshots are on the following page :wink:

-kwag

kwag 01-28-2003 09:21 AM

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" :wink:

-kwag

Gaudi 01-28-2003 11:10 AM

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

kwag 01-28-2003 11:22 AM

Quote:

Originally Posted by Gaudi
We could even apply different GOPs perhaps to different parts. Or use the LBR selectively.

Gaudi

VBR + VGOP 8O
Not so sure that DVD players will like that :roll:

-kwag

Latexxx 02-04-2003 04:12 AM

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 :D
Here: http://www.kvcd.net/forum/viewtopic....=asc&start=195 and the screenshots are on the following page :wink:

-kwag

Didn't know that! I just tought it would be the same thing than with cce.

GFR 02-04-2003 05:10 AM

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 8O
Not so sure that DVD players will like that :roll:

-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.

kwag 02-04-2003 11:17 AM

Quote:

Originally Posted by GFR
Quote:

Originally Posted by kwag

VBR + VGOP 8O
Not so sure that DVD players will like that :roll:

-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 :roll:

-kwag


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