Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-2 Encoding

Reply
 
Thread Tools Display Modes
Old 7th April 2005, 11:34   #1  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,260
QuEnc 0.59 Beta 3

QuEnc 0.59 Beta 3
http://nic.dnsalias.com

And here I go again, trying to get another stable Beta before making a proper 0.60 release.

Changes:
  • Better stability (In theory)
  • Always encodes the selected AR for MPEG-2
  • Can now automatically do two passes to create both a separate audio and video file
  • Now creates Muxed MPEG files with compliant PTS/DTS/SCR Values
  • Has updated DragonGodz QLB 1.2 Matrix
  • Has new mini DVD Authoring Mode
  • Fixed irritating bug when doing a 2pass low frame count and low bitrate encode (again!)
  • General fixes for things like audio encoding, etc
Let me know how you get on with this version. Rate control has seemed OK in my tests. Which I don't quite understand So let me know if it still does stupid things in that respect.

Cheers,
-Nic
Nic is offline   Reply With Quote
Old 7th April 2005, 12:41   #2  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,453
Very nice Nic, thanks for the new version!

Can't test it yet but will sure do so when I'm back home - let's see if I find something interesting to encode

Keep up the good work,

Cheers
Koepi
Koepi is offline   Reply With Quote
Old 7th April 2005, 22:59   #3  |  Link
guada 2
Registered User
 
Join Date: Feb 2005
Location: Lyon
Posts: 718
Hello NIC,

It is a good news but I think that you intend to go beyond.
See you again.
guada 2 is offline   Reply With Quote
Old 8th April 2005, 00:51   #4  |  Link
nDman
Registered User
 
Join Date: May 2004
Posts: 15
thanks, nice update
nDman is offline   Reply With Quote
Old 8th April 2005, 03:10   #5  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 2,978
Would it be possible for Doom9 to make an MPEG2 comparison between QuEnc, HC-12 and CCE SP/Basic?
Chainmax is offline   Reply With Quote
Old 8th April 2005, 03:19   #6  |  Link
TheCreamCrackerBoy
Registered User
 
Join Date: Jan 2004
Location: Brazil
Posts: 74
If we're talking about a codec shoot-out, i suggest trying Canopus Procoder 2. The MPEG-2 encoding results, IMHO, are better than CCE-SP (less blocking).

[]'s

The Cream Cracker Boy.
TheCreamCrackerBoy is offline   Reply With Quote
Old 8th April 2005, 03:26   #7  |  Link
video_magic
Registered User
 
Join Date: Jan 2005
Posts: 308
Interesting cryptic comment about the rate-control, would you explain it please Nic?
I guess it could mean that you had worked on putting some rate-control code in - which is the main thing I at least wanted
Is it from Peter Cheat & your comments meant that the code works but you don't quite know how it is working?

Thanks as always Nic.
__________________
Thankyou!, I am grateful for any help
video_magic is offline   Reply With Quote
Old 8th April 2005, 06:05   #8  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,789
Quote:
I guess it could mean that you had worked on putting some rate-control code in
well i know he changed the rate control settings a bit based on other changes i had made in earlier versions. so that part is simply settings change and not "in code". other than that Nic will have to answer.

Quote:
your comments meant that the code works but you don't quite know how it is working?
there have been people that have encoded with DVD-Rebuilder, for example, using QuEnc that have got largeish undersizing. Nic has not experienced this with his tests so doesnt know why they do. so maybe these changes could help them....or not.
__________________
Narrator: And of course, with the birth of the artist came the inevitable afterbirth - the critic. (History of the World part 1)
dragongodz is offline   Reply With Quote
Old 8th April 2005, 09:19   #9  |  Link
shirohamada
Registered User
 
Join Date: Mar 2004
Posts: 32
i've encountered large undersizing many times.
i mainly encodes anime, once a tv series, ad that turn outperfectly sized.

mostly are 480x480 svcd, and 704x480 letterboxed material.

my temporary solution is using 6of9 matrix. well, quality, its better than the undersized ones, less ringing and mosquito noise for 2 episode 24 minutes each.
when you go for a 3 episode,it starts to block on fast scenes, well pretty much expected.

so its easily compressed.


