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 Search this Thread Display Modes
Old 30th March 2009, 05:44   #121  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Hank never gave me a solution for this and without the source code I am powerless.
Guest is offline   Reply With Quote
Old 30th March 2009, 06:14   #122  |  Link
QuadraQ
Registered User
 
QuadraQ's Avatar
 
Join Date: Jun 2003
Location: Loomis, CA
Posts: 109
I should have stated that this only seems to be a problem with the NV version of DGAVCDec. When I tried it with the "normal" DGAVCDec it works perfectly fine.
QuadraQ is offline   Reply With Quote
Old 31st March 2009, 22:33   #123  |  Link
hank315
HCenc author
 
Join Date: Nov 2003
Location: Netherlands
Posts: 570
It will be solved in the final 0.24 release, I can replicate the issue using DGAVCDecNV.
It's a complete lack of time ATM to get a new release out
__________________
HCenc at: http://hank315.nl
hank315 is offline   Reply With Quote
Old 21st April 2009, 12:09   #124  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Finnaly found the time to do a BD -> DVD conversion, using HCEnc & DVD-lab. The encoder works perfectly, as usual; But is was kind of funny.

It's been some time that i've done such a project, and i've upgraded to a Core 2 Quad Xtreme 9650, wich runs at a conservative 3200 MHz (400 x 8). The funny thing is that the whole 2-pass encoding process of a 2 hrs movie took less than the 2 hours the movie is long. It ran at more than 150 fps during encode

I remember times that encoding went @ 5 or 6 fps. That goes to show how technoligy has evolved in the years, but also that HCEnc seems to have matured considerably during that time as well. And that not oly gos for the speed of the encoder, but the quality it produces as well; Thats very very good (lum_gain=1 and AQ=1 seems to be a very good combo). So thanx again for all the work and time you have invested in the years !

Last edited by G_M_C; 21st April 2009 at 12:12.
G_M_C is offline   Reply With Quote
Old 16th May 2009, 05:23   #125  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 635
Quote:
Originally Posted by QuadraQ View Post
create a dga from a film avc mkv file, and then create an avs file ... Open it up in HCgui 0.23 fine, but when I press encode it's stuck. Tried opening up the HCenc 0.23 directly as suggested and it runs through the first pass fine, but then freezes on the second pass.
Oh NO !
Quote:
Originally Posted by hank315 View Post
It will be solved in the final 0.24 release, I can replicate the issue using DGAVCDecNV.
It's a complete lack of time ATM to get a new release out
Oh Good. Thank goodness, this is significant, DGAVCDecNV is of no use to me otherwise. Is it still a problem when using the lossless intermediate file ?

Any timeframe on it as yet ?
halsboss is offline   Reply With Quote
Old 16th May 2009, 05:25   #126  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
You can use version 0.22 as I do.

Unfortunately it's an HCEnc issue. I tried to work around it but there is no way.

If Hank wants to lend me the source code I can try to fix it, otherwise we are totally at his mercy.

Don
Guest is offline   Reply With Quote
Old 16th May 2009, 06:11   #127  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 635
Thanks Neuron2. OK.

It it works for a 1st pass for QuadraQ, I wonder if it'll work when an intermediate lossless file is used for the 2nd pass to "work off". Will clutch at that straw tomorrow

Hank, you into sharing, matey ?
halsboss is offline   Reply With Quote
Old 17th May 2009, 19:56   #128  |  Link
hank315
HCenc author
 
Join Date: Nov 2003
Location: Netherlands
Posts: 570
Here's a new HCenc 0.24 beta:

- added *INTRAVLC command
- added 4:2:2 input / output
- fixed some issues using AVCsource input

This will fix the problems using DGAVCDecNV.
__________________
HCenc at: http://hank315.nl
hank315 is offline   Reply With Quote
Old 17th May 2009, 20:08   #129  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,729
Thanks a lot, hank It feels weird that v023 was released a year ago..time flies so fast!
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 17th May 2009, 21:33   #130  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Quote:
Originally Posted by hank315 View Post
- fixed some issues using AVCsource input
This will fix the problems using DGAVCDecNV.
Thanks, hank!
Sharc is offline   Reply With Quote
Old 18th May 2009, 11:13   #131  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 635
Hank, you are a Legend, mate.
halsboss is offline   Reply With Quote
Old 18th May 2009, 17:29   #132  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
Thanks a lot, Hank!

I can confirm that the -1pass and -2pass command line parameters are now working...

Cheers
manolito
manolito is offline   Reply With Quote
Old 18th May 2009, 20:48   #133  |  Link
Fr4nz
Registered User
 
Join Date: Feb 2003
Posts: 448
Thanks Hank for your efforts!

