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 4th December 2005, 21:17   #101  |  Link
Amnon82
Paldo-GNU/LinuxMaintainer
 
Amnon82's Avatar
 
Join Date: Oct 2003
Location: Germany
Posts: 1,580
atm NO SVCD encoding

Quote:
Look at page seven of HC’s user manual HC015.pdf. I do not think anything has changed for HC016.
Yes there are some changes:

*MATRIX AUTOQ2 got changed to *MATRIX AVAMAT7
*MATRIX AVAMAT6 was added.

I found out that HC shoots over the max bitrate also if you using cq_maxbitrate. So you can't do a SVCD with 2400 as max bitrate. I added a notice to my final release of GetCQ

Code:
==================================================

              --------------------------------------------
              | HCbatch - MPEG2 encoder - rel. 0.16 beta |
              --------------------------------------------

input:                c:\programme\getcq\avs\gcqprediction.avs
output:               h:\out.m2v

              --------------------
              | encoder settings |
              --------------------

profile:              FAST
frames:                      1    2448
framerate:               25.00
aspect ratio:         4:3
bitrate:              NA
max. bitrate Kb/s:        2400
pass:                        1 (Constant Quant)
constant Q:             31.000
closed gops:          no
VBV check:            yes
scene change det.:    yes
interlaced:           yes, TFF
goplen,B-pic:               12       2
dc_precision:               10
scan method:          ALTERNATE
bias:                       30
chapter frames:              0
time code:                   0       0       0       0
CPU:                  SSE2
matrix:               AVAMAT6

              --------------------
              |  source   stats  |
              --------------------

nr. of frames in source:            2448
width*height:                    480*576
fps:                               25.00
nr. of frames to encode:            2448
frames to encode:                      1 -     2448

              ---------------------
              | encoding - pass 1 |
              ---------------------

pass 1 encoding time:              0:01:09  (69 s)
average fps:                          35.7

              ------------------
              | encoding stats |
              ------------------

total encoding time:               0:01:09  (69 s)

intra matrix used
   8  16  19  22  26  27  29  34
  16  16  22  24  27  29  34  35
  19  22  26  27  29  34  35  38
  22  22  26  27  29  34  35  40
  22  26  27  29  32  35  40  48
  26  27  29  32  35  40  48  50
  26  27  29  35  40  48  50  60
  27  29  35  40  48  50  60  62

non-intra matrix used
  16  20  24  28  32  36  40  44
  20  24  28  32  36  40  44  48
  24  28  32  36  40  44  48  52
  28  32  36  40  44  48  52  56
  32  36  40  44  48  52  56  58
  36  40  44  48  52  56  58  60
  40  44  48  52  56  58  60  62
  44  48  52  56  58  60  62  62

nr. of gops:                        208
nr. of frames:                     2448
nr. of I-frames:                    208
nr. of P-frames:                    782
nr. of B-frames:                   1458
average quant (non linear):      31.000
VBV underflows detected:              0
VBV underflows fixed:                 0
minimum bitrate:                    612
maximum bitrate:                   2859
average bitrate:                    866


==================================================
==================================================

              --------------------------------------------
              | HCbatch - MPEG2 encoder - rel. 0.16 beta |
              --------------------------------------------

input:                c:\programme\getcq\avs\gcqprediction.avs
output:               h:\out.m2v

              --------------------
              | encoder settings |
              --------------------

profile:              FAST
frames:                      1    2448
framerate:               25.00
aspect ratio:         4:3
bitrate:              NA
max. bitrate Kb/s:        2400
pass:                        1 (Constant Quant)
constant Q:              1.000
closed gops:          no
VBV check:            yes
scene change det.:    yes
interlaced:           yes, TFF
goplen,B-pic:               12       2
dc_precision:               10
scan method:          ALTERNATE
bias:                       30
chapter frames:              0
time code:                   0       0       0       0
CPU:                  SSE2
matrix:               AVAMAT6

              --------------------
              |  source   stats  |
              --------------------

