me@work
27th October 2006, 11:57
When I used HC to encode an SVCD-destination file, I noticed that the resulting file was way smaller than what I expected. You know, I like to fill up the CDs with as much bits as possible...
Having experienced this, I let the two encodes mentioned in the attached log file run.
Please note that both come from the same input file, but the first encode used av/max of 4000/8000, whilst the second one used 2200/2470. The resulting average bitrate in the first encode was 3999, close enough to what I expected ;-)
But the second one did not come out with the expected 2200; it only yielded 2118, resulting in a too small file and, as much as I understand about it, a smaller amount of precious bandwidth used than possible.
Switching to *PROFILE best did not really change anything.
So, what I would like to ask is:
What can I do to increase the accuracy of the resulting average bitrate? Is it something I have in my hands, or is it a glitch in the encoder?
======================================
Here goes the logfile:
======================================
-----------------------------------------
| HCenc - MPEG2 encoder - rel. 0.19.0.0 |
-----------------------------------------
input: f:\threemin.d2v
output: F:\8000_4000.m2v
--------------------
| encoder settings |
--------------------
profile: NORMAL
frames: 0 5021
framerate: 25.00
aspect ratio: 4:3
bitrate Kb/s: 4000
max. bitrate Kb/s: 8000
pulldown: no
closed gops: no
VBV check: yes
scene change det.: yes
interlaced: no
goplen,B-pic: AUTO
dc_precision: 9
scan method: ZIGZAG
bias: 0
chapter frames: 0
time code: 0 0 0 0
CPU: SSE2
matrix: MPEG
--------------------
| source stats |
--------------------
nr. of frames in source: 5022
width*height: 720*576
fps: 25.00
nr. of frames to encode: 5022
frames to encode: 0 - 5021
---------------------
| encoding - pass 1 |
---------------------
pass 1 encoding time: 0:04:02 (242 s)
average fps: 20.8
--------------------------------
| encoding - intermediate pass |
--------------------------------
bitrate set to: 4000000 b/s
est. outfile length: 98086 kB
intermediate encoding time: 0.0 s
---------------------
| encoding - pass 2 |
---------------------
pass 2 encoding time: 0:02:42 (162 s)
average fps: 31.1
------------------
| encoding stats |
------------------
total encoding time: 0:06:45 (405 s)
intra matrix used
8 16 19 22 26 27 29 34
16 16 22 24 27 29 34 37
19 22 26 27 29 34 34 38
22 22 26 27 29 34 37 40
22 26 27 29 32 35 40 48
26 27 29 32 35 40 48 58
26 27 29 34 38 46 56 69
27 29 35 38 46 56 69 83
non-intra matrix used
16 17 18 19 20 21 22 23
17 18 19 20 21 22 23 24
18 19 20 21 22 23 24 25
19 20 21 22 23 24 26 27
20 21 22 23 25 26 27 28
21 22 23 24 26 27 28 30
22 23 24 26 27 28 30 31
23 24 25 27 28 30 31 33
nr. of gops: 350
nr. of frames: 5022
nr. of I-frames: 350
nr. of P-frames: 1396
nr. of B-frames: 3276
average quant (non linear): 4.393
VBV underflows detected: 0
VBV underflows fixed: 0
minimum bitrate: 2625
maximum bitrate: 7923
average bitrate: 3999
==================================================
==================================================
-----------------------------------------
| HCenc - MPEG2 encoder - rel. 0.19.0.0 |
-----------------------------------------
input: f:\threemin.d2v
output: F:\2470_2200.m2v
--------------------
| encoder settings |
--------------------
profile: NORMAL
frames: 0 5021
framerate: 25.00
aspect ratio: 4:3
bitrate Kb/s: 2200
max. bitrate Kb/s: 2470
pulldown: no
closed gops: no
VBV check: yes
scene change det.: yes
interlaced: no
goplen,B-pic: AUTO
dc_precision: 9
scan method: ZIGZAG
bias: 0
chapter frames: 0
time code: 0 0 0 0
CPU: SSE2
matrix: MPEG
--------------------
| source stats |
--------------------
nr. of frames in source: 5022
width*height: 720*576
fps: 25.00
nr. of frames to encode: 5022
frames to encode: 0 - 5021
---------------------
| encoding - pass 1 |
---------------------
pass 1 encoding time: 0:04:04 (244 s)
average fps: 20.6
--------------------------------
| encoding - intermediate pass |
--------------------------------
bitrate set to: 2200000 b/s
est. outfile length: 53947 kB
intermediate encoding time: 0.0 s
---------------------
| encoding - pass 2 |
---------------------
pass 2 encoding time: 0:02:39 (159 s)
average fps: 31.6
------------------
| encoding stats |
------------------
total encoding time: 0:06:44 (404 s)
intra matrix used
8 16 19 22 26 27 29 34
16 16 22 24 27 29 34 37
19 22 26 27 29 34 34 38
22 22 26 27 29 34 37 40
22 26 27 29 32 35 40 48
26 27 29 32 35 40 48 58
26 27 29 34 38 46 56 69
27 29 35 38 46 56 69 83
non-intra matrix used
16 17 18 19 20 21 22 23
17 18 19 20 21 22 23 24
18 19 20 21 22 23 24 25
19 20 21 22 23 24 26 27
20 21 22 23 25 26 27 28
21 22 23 24 26 27 28 30
22 23 24 26 27 28 30 31
23 24 25 27 28 30 31 33
nr. of gops: 350
nr. of frames: 5022
nr. of I-frames: 350
nr. of P-frames: 1396
nr. of B-frames: 3276
average quant (non linear): 7.769
VBV underflows detected: 0
VBV underflows fixed: 0
minimum bitrate: 1605
maximum bitrate: 2466
average bitrate: 2118
Having experienced this, I let the two encodes mentioned in the attached log file run.
Please note that both come from the same input file, but the first encode used av/max of 4000/8000, whilst the second one used 2200/2470. The resulting average bitrate in the first encode was 3999, close enough to what I expected ;-)
But the second one did not come out with the expected 2200; it only yielded 2118, resulting in a too small file and, as much as I understand about it, a smaller amount of precious bandwidth used than possible.
Switching to *PROFILE best did not really change anything.
So, what I would like to ask is:
What can I do to increase the accuracy of the resulting average bitrate? Is it something I have in my hands, or is it a glitch in the encoder?
======================================
Here goes the logfile:
======================================
-----------------------------------------
| HCenc - MPEG2 encoder - rel. 0.19.0.0 |
-----------------------------------------
input: f:\threemin.d2v
output: F:\8000_4000.m2v
--------------------
| encoder settings |
--------------------
profile: NORMAL
frames: 0 5021
framerate: 25.00
aspect ratio: 4:3
bitrate Kb/s: 4000
max. bitrate Kb/s: 8000
pulldown: no
closed gops: no
VBV check: yes
scene change det.: yes
interlaced: no
goplen,B-pic: AUTO
dc_precision: 9
scan method: ZIGZAG
bias: 0
chapter frames: 0
time code: 0 0 0 0
CPU: SSE2
matrix: MPEG
--------------------
| source stats |
--------------------
nr. of frames in source: 5022
width*height: 720*576
fps: 25.00
nr. of frames to encode: 5022
frames to encode: 0 - 5021
---------------------
| encoding - pass 1 |
---------------------
pass 1 encoding time: 0:04:02 (242 s)
average fps: 20.8
--------------------------------
| encoding - intermediate pass |
--------------------------------
bitrate set to: 4000000 b/s
est. outfile length: 98086 kB
intermediate encoding time: 0.0 s
---------------------
| encoding - pass 2 |
---------------------
pass 2 encoding time: 0:02:42 (162 s)
average fps: 31.1
------------------
| encoding stats |
------------------
total encoding time: 0:06:45 (405 s)
intra matrix used
8 16 19 22 26 27 29 34
16 16 22 24 27 29 34 37
19 22 26 27 29 34 34 38
22 22 26 27 29 34 37 40
22 26 27 29 32 35 40 48
26 27 29 32 35 40 48 58
26 27 29 34 38 46 56 69
27 29 35 38 46 56 69 83
non-intra matrix used
16 17 18 19 20 21 22 23
17 18 19 20 21 22 23 24
18 19 20 21 22 23 24 25
19 20 21 22 23 24 26 27
20 21 22 23 25 26 27 28
21 22 23 24 26 27 28 30
22 23 24 26 27 28 30 31
23 24 25 27 28 30 31 33
nr. of gops: 350
nr. of frames: 5022
nr. of I-frames: 350
nr. of P-frames: 1396
nr. of B-frames: 3276
average quant (non linear): 4.393
VBV underflows detected: 0
VBV underflows fixed: 0
minimum bitrate: 2625
maximum bitrate: 7923
average bitrate: 3999
==================================================
==================================================
-----------------------------------------
| HCenc - MPEG2 encoder - rel. 0.19.0.0 |
-----------------------------------------
input: f:\threemin.d2v
output: F:\2470_2200.m2v
--------------------
| encoder settings |
--------------------
profile: NORMAL
frames: 0 5021
framerate: 25.00
aspect ratio: 4:3
bitrate Kb/s: 2200
max. bitrate Kb/s: 2470
pulldown: no
closed gops: no
VBV check: yes
scene change det.: yes
interlaced: no
goplen,B-pic: AUTO
dc_precision: 9
scan method: ZIGZAG
bias: 0
chapter frames: 0
time code: 0 0 0 0
CPU: SSE2
matrix: MPEG
--------------------
| source stats |
--------------------
nr. of frames in source: 5022
width*height: 720*576
fps: 25.00
nr. of frames to encode: 5022
frames to encode: 0 - 5021
---------------------
| encoding - pass 1 |
---------------------
pass 1 encoding time: 0:04:04 (244 s)
average fps: 20.6
--------------------------------
| encoding - intermediate pass |
--------------------------------
bitrate set to: 2200000 b/s
est. outfile length: 53947 kB
intermediate encoding time: 0.0 s
---------------------
| encoding - pass 2 |
---------------------
pass 2 encoding time: 0:02:39 (159 s)
average fps: 31.6
------------------
| encoding stats |
------------------
total encoding time: 0:06:44 (404 s)
intra matrix used
8 16 19 22 26 27 29 34
16 16 22 24 27 29 34 37
19 22 26 27 29 34 34 38
22 22 26 27 29 34 37 40
22 26 27 29 32 35 40 48
26 27 29 32 35 40 48 58
26 27 29 34 38 46 56 69
27 29 35 38 46 56 69 83
non-intra matrix used
16 17 18 19 20 21 22 23
17 18 19 20 21 22 23 24
18 19 20 21 22 23 24 25
19 20 21 22 23 24 26 27
20 21 22 23 25 26 27 28
21 22 23 24 26 27 28 30
22 23 24 26 27 28 30 31
23 24 25 27 28 30 31 33
nr. of gops: 350
nr. of frames: 5022
nr. of I-frames: 350
nr. of P-frames: 1396
nr. of B-frames: 3276
average quant (non linear): 7.769
VBV underflows detected: 0
VBV underflows fixed: 0
minimum bitrate: 1605
maximum bitrate: 2466
average bitrate: 2118