Quantcast KDVD and M2vrequantizer - Page 2 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #21  
10-29-2003, 11:19 AM
bman bman is offline
Free Member
 
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
@ Kwag
Sounds like sweet program and it makes me to wonder if is it possible to make MultyPass transcoding with it
I'll try to explane !
Once in not so far past U ( KWAG ) had idea to get bitrates of all movie frames and according them to make new encoding ( or something like this !)
So I'm wondering if we can make first transcode with let's say just 5% factor and simultaniously create LOG file with quantization factors of all frames( on each pass ) .
Then on second Pass during transcoding , program will check values of quant. factors for each frame from LOG file and if quant. factor is still far from optimal he'll transcode with 5% factor .
If value is close to optimal quant. factor ( that we have to find but according VMesquita it have to be close to 30 ) he will skip transcoding of the frame and go to next one - Just to get all quant. factors near optimal factor -To Get best quality especially for high action scenes.
At the and of cycle check file size and if file is still too big than make one more pass and so on.
With little transcoding steps precission will be better .
So meybe transcoding will take 5-6 passes to get wanted file size with accurate quality controll and it will take 10-15 min for each pass - something like 1-1.5 hour to get final transcoded movie .
As we spend about 10-20 minutes for prediction and 4-6 Hr for encoding
1-1.5Hr must be not so bad compromise ( If It's possible to be done ) .
If I'm wrong please correct me
bman
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
  #22  
10-29-2003, 01:44 PM
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
Hi bman,

I think our best quality will be obtained with CQ, as usual.
With TMPEG, CQ is far superior than 2-pass. So it will still be better to make multiple CQMatic runs, and only if file size is above the wanted target, then run Requant to close the gap. CQMatic usually hits 2% to 3% of target most of the times. So even if we run multi passes with CQMatic to find CQ, it's still faster than any X-Pass, with the addition of one very fast last pass with Requant.
The process of [X-CQMatic-Passes->One_Full_Encode->One_Requant_Pass], is still faster than a single 2-pass TMPEG encode, and will give superior quality ( as long as the % of Requant is low, which should be ).
I have my hands tied up this week. Probably next week I'll integrate Requant into CQMatic, and all of this will be automatic

-kwag
Reply With Quote
  #23  
10-31-2003, 05:18 AM
girv girv is offline
Free Member
 
Join Date: Sep 2002
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to girv
Quote:
Originally Posted by kwag
So I assume that I'm correct, that we could go to 10% to 15%, without visual degradation
After much experimentation, the rule of thumb I've developed is that if it will fit with less than 20% compression I'll do it with a transcoder otherwise I will reencode it. IMHO 20% compression is slightly lower quality than the original, 15% and above are, as you say, virtually indistinguishable.

FWIW DVDShrink 3.0b5 in "deep" mode is the best quality transcoder I've found. That might change when Nic invents 2-pass mode for requant...
Reply With Quote
  #24  
10-31-2003, 05:32 AM
GetUp GetUp is offline
Free Member
 
Join Date: Dec 2002
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by girv
Quote:
Originally Posted by kwag
So I assume that I'm correct, that we could go to 10% to 15%, without visual degradation
After much experimentation, the rule of thumb I've developed is that if it will fit with less than 20% compression I'll do it with a transcoder otherwise I will reencode it. IMHO 20% compression is slightly lower quality than the original, 15% and above are, as you say, virtually indistinguishable.

FWIW DVDShrink 3.0b5 in "deep" mode is the best quality transcoder I've found. That might change when Nic invents 2-pass mode for requant...
So, you say DVDShrink 3b5 is BETTER than Nic's ReJig?
Reply With Quote
  #25  
10-31-2003, 05:33 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Does DVDShrink actually work with MPEG-1 Streams too ?
__________________
j3llyG0053
Reply With Quote
  #26  
10-31-2003, 05:53 AM
girv girv is offline
Free Member
 
Join Date: Sep 2002
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to girv
Quote:
Originally Posted by GetUp
So, you say DVDShrink 3b5 is BETTER than Nic's ReJig?
In "deep" mode yeah, I think so, but its much slower. In one pass mode I think ReJig is better quality so Im eagerly waiting for 2-pass ReJig to be created as I think that will fix the quality problems.
Reply With Quote
  #27  
10-31-2003, 05:54 AM
girv girv is offline
Free Member
 
Join Date: Sep 2002
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to girv
Quote:
Originally Posted by Jellygoose
Does DVDShrink actually work with MPEG-1 Streams too ? 8O
No.

DVDShrink only accepts VIDEO_TS folder structures as input. If you can ever even figure how to get mpeg1 into one of those, it probably still wont work ;)
Reply With Quote
  #28  