question,
is it possible capped the bitrate for constant quant encoding, like forcing it to a lower quant when its over the limit ?
reason, svcd playback on my machine will only works perfectly below 6400kbps.
though getting a dvd burner is the better option.
shirohamada is offline   Reply With Quote
Old 8th April 2005, 09:50   #10  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,260
@video_magic: Normally, when I do tests with QuEnc, it's pretty obvious to see that sometimes the bitrate spikes horribly about the max bitrate, or grows in a strange way, etc. I didn't spot any of that in my tests, even though I haven't really changed anything So, I'm not sure if it still has those problems or not.

So if you get horrible bitrate spikes or real bad undersizes with this latest version let me know. (Or any other bugs).

Cheers,
-Nic
Nic is offline   Reply With Quote
Old 9th April 2005, 00:24   #11  |  Link
freelock7
High beam
 
freelock7's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 290
Quote:
So if you get horrible bitrate spikes or real bad undersizes with this latest version let me know. (Or any other bugs).
I noticed that a VBR2Pass encoding above 5000kbs with a max bitrate=8000 create a lot of bitrate spike not controled by QuEnc (10.500kbs). The quantizer doesn't fluctuate enough and stay at 2.
This bug is not present in first pass (correct high bitrate).
When you encode a VBR2Pass at 3000 or 4000, the quantizer works better and you don't see any more bitrate spike.
(tested on RE_2_Apocalypse, QuEnc059b3).

Last edited by freelock7; 9th April 2005 at 10:34.
freelock7 is offline   Reply With Quote
Old 9th April 2005, 03:29   #12  |  Link
kitsaros2000
Registered User
 
Join Date: Apr 2002
Posts: 58
quenc beta 3 has serius problems with vcd - mpeg1 stuff ! Quenc produces m1v that will not play with vcd players . Beta 2 worked perfectly !
Thx

Last edited by kitsaros2000; 9th April 2005 at 03:43.
kitsaros2000 is offline   Reply With Quote
Old 9th April 2005, 12:20   #13  |  Link
Nocturno
Registered User
 
Join Date: Oct 2001
Posts: 116
i just finished a test with a PAL source:
source is an xvid upsize to dvd

Quenc.exe -i "D:\avi2dvdtemp\Movie0.avs" -o "D:\avi2dvdtemp\Movie0.m2v" -maxbitrate 8000 -b 3836 -2 -aspectratio 16:9 -gopsize 12 -mpeg2 -vbr -hq -scene -priority 3 -nointerlaced -cmatrix "C:\Program Files\avi2dvd\matrix\Standard.txt" -mpeg2mux noaudio -auto -close

2-pass, avg bitrate @ 3836 max @ 8000
bitrate viewer told me:

Peak: 8836
avg: 3746
some peaks above 8000 (8196)
one at 8710


Num. of picture read: 112213
Stream type: MPEG-2 MP@ML VBR
Resolution: 720*576
Aspect ratio: 16:9 Generic
Framerate: 25.00
Nom. bitrate: 8000000 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 8
Pic. structure: Frame
Field topfirst: No
DCT type: Frame
Quantscale: Linear
Scan type: ZigZag
Frame type: Progressive
Notes:

i don't have the dvdauthor log, cause i automated my process.

so still some peaks, althoug in this case to few(low) to trip up dvd authoring. as the audio is mp2 @ 192 it's not above dvd spec i guess.

will try with bitrate set higher to see if spikes go above 10000 like last time i tried an encode with avg around 6200.
__________________
I don't Stumble trough the Darkness,
I Do not fear the night.
I Walk these streets in comford,
It makes my dreams subside..
Nocturno is offline   Reply With Quote
Old 9th April 2005, 14:20   #14  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,260
@Nocturno & FreeLock: do you get the same bitrate spikes if you just do a simple 1 pass? I think it might be two pass that's causing the errors.

@kitsaros2000: Weird?! Can't think what's changed. I'll look into that (dgz: Got any ideas?) I've changed something when making a VCD MPEG (video and audio combined), but not a VCD m1v.
Nic is offline   Reply With Quote
Old 9th April 2005, 15:32   #15  |  Link
timeismoney
Registered User
 