nr. of frames in source:            2448
width*height:                    480*576
fps:                               25.00
nr. of frames to encode:            2448
frames to encode:                      1 -     2448

              ---------------------
              | encoding - pass 1 |
              ---------------------

pass 1 encoding time:              0:05:14  (314 s)
average fps:                           7.8

              ------------------
              | encoding stats |
              ------------------

total encoding time:               0:05:14  (314 s)

intra matrix used
   8  16  19  22  26  27  29  34
  16  16  22  24  27  29  34  35
  19  22  26  27  29  34  35  38
  22  22  26  27  29  34  35  40
  22  26  27  29  32  35  40  48
  26  27  29  32  35  40  48  50
  26  27  29  35  40  48  50  60
  27  29  35  40  48  50  60  62

non-intra matrix used
  16  20  24  28  32  36  40  44
  20  24  28  32  36  40  44  48
  24  28  32  36  40  44  48  52
  28  32  36  40  44  48  52  56
  32  36  40  44  48  52  56  58
  36  40  44  48  52  56  58  60
  40  44  48  52  56  58  60  62
  44  48  52  56  58  60  62  62

nr. of gops:                        208
nr. of frames:                     2448
nr. of I-frames:                    208
nr. of P-frames:                    782
nr. of B-frames:                   1458
average quant (non linear):      10.725
VBV underflows detected:              0
VBV underflows fixed:                 0
minimum bitrate:                   1962
maximum bitrate:                   2859
average bitrate:                   2255


==================================================
==================================================

              --------------------------------------------
              | HCbatch - MPEG2 encoder - rel. 0.16 beta |
              --------------------------------------------

input:                h:\vts_01_1.d2v.avs
output:               h:\out.m2v

              --------------------
              | encoder settings |
              --------------------

profile:              FAST
frames:                      1   40392
framerate:               25.00
aspect ratio:         4:3
bitrate:              NA
max. bitrate Kb/s:        2400
pass:                        1 (Constant Quant)
constant Q:              1.000
closed gops:          no
VBV check:            yes
scene change det.:    yes
interlaced:           yes, TFF
goplen,B-pic:               12       2
dc_precision:               10
scan method:          ALTERNATE
bias:                       30
chapter frames:              0
time code:                   0       0       0       0
CPU:                  SSE2
matrix:               AVAMAT6

              --------------------
              |  source   stats  |
              --------------------

nr. of frames in source:           40392
width*height:                    480*576
fps:                               25.00
nr. of frames to encode:           40392
frames to encode:                      1 -    40392

              ---------------------
              | encoding - pass 1 |
              ---------------------

pass 1 encoding time:              1:23:13  (4993 s)
average fps:                           8.1

              ------------------
              | encoding stats |
              ------------------

total encoding time:               1:23:14  (4994 s)

intra matrix used
   8  16  19  22  26  27  29  34
  16  16  22  24  27  29  34  35
  19  22  26  27  29  34  35  38
  22  22  26  27  29  34  35  40
  22  26  27  29  32  35  40  48
  26  27  29  32  35  40  48  50
  26  27  29  35  40  48  50  60
  27  29  35  40  48  50  60  62

non-intra matrix used
  16  20  24  28  32  36  40  44
  20  24  28  32  36  40  44  48
  24  28  32  36  40  44  48  52
  28  32  36  40  44  48  52  56
  32  36  40  44  48  52  56  58
  36  40  44  48  52  56  58  60
  40  44  48  52  56  58  60  62
  44  48  52  56  58  60  62  62

nr. of gops:                       3398
nr. of frames:                    40392
nr. of I-frames:                   3398
nr. of P-frames:                  10162
nr. of B-frames:                  26832
average quant (non linear):      10.291
VBV underflows detected:              0
VBV underflows fixed:                 0
minimum bitrate:                   1526
maximum bitrate:                   4057
average bitrate:                   2242


