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 May 2006, 09:50   #1  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,789
QuEnc 0.72

new version is 0.72.

Code:
QuEnc 0.72
----------
.fixed separate not working with -close
.changed will not encode pulldown when interlaced disabled but pulldown enabled
.small tweak to 2 pass ratecontrol
Code:
changes from 0.70 to 0.71
-------------------------
.added 448kbps for audio encoding
.changed CLI parameter error message to timed(4 seconds), compatability with older programs
.added settings, changlog and PSP-IPod texts
.restricted MP2 and MP3 to encode to a maximum of 256kbps even if set higher
.small 2 pass ratecontrol tweaks
Code:
changes from 0.61 to 0.70
-------------------------
.improved 1 pass ratecontrol
.improved 2 pass ratecontrol
.improved ac3 encoding low volume problem
.fixed last frames at constant quant
.fixed if max bitrate higher than target bitrate
.fixed 24fps video encoding
.changed ac3 downmix levels to -3dB and dialnorm to -27dB (Dolbys reccomended settings)
.changed mpeg2mux(cli option) to automatically sets QuEnc to mpeg2 mode
.changed extreme setting to not use trellis, tick manually if you want that aswell
.changed other extreme settings
.changed auto max bitrate to x2 if over 3000kbps
.added mpeg1mux cli option ,automatically sets QuEnc to mpeg1 mode
.added mpeg4mux cli option ,automatically sets QuEnc to mpeg4 mode
.added pulldown option(must use interlaced encoding)
.added mpeg4 video mode(specifically PSP profile compatible)
.added aac audio encoding with mpeg4 mode
.added mp3 audio encoding with mpeg4 and snow modes
.added audiocodec cli options aac and mp3 for mpeg4 mode
.added separate mux option to mpeg2 encoding and mpeg2mux(cli)
.added source properties detection to some better display options
.removed -mpeg1 and -mpeg2 cli options, use their mux options instead
.increase mpeg1 buffer size to 224 if max bitrate over 1800kbps or constant quant
.increased buffer size to 392 if max bitrate over 9800kbps(DVD max)
.exposed snow mode (not reccomended for anything but experimentation)
a small note on the cli error change. while what QuEnc thinks is wrong commands, meaning starting with a - , will use a timed error gui plain rubbish will not. so for example
QuEnc.exe -abcd = timed error gui, QuEnc still runs
QuEnc.exe abcd = non-timed gui, QuEnc reports rubbish on the commandline

warning. do not expect me to answer questions on SNOW or MPEG4. i may do but dont expect it.

QuEnc 0.72 binary and source code can be found here(self extracting archives)
http://quenc.bitburners.com/
QuEnc 0.72 binary and source code can be found here(self extracting archives)
http://dragongodz2.googlepages.com/home

the source code to ffmpeg on bitburners is compressed with a different archiver(to self extracting archive). if you have any problems with it please report so and try the other from my googlepage.

enjoy.
__________________
Narrator: And of course, with the birth of the artist came the inevitable afterbirth - the critic. (History of the World part 1)

Last edited by dragongodz; 25th January 2007 at 15:44.
dragongodz is offline   Reply With Quote
Old 7th May 2006, 10:28   #2  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,187


very nice additions !!

BHH
__________________
HDConvertToX
MicroX264
AutoMen
buzzqw is offline   Reply With Quote
Old 7th May 2006, 14:07   #3  |  Link
Axed
Registered User
 
Join Date: Dec 2004
Posts: 166
Wow, amazing work! Thanks to all who worked on it!
Axed is offline   Reply With Quote
Old 7th May 2006, 15:46   #4  |  Link
Rockas
Ridendo Castigat Mores
 
Rockas's Avatar
 
Join Date: Mar 2003
Location: Portugal
Posts: 1,518
Thank you so much... I can't wait to test all the new stuff
__________________
None is as blind as those that don't listen.

www.dvdrebuilder.com
RME
Rockas Software
Rockas is offline   Reply With Quote
Old 7th May 2006, 16:25   #5  |  Link
A_T
Registered User
 
Join Date: Dec 2005
Posts: 13
thanks
A_T is offline   Reply With Quote
Old 7th May 2006, 16:39   #6  |  Link
danpos
BDVD Team
 
danpos's Avatar
 
Join Date: Dec 2004
Location: Rio de Janeiro - RJ/Brasil
Posts: 306
@Dragongodz

Man, how much work you spend over this version ??? A lot of things was done ... Hmmm, I will give a it a try for sure!

Many thanks for yours time and efforts to deliver it to us.

Kept up,
danpos is offline   Reply With Quote
Old 7th May 2006, 18:04   #7  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,270
cool! i'll try this out ASAP (it's a bit late so i should probably not try it out just yet).

last frames @ constant quant fix sounds good.

[edit]

-mpeg2 from commandline doesn't seem to work anymore? has it been removed?

not a big deal. i changed my auto-batch already
__________________
interlace... right or wrong, just deal with it.

Last edited by Mug Funky; 7th May 2006 at 18:19.
Mug Funky is offline   Reply With Quote
Old 7th May 2006, 18:08   #8  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,409
Looks like somebody is jealous about HCEnc 0.18.