Join Date: Mar 2004
Location: Harbin
Posts: 77
A friend of mine use this latest version to compress a clip (Source: DV), with Q5 and Max bitrate at 9800, but the target clip is highly oversized, the grab is attached here.



This problem exist in almost all of the recent versions.
__________________
Life? Enjoy it!

Last edited by timeismoney; 9th April 2005 at 16:48.
timeismoney is offline   Reply With Quote
Old 9th April 2005, 18:13   #16  |  Link
Fishman0919
Stinkin' up the place!!
 
Fishman0919's Avatar
 
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,063
Is any one else getting undersizing with .59 b3. I'm in the middle of doing an encoder test with CCE SP 2.70, Procoder 1.5, HC Encoder and QuEnc ##... I was using QuEnc .54 because it was hitting the target size perfectly but any ver of QuEnc .59### undersizes.

Ex. of one clip undersizing, first 2500 frames of Elektra @3500k

CCE Sp 2.70.02 - 44,430
Procoder 1.5 - 44,546
HC Encoder - 44,648
QuEnc .59b3 - 39,725

5 other clips are about the same undersizing


with DVD-RB .82 pro, whole movie of Elektra

CCE Sp 2.70.02 - 4.35
Procoder 1.5 - 4.34
HC Encoder - 4.29
QuEnc .59b3 - 3.98
__________________
"Cinderella story. Outta nowhere.
A former greenskeeper, now,
about to become the Masters champion.
It looks like a mirac…
It's in the hole! It's in the hole! It's in the hole!"
Fishman0919 is offline   Reply With Quote
Old 9th April 2005, 19:33   #17  |  Link
freelock7
High beam
 
freelock7's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 290
Quote:
do you get the same bitrate spikes if you just do a simple 1 pass? I think it might be two pass that's causing the errors.
No. First pass is correct.
Especialy with this movie (the original RE_2 is encoded in CBR =6400 with a constant_quant=2), QuEnc is unable to process some complex scenes with the quantizer which stay too linear.

Quote:
Is any one else getting undersizing with .59 b3.
The undersizing prediction is still there caused by the quant=2.

Last edited by freelock7; 9th April 2005 at 22:42.
freelock7 is offline   Reply With Quote
Old 10th April 2005, 03:14   #18  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,789
Quote:
dgz: Got any ideas?
did some .m1v encode using 0.59beta and 0.59beta 3. hmm 0.59b plays fine and loads in mpeg stream eye fine. 0.59b3 wont play(picture window of MPC doesnt open, not using internal mpeg1 decoder) and mpeg stream eye crashes when trying to load.
compared them bitwise and using 1 pass there is a constant difference meaning at regular intervals. 2 pass shows massive change so no good for comparison.
loaded in to bitrateviewer does show something interesting. aspect ratio, 0.59b says "1:1" while 0.59b3 says "unkown 0" so i would say this is the likly cause.

Quote:
with Q5 and Max bitrate at 9800, but the target clip is highly oversized, the grab is attached here.
Constant Quant encoding does not respect max bitrate as it would have to lower quants sometimes to do so. then it wouldnt be constant quant.

for those with undersizing, how does 0.59beta3 compare to 0.59beta2 ? since Nic made some changes to the rate control settings its important to know if the undersizing became worse or not.
__________________
Narrator: And of course, with the birth of the artist came the inevitable afterbirth - the critic. (History of the World part 1)
dragongodz is offline   Reply With Quote
Old 10th April 2005, 03:20   #19  |  Link
kitsaros2000
Registered User
 
Join Date: Apr 2002
Posts: 58
Nic the m1v dont work even on pc (only the video). The same avs with quenc beta 2 works fine . I m pretty sure that something is going wrong...
Take a look here :
Quenc Beta 2

Quenc Beta 3

Hope that this helps ...
Thx for your effort !

Last edited by kitsaros2000; 10th April 2005 at 03:43.
kitsaros2000 is offline   Reply With Quote
Old 10th April 2005, 03:58   #20  |  Link
hank315
Registered User
 
Join Date: Nov 2003
Location: Netherlands
Posts: 445
@Nic,
Did a quick scan of the bitstream for MPEG1, seems the aspect ratio is written as 0 (bit 57-60, sequence header), hope this helps you solving it...
hank315 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:01.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.