==================================================
Amnon82 is offline   Reply With Quote
Old 5th December 2005, 06:12   #102  |  Link
t_2
Registered User
 
Join Date: Apr 2003
Location: USA
Posts: 91
Thank you Ebobtron, video_magic, prodater64. I will read the pdf and follow the advice. Didn't know about the "" where there are spaces.

@prodater64

I haven't been following MPEG2 encoders for more than a year now but followed the development of QuEnc for awhile. The problem there was the rate control was broken in ffmpeg. Also, have heard that TMPGenc has some specs issues. I was hoping that HC gives truly compliant MPEG2 streams, but your last post seems to indicate that there are problems here too... Do I follow you correctly?
t_2 is offline   Reply With Quote
Old 5th December 2005, 08:15   #103  |  Link
Prodater64
Registered User
 
Join Date: Mar 2004
Posts: 266
Quote:
Originally Posted by t_2
@prodater64

I haven't been following MPEG2 encoders for more than a year now but followed the development of QuEnc for awhile. The problem there was the rate control was broken in ffmpeg. Also, have heard that TMPGenc has some specs issues. I was hoping that HC gives truly compliant MPEG2 streams, but your last post seems to indicate that there are problems here too... Do I follow you correctly?

I don't know from what post mine i could make you think that HC streams are not compliant! (or you quoted me wrongly). Hank315 said that HC Encoder gives compliant streams (in multipass vbr or cq_maxbitrate modes). I didnt investigate the stream structures, only play it in mi unique SAP, so weirdly could i to talk about compliants.
__________________
Prodater64
Prodater64 is offline   Reply With Quote
Old 5th December 2005, 10:21   #104  |  Link
alfixdvd
Registered User
 
Join Date: Mar 2004
Posts: 243
Quote:
Originally Posted by Amnon82
Yes there are some changes:

*MATRIX AUTOQ2 got changed to *MATRIX AVAMAT7
*MATRIX AVAMAT6 was added.
I performed a search at HC015.pdf (2005/06/17) and HC015A.pdf (2005/08/08) and the strings AVAMAT and AVAMAT6 d'ont exists.

AUTOQ2 is the only reference.

IF HC016.PDF document exists and reflect this changes for AVAMAT, where can I get it?

Best regards.

Last edited by alfixdvd; 5th December 2005 at 10:25.
alfixdvd is offline   Reply With Quote
Old 5th December 2005, 17:28   #105  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
Quote:
Originally Posted by alfixdvd
I performed a search at HC015.pdf (2005/06/17) and HC015A.pdf (2005/08/08) and the strings AVAMAT and AVAMAT6 d'ont exists.

AUTOQ2 is the only reference.

IF HC016.PDF document exists and reflect this changes for AVAMAT, where can I get it?

Best regards.
Hank mentions it here.
__________________
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 5th December 2005, 18:16   #106  |  Link
alfixdvd
Registered User
 
Join Date: Mar 2004
Posts: 243
Quote:
Originally Posted by hank315
Some news about HC016.

- fixes the playback on some strict players (Pioneer)
- pulldown issue is fixed, streams can be pulldowned for PAL and NTSC GOP lengths
- updated 1 pass CQ_MAXBITRATE run, should result in better prediction
- autoq2 matrix replaced with avamat6 and avamat7 (both by Amnon82)

Some of this is already in the latest test releases but not all.
Sure are they all ?
alfixdvd is offline   Reply With Quote
Old 5th December 2005, 21:09   #107  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
Quote:
Originally Posted by alfixdvd
Sure are they all ?
Maybe look here when Hank released 16 and repeated the list.
http://forum.doom9.org/showthread.ph...836#post738836



Ebobtron
http://members.aol.com/avsfilmcutter
Ebobtron is offline   Reply With Quote
Old 15th December 2005, 23:07   #108  |  Link
hank315
HCenc author
 