Seriously, thanks for the hard work. I'll definitely be trying this out.
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.
Revgen is offline   Reply With Quote
Old 7th May 2006, 18:41   #9  |  Link
dirio49
JuSt a PoWer uSEr
 
Join Date: Mar 2005
Location: None of your Business
Posts: 259
NIce
thanks
__________________
Birthdays are good. Statistics show that the people who have the most live the longest.
dirio49 is offline   Reply With Quote
Old 7th May 2006, 19:20   #10  |  Link
Zarxrax
Registered User
 
Zarxrax's Avatar
 
Join Date: Dec 2001
Location: Concord, NC
Posts: 950
Wheeeee! I've been waiting for this

Now, here is some problems I'm still having with MPEG1:
I get these strange blocking artifacts at low quants: http://zarxrax.kicks-ass.net/quenc-error.png
This problem seems to have been in the old version too. Trellis and extreme are both disabled. Is this something that could maybe be fixed, or is there a specific quantizer at which these artifacts might begin to appear?

Other than that I still have the same old problems with buffer overflows. I'm getting them even with max bitrates as low as 1800! 1800 can be a decent bitrate for VCD-resolution material, but sometimes I would like to make an mpeg-1 at 640x480 or maybe even higher, and not have to use such a low bitrate that it looks like crap

Last edited by Zarxrax; 7th May 2006 at 19:56.
Zarxrax is offline   Reply With Quote
Old 7th May 2006, 20:52   #11  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,067
There are very good new function in libavcodec:
- new adaptative bframe decision
can save 4-6% of size
- new bframe refine
can save 2-4% of size

example at constant quant q3 (I,P and B)
reference at 2 no adaptive bframe: 2484 Kbps
new adaptative bframe: 2330 Kbps
new bframe refine: 2409 Kbps
combinaison: 2261 Kbps

Combinaison of new adaptative bframe and new bframe refine can save 6-10% of size (more than RDO ... !!?) with exactly the same quality ...

Moreover adaptative bframe is really good for visual quality with less bframe in high motion part. With that you can (IMO you must) choose higher ratio/offset for bframe and higher curve compression quantizer: overall visual quality will be really better. Personnaly for best visual quality I choose light ratio/offset at 0/1 for bframe and Adaptative Quantisation for intra/inter with inter quantizer masking at 25%. For example if intra are q4 then inter block for pframe will be q5 and bframe q6.
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9

Last edited by Sagittaire; 7th May 2006 at 20:56.
Sagittaire is offline   Reply With Quote
Old 7th May 2006, 20:59   #12  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,067
Quote:
Now, here is some problems I'm still having with MPEG1:
I get these strange blocking artifacts at low quants: http://zarxrax.kicks-ass.net/quenc-error.png
This problem seems to have been in the old version too. Trellis and extreme are both disabled. Is this something that could maybe be fixed, or is there a specific quantizer at which these artifacts might begin to appear?
What did you use like CQM?
What is your quant for this frame?
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9
Sagittaire is offline   Reply With Quote
Old 7th May 2006, 22:50   #13  |  Link
Zarxrax
Registered User
 
Zarxrax's Avatar
 
Join Date: Dec 2001
Location: Concord, NC
Posts: 950
Quote:
Originally Posted by Sagittaire
What did you use like CQM?
What is your quant for this frame?
Here is the settings used:
http://zarxrax.kicks-ass.net/quenc-settings1.png
http://zarxrax.kicks-ass.net/quenc-settings2.png

Looks like it happens at quant 1 and 2. I haven't seen it so far on quant 3 or lower.
Zarxrax is offline   Reply With Quote
Old 7th May 2006, 23:02   #14  |  Link
Darksoul71
Can you blush ?
 
Darksoul71's Avatar
 
Join Date: Oct 2001
Location: Northern Europe
Posts: 573
Thnx, dragongodz,

new testing stuff for my multicore / multi CPU frontend for QuEnc

I´ll report back if I feel like I tested enough
Darksoul71 is offline   Reply With Quote
Old 8th May 2006, 01:56   #15  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,789
Quote:
Thanks to all who worked on it!
that would be Nic and i with the pulldown code from mean.

Quote:
-mpeg2 from commandline doesn't seem to work anymore? has it been removed?
i quote from the change log in the first post
Quote:
.removed -mpeg1 and -mpeg2 cli options, use their mux options instead
Quote:
here is some problems I'm still having with MPEG1
i do plan to play with mpeg1 more just not at the moment, so dont think i have forgot.

EDIT:
Quote:
Looks like somebody is jealous about HCEnc 0.18.
what a strange idea. especially considering
http://forum.doom9.org/showthread.ph...201#post811201
and if you read the thanks.txt that comes with HC you will see me mentioned aswell.
__________________
Narrator: And of course, with the birth of the artist came the inevitable afterbirth - the critic. (History of the World part 1)

Last edited by dragongodz; 8th May 2006 at 02:02.
dragongodz is offline   Reply With Quote
Old 8th May 2006, 04:49   #16  |  Link
danpos
BDVD Team
 