10-31-2003, 07:44 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
@girv
Actually, if you mux MPEG-1 video as a "DVD non-standard" (or standard, if it's 352x240/28, it should work... You can try muxing using IFOEdit or DVDAuthor (the unix one) and then run throught shrink

@all
I guess nobody payed attention to my post... And I can't find time right now to do the tests. But I still stand on my point: maybe a 5% oversized file transcoded to perfect fit will have the same or worse quality than a 3% undersized file, and this definatelly needs testing. Slightly more DCT data doesn't necessarily means more quality, if the allocation is not optimal.

[]'s
VMesquita
Reply With Quote
  #29  
10-31-2003, 11:03 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
There is a scene in a Futurama that I use for testing that is a takeoff of twilight zone and has a digital clock moving on a black space background. It is very sensitive and, if not near perfect, has small motion jerks.

It is KSVCD at 352x480, interlaced 29.97 (with Incredible's script) and GOP 15. CQ 63.7, minbitrate 766.

I tested Requant at 95, 90, 85, 82.5 and 80%.

Everything stayed smooth thru 82.5%, then started degrading.

I intend to make further tests with Reloaded, but so far, I feel it would be a good addition to CQMatic.

What is the most accurate way to produce a 10% over sized MPEG2 with CQMatic?
Reply With Quote
  #30  
10-31-2003, 11:53 AM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
Try something like the following:

Encode with CQ=70, test1.m2v
Encode again with CQ=65, test2.m2v
(You may use different CQs, that's just an example).

Now shrink test1.m2v to fit the some size in between test2.m2v and test1.m2v. test2(shrunk).m2v will be smaller than test1.m2v bit bigger than test2.m2v.

Then you compare test1(shrunk).m2v with test2.m2v to determine if the smaller, but CQ only file looks better than the bigger but shrunk after CQ file.
Reply With Quote
  #31  
11-01-2003, 07:24 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, I did the tests using CCE:
Created a 1 minute clip from "the lawnmover man"
Encoded with CCE at Q40: size: 19.077kb
Encoded with CCE at Q30: size: 21.884kb -> transcoded with ReJig to 92%, got a result 10% small: 19.813 kb.

Please remember that CCE has a different scale: more Q, less quality.

So if 19.813 were the ideal size, my Q30transcoded sample would be perfect fit and my Q40 sample would be 3% smaller than ideal size.

The results: slow motion scenes, the look about the same. In high motion scenes, the non-trascoded version wins, no doubt about it. There are much more macroblocks in the transcoded version. So a 3% undersized file is better than one transcode to 90% to perfectly fit.

If you want to see for yourself, I posted 4 samples in BMP, to avoid losses in JPEG that would prejudice the test. Remember to zoom them, or they will look about the same to you. Get the samples here:

http://www.jltoca.uaivip.com.br/files/snap_samples.zip

[]'s
VMesquita
Reply With Quote
  #32  
11-03-2003, 06:18 AM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
"Suspeitei desde o princípio!"
Reply With Quote
  #33  
11-03-2003, 09:17 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts



(This quote he wrote is from a mexican TV program "Chapolin", that is shown here in Brazil)

[]'s
VMesquita
Reply With Quote
  #34  
11-03-2003, 09:19 AM
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
Quote:
Originally Posted by GFR
"Suspeitei desde o princípio!"
Reply With Quote
  #35  
11-03-2003, 10:00 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
Quote:
Originally Posted by Jellygoose
Does DVDShrink actually work with MPEG-1 Streams too ?
Yes, you can do that using for example TmpgEnc DVD Author including pre- and post-patching the header to a legal DVD size using DVD patcher.
If you know what to do its fast cause there have to be muxed as VOB only ca. 800MBs!

And by using the latest ShrinkDVD Version its even more precise cause of 1percent shrinking steps in the "shrink" bar.

But I think you know how to do that as it was explained also in ther german forum.
Reply With Quote
  #36  
11-03-2003, 10:59 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 jorel
Quote:
Originally Posted by GFR
"Suspeitei desde o princípio!"
"No contaban con mi astuzia"
Yep, "El Chapulin Colorado", played here in P.R. too

-kwag
Reply With Quote
  #37  
11-04-2003, 05:52 AM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
That's another quote
"Não contavam com a minha astúcia."

My quote was
¡Lo sospeche desde un principio!

I also like some other gems like:
"Não priem cânico!" (Calma, calma que no panda el cúnico)
and
"Foi sem querer querendo." (Fue sin querer queriendo)


In Spanish:

Chapulin:
¡No contaban con mi astucia!
¡Síganme los buenos!
¡Todos mis movimientos están fríamente calculados!
Yo opino...
Ya lo dice el viejo y conocido refrán...
¡Es exactamente lo que iba yo a decir!
Calma, calma que no panda el cúnico
¡Lo sospeche desde un principio!
¡Se aprovechan de mi nobleza!
Mis antenitas de vinil están detectando la presencia del enemigo

Chavo:
¡Bueno pero no se enoje!
¡Eso, eso, eso, eso...!
¡Se me chispoteo!
"Ahora si te toco el ocho"
¡Es que no me tienen paciencia!
Fue sin querer queriendo
¡Zas, zas, que yo jugaba...!



http://www.chavodel8.com/
Reply With Quote
  #38  
11-04-2003, 06:18 PM
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
Reply With Quote
  #39  
11-24-2003, 08:31 AM
rhino rhino is offline
Free Member
 
Join Date: Jan 2003
Location: Back in Ireland (for a while)
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
BTW, the rejig utility has been updated with a more accurate file size output. Can also read ifos, etc. Updates are coming quite regularly and is shaping up to be a nice utility.

Cheers,
__________________
rhino
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KDVD: Vmesquita's K(S)VCD/KDVD Calc 1.1 released! vmesquita Video Encoding and Conversion 21 02-15-2007 08:39 AM
KDVD: TMPGEnc template/Parameters for 352x240 Mpeg2 KDVD rab Video Encoding and Conversion 3 12-31-2006 02:12 PM
KDVD: XViD TV Episodes to KDVD Guide Dassin Video Encoding and Conversion 24 06-28-2006 11:29 AM
KDVD: RatDVD for compressing KDVD backups black prince Video Encoding and Conversion 76 12-20-2005 08:33 PM
KDVD continua ficando azul (divx ---DIKO--> KDVD) el34 Conversão e Codificação de Vídeo (Português) 5 07-27-2004 07:36 AM




 
All times are GMT -5. The time now is 06:31 PM  —  vBulletin © Jelsoft Enterprises Ltd