Join Date: Nov 2003
Location: Netherlands
Posts: 570
The GUI for HC016 is finally finished, also some bug fixes for the batch version and the manual is updated.

The GUI version doesn't have a built in encoder anymore, it uses the batch version for encoding.
It has some new features:
- load and save ini files
- preview function
- setting chapter points

Get it at http://hank315.dyndns.org/HC_016.zip

Recommended Avisynth version: 2.5.6a
hank315 is offline   Reply With Quote
Old 16th December 2005, 00:15   #109  |  Link
katjarella
woman @ german doom9
 
katjarella's Avatar
 
Join Date: Feb 2003
Location: Germany
Posts: 117
Hello hank315, tested the straight final. It is already again the freezing error available. This was noticeable to me already in the beta GUI and evening yesterday by VNC session LigH showed.

Test-Scripts:
Code:
v1=ImageReader("*path*\MIXVideo.bmp",0,0,25,pixel_type="rgb24")
v2=Loop(v1,18).FadeIn(28,$FF0000)
v3=AlignedSplice(v1,v2,v1)
v3=LanczosResize(v3,720,576)
return ConvertToYV12(v3)
---- OR -----
v1=ImageReader("*path*\MIXVideo.bmp",0,0,25,pixel_type="rgb24")
v2=Loop(v1,18).FadeIn(28,$FF0000)
AlignedSplice(v1,v2,v1)
LanczosResize(720,576)
ConvertToYV12()
It is however not to be verified. Times a Script goes, then again the other one. Times I do not have to press "RESET GUI default", then again. It is to to be moved. Under XP or the HCbatch_016.exe alone functions.

sorry google translate
__________________
katjarella by Creyskull Visuell Design
katjarella is offline   Reply With Quote
Old 16th December 2005, 01:22   #110  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,797
katjarella - i tried the second example and all worked fine. can you say what exact settings you used in HC ? also have you updated to avisynth 2.5.6 ?
__________________
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 16th December 2005, 04:46   #111  |  Link
neo squidward
Registered User
 
Join Date: Sep 2005
Location: United States
Posts: 93
@hank315
I dont know if this is a bug or not but when I load a avisynth script into the GUI it doesnt read the movie info, I can't change the bitrate, everything on the "preview chapters" tab is grayed out, and "encode" button is grayed out.
neo squidward is offline   Reply With Quote
Old 16th December 2005, 07:20   #112  |  Link
feedback
Gold (Au) Member
 
feedback's Avatar
 
Join Date: Apr 2005
Location: USA
Posts: 832
Quote:
Originally Posted by hank315
The GUI for HC016 is finally finished, also some bug fixes for the batch version and the manual is updated.

The GUI version doesn't have a built in encoder anymore, it uses the batch version for encoding.
It has some new features:
- load and save ini files
- preview function
- setting chapter points

Get it at http://hank315.dyndns.org/HC_016.zip

Recommended Avisynth version: 2.5.6a
So this batch 0.16.0.1 version, with the bug fixes, should be fine with DVD-Rebuilder Pro. right? I am presently using HCbatch 0.16.0.0. with RB.

Regards,
__________________
***********************************************************
Don't assume anything...Verify!

It's as easy as 3.14159265

The Problem is Usually found between the Chair and the Keyboard!
feedback is offline   Reply With Quote
Old 16th December 2005, 10:58   #113  |  Link
MarkP
VideoLinux Developer
 
MarkP's Avatar
 
Join Date: Nov 2003
Location: UK Milton Keynes
Posts: 63
@feedback

The .exe in this .zip is still called HCbatch_0.16 but when running the title bar reports HCbatch0.16A beta so not sure about 0.16.0.1 you mention

Used it last night to encode a movie with RB and quality seems very good at first glance
MarkP is offline   Reply With Quote
Old 16th December 2005, 13:53   #114  |  Link
linx05
Registered User
 