Excuse me for this question: did you see this thread? Are you planning something in the upcoming 0.24, in order to improve encoding in "dark areas"?
Fr4nz is offline   Reply With Quote
Old 19th May 2009, 00:09   #134  |  Link
kumi
Straight to video
 
kumi's Avatar
 
Join Date: Jun 2005
Posts: 637
Thanks for the new beta!

Can hank315 or someone else explain in layman's terms what INTRAVLC is, and what it's good for?
__________________
.
kumi is offline   Reply With Quote
Old 19th May 2009, 08:36   #135  |  Link
hank315
HCenc author
 
Join Date: Nov 2003
Location: Netherlands
Posts: 570
About IntraVLC...

MacroBlocks can be encoded in two different ways:

Code:
-------------------------------------
| Intra VLC	    |   0   |   1   |
|------------------------------------
| Intra blocks      |  B14  |  B15  |
|------------------------------------
| Non-intra blocks  |  B14  |  B14  |
-------------------------------------
B14 and B15 are two tables which are used to perform the VLC: Variable Length Coding.
The outcome of this will be written in the video bitstream.
Table B14 is more efficient when there are only a few values in the 8x8 block, table B15 is more efficient when there are lot of values in the 8x8 block.
So in general table B14 should be used for low bitrates, B15 for higher bitrates.
IntraVLC can be changed for every frame.
So *INTRAVLC 0 means: always use table B14, *INTRAVLC 1 means always use table B15, *INTRAVLC 2 will use the VLC method which gives the lowest nr of bits for that frame, *INTRAVLC 2 simply does both and picks the table which generates the lowest nr of bits to represent the encoded block.
__________________
HCenc at: http://hank315.nl
hank315 is offline   Reply With Quote
Old 19th May 2009, 09:23   #136  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
How much gain in bitrate do you estimate by Automatic IntraVLC compared to fixed IntraVLC?
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 25th May 2009, 18:27   #137  |  Link
hank315
HCenc author
 
Join Date: Nov 2003
Location: Netherlands
Posts: 570
The table shows file sizes of a testclip for different INTRAVLC settings using different Quantizers.
All other settings are the same so it shows the efficiency of the INTRAVLC setting only.

Code:
---------------------------------------------
| CQ | intravlc 0 | intravlc 1 | intravlc 2 |
|----|------------|------------|------------|
|  2 |   101674   |   100606   |   100576   |
|  3 |    53550   |    53140   |    53086   |
|  4 |    45531   |    45247   |    45182   |
|  5 |    33787   |    33782   |    33629   |
|  6 |    28421   |    28541   |    28330   |
|  8 |    23530   |    23844   |    23507   |
| 10 |    16561   |    17036   |    16561   |
---------------------------------------------
It shows table 14 (intravlc 0) is better at low bitrates (high Q) and table 15 (intravlc 1) is better at high bitrates (low Q).
Intravlc 2 (auto mode) always produces the smallest file size and converges at low bitrates to table 14.

So the gain using auto mode is pretty small... but it comes at almost no extra cost, about 1% extra encoding time.
__________________
HCenc at: http://hank315.nl
hank315 is offline   Reply With Quote
Old 27th May 2009, 22:12   #138  |  Link
doxville
Registered User
 
doxville's Avatar
 
Join Date: Aug 2004
Location: Germany
Posts: 26
Hi hank315, many thanks for all the time you spend on this great encoder!

Since 0.24 is a beta, I wanted to ask you, if you had the time to look over this issue, because I found the same behaviour as in 0.23. Would be great if that could be fixed in the final release (i am still sticking to 4:3 encodings), even if it's not a big thing to change AR yourself.

doxville is offline   Reply With Quote
Old 28th May 2009, 07:09   #139  |  Link
cweb
Registered User
 
cweb's Avatar
 
Join Date: Oct 2002
Location: The Pandorica
Posts: 527
Just to thank you Hank for your new beta release..
__________________
PC specs for bug reports: Intel Core i7-4790K @4Ghz Win10(Linux VM) PCI express NVIDIA RTX 2060 SUPER graphics card
http://twitter.com/cwebdesign
cweb is offline   Reply With Quote
Old 28th May 2009, 12:03   #140  |  Link
zack_ind
Registered User
 
Join Date: Nov 2008
Location: India
Posts: 7
Quote:
Originally Posted by hank315 View Post
Here's a new HCenc 0.24 beta:

- added *INTRAVLC command
- added 4:2:2 input / output
- fixed some issues using AVCsource input

This will fix the problems using DGAVCDecNV.
Adaptive Quantization even when set to 0 doesnt work. In the ini file its not there but once we encode the log file shows it as 2.
This is in 0.24 beta , 1 pass vbr is quite brilliant
zack_ind is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.