danpos's Avatar
 
Join Date: Dec 2004
Location: Rio de Janeiro - RJ/Brasil
Posts: 306
QuEnc 0.7: first test and results.

@Dragongodz

*Source: I cut off a small clip of AVI in order to test this new release out. It has: 8123 frames / 23.976 fps / XviD / MP3

*QuEnc settings: GOP 15 / B-frames 2 / Interlaced encoding (in order to enable built-in pulldown) / Aspect Ratio 4:3 / Max bitrate 9800 Kbps / Default QuEnc matrix / Profile DVD / Audio codec AC3 128 Kbps / 2 pass VBR - average bitrate 2180 Kbps.

*AVS Script:

Code:
AVISource("D:\Testes\clip.avi",true,fourCC="XVID")

eedi2().turnleft().eedi2().turnright()
BlindPP(quant=8, cpu2="xxxxoo", moderate_h=45, moderate_v=55)
Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1)

aSharp(2.5,4.5,0.25,hqbf=true)
YlevelsS(0,1.6,255,0,255)

LanczosResize(704,352,0,0,1280,704)
AddBorders(0,64,0,64)
*Author DVD: ended up the encoding, I just used the Author DVD tool built-in into QuEnc and it delivered to me the folders AUDIO_TS and VIDEO_TS.

*Playback of authored DVD:

- WinDVD: it plays fine but the time showed was 05 minutes 42 seconds instead of 05 minutes 38 seconds.
- VLC: it plays fine but the time showed was 01 minute 20 seconds instead of 05 minutes 38 seconds.
- MPC: it plays choppy, with several stuttering to long whole movie.

*Bitrate graph:



We can see that didn't happen any bitrate spike over the maximum for DVD spec (9800 Kbps) !!! So, the MPEG2 videostream is in compliance with DVD spec.

*Quality of image: amazing!

This is the first time that I used this encoder since ages. The last time that did use it it wasn't really so good as much as now. I really liked of audio encoding integrated with video one, the quality of AC3 delivered, the built-in DVD author tool (good for simple authoring).

I consider this release a HUGE one and in fact QuEnc 0.7 is worth a try for sure.

My R$ 0,02 ...

Kudos,
danpos is offline   Reply With Quote
Old 8th May 2006, 04:57   #17  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,270
one thing to note: bitrateview is not at all accurate in determining max bitrates. it gets the quants about right, but gives such variable results for bitrate spikes that it's only useful as a guide.

for example, all results displayed by it are /1.024. so your actual max is 9837.568... not too shabby though.

however, when you put that in an authoring app it'll probably report a much lower max rate...

@ DGZ or nic:

Quote:
Originally Posted by changelog
.changed ac3 downmix levels to -3dB and dialnorm to -27dB (Dolbys reccomended settings)
would it be possible to make these numbers accessible via command line? those are the values i usually use anyway, but sometimes a louder source comes along, or a really quiet one...
__________________
interlace... right or wrong, just deal with it.
Mug Funky is offline   Reply With Quote
Old 8th May 2006, 13:32   #18  |  Link
ricardo.santos
Registered User
 
ricardo.santos's Avatar
 
Join Date: Mar 2005
Location: Portugal
Posts: 830
Hi everyone!

Thanks Nic and Dragongodz for this new beta, ive made some tests and altough im not an expert everything seems ok, no playback problems on most players, AC3 sounds ok to me altough as i live in Pal land i use Mpeg2 for audio on my conversions.

Just a quick question:

when converting to dvd i have to use avisynth or fitcd to resize to dvd resolution, isnt it possible for Quenc to resize?
__________________
Ricardo Santos na Aldeia mais digital de Portugal,
Beijós
ricardo.santos is offline   Reply With Quote
Old 8th May 2006, 14:27   #19  |  Link
Rockas
Ridendo Castigat Mores
 
Rockas's Avatar
 
Join Date: Mar 2003
Location: Portugal
Posts: 1,518
Quote:
when converting to dvd i have to use avisynth or fitcd to resize to dvd resolution, isnt it possible for Quenc to resize?
No... you really need to use an AviSynth script.
__________________
None is as blind as those that don't listen.

www.dvdrebuilder.com
RME
Rockas Software
Rockas is offline   Reply With Quote
Old 8th May 2006, 14:56   #20  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,789
danpos - yes the playback time is a known problem. the funny thing is not all players/filters/codecs have the problem. try burning it to a dvd-rw and see if your real dvd player can tell the real time or not. or you could even try authoring with something else and see if that changes it.

also max bitrate with pulldown should always be lowered and thats with all encoders. i know its been discussed a few times in the past how setting a high max bitrate has caused playback stutters with real dvd players, again this is not just QuEnc. so i would reccomend setting a max of something like 8000 or maybe even slightly lower.

Quote:
isnt it possible for Quenc to resize?
as Rockas said QuEnc uses Avisynth for its input. so to add resizing in QuEnc aswell would be simply repeating what Avisynth can already do and bloating QuEnc.
__________________
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
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 20:53.


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