Join Date: Mar 2005
Location: Region 4
Posts: 518
@MarkP

When you ask for version info of HC Encoder Batch from HC Encoder GUI, it returns the 0.16.0.1 version.
linx05 is offline   Reply With Quote
Old 16th December 2005, 18:08   #115  |  Link
MarkP
VideoLinux Developer
 
MarkP's Avatar
 
Join Date: Nov 2003
Location: UK Milton Keynes
Posts: 63
Well that maybe the case, was only saying what the title bar says when batch is running
MarkP is offline   Reply With Quote
Old 16th December 2005, 18:22   #116  |  Link
Ebobtron
Errant Knight
 
Ebobtron's Avatar
 
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
@ Hank,
Wow, another great improvement.
Love the new gui.

Question:
Are we stuck with the frame offset between AviSynth and HC?
HC's frame 10 is AviSynth's frame 9.

A feature I intend to add to avsFilmCutter's scene editor is a chapter list generator much like the one in HC's gui. I can offset my list, but it would be nice if I did not have to. What say you?

Feature request:
Because you have the best scene detector I have ever seen. Could you maybe create a non encoding scene detection pass for HC. Which we could then look at and modify as needed.

Again, great work and thank you for it.
Ebobtron

Last edited by Ebobtron; 16th December 2005 at 18:24.
Ebobtron is offline   Reply With Quote
Old 16th December 2005, 20:10   #117  |  Link
Amnon82
Paldo-GNU/LinuxMaintainer
 
Amnon82's Avatar
 
Join Date: Oct 2003
Location: Germany
Posts: 1,580
@katjarella you can also test my gui called HIG. You can find it here.
It creates also HC.ini-Files. Hope it helps.
Amnon82 is offline   Reply With Quote
Old 16th December 2005, 21:40   #118  |  Link
hank315
HCenc author
 
Join Date: Nov 2003
Location: Netherlands
Posts: 570
@All
The batch version (0.16.0.1 = HCbatch016A) just didn't made into DVD-RB 1.05 because at the time I mailed it to jdobbs the 1.05 package was already finished.
The 0.16.0.1 version solves an error using *CQ_MAXBITRATE in which it could get stuck.
So for those who want it to use it with DVD-RB just rename and copy/replace it.

@katjarella
I ran the first script and it came out OK with all settings I tried...
Will mail you about it.

@neo squidward
If you check the version with the button "Avisynth info" what does it say?
Also if loading an Avisynth script fails the info window should give the
error message generated by Avisynth, what does that say?

@Ebobtron
Quote:
Are we stuck with the frame offset between AviSynth and HC?
HC's frame 10 is AviSynth's frame 9.
No of course not, I've no objection if the Avisynth guys change it.
Just kidding... But you're right, it would be more compatible with other video apps.
Will be in the next release. (Although I still dislike the idea )

Quote:
Could you maybe create a non encoding scene detection pass for HC. Which we could then look at and modify as needed.
That's possible, will PM you about it.
hank315 is offline   Reply With Quote
Old 16th December 2005, 22:33   #119  |  Link
katjarella
woman @ german doom9
 
katjarella's Avatar
 
Join Date: Feb 2003
Location: Germany
Posts: 117
Google did not certainly translate correctly. And my Translators (LigH, scharfi) cannot be attained.

The HCbatch_016.exe functions. Only the HCGUI_016.exe remains hanging from time to time, if I load a Script. In the GUI see I "AVS file opened" and then still freezes it. Then I must close the Process so long and load different Scripte, until it functions times again. Also the GUI default Settings load , help here not always.
__________________
katjarella by Creyskull Visuell Design
katjarella is offline   Reply With Quote
Old 16th December 2005, 23:29   #120  |  Link
petermarina
Banned
 
Join Date: Apr 2005
Posts: 22
New HC 16

The latest HC 0.16 also includes 4 versions of DGDecode.dll. Any info on these files?
petermarina 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 00:47.


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