View Full Version : Problem with HCenc 0.25: "extra frame"
hartford
24th January 2011, 04:20
I have a number of TV videos that HCenc v23 encodes with no problem, but v25 gives an error as to an extra frame on second pass.
This baffles me. What could be the problem?
Do note that the encoder release is 0.24 in the log
Log file:
---------------------------------------
| HCenc - MPEG2 encoder - rel. 0.24.0 |
---------------------------------------
MPEG profile@level: MP@ML
input: c:\torrent\fringe - season 1\fringe.avs
output: E:\Fringe 1\Fringe-test.m2v
--------------------
| encoder settings |
--------------------
profile: BEST
frames: 0 - 67127
framerate: 23.976
aspect ratio: 4:3
chroma format: 4:2:0
bitrate Kb/s: 4000
max. bitrate Kb/s: 7200
pulldown: yes, 23.976 --> 29.97
closed gops: no
VBV check: yes
scene change det: yes
interlaced: no, TFF
goplen,B-pic: AUTO 12
dc_precision: 10
intraVLC: auto
scan method: zigzag
bias: 0
chapter frames: 0
time code: 0 0 0 0
CPU: SSSE3
priority: idle
SMP active: yes
matrix: MPEG, adaptive
luminance gain: yes, level 2
adaptive quantization: yes, strength 2
deadzone quantization: auto
------------------
| source stats |
------------------
nr. of frames in source: 67128
width*height: 720x480
fps: 23.976
nr. of frames to encode: 67128
frames to encode: 0 - 67127
hartford
24th January 2011, 04:44
I have a number of TV videos that HCenc v23 encodes with no problem, but v25 gives an error as to an extra frame on second pass.
This baffles me. What could be the problem?
Do note that the encoder release is 0.24 in the log
Log file:
---------------------------------------
| HCenc - MPEG2 encoder - rel. 0.24.0 |
---------------------------------------
MPEG profile@level: MP@ML
input: c:\torrent\fringe - season 1\fringe.avs
output: E:\Fringe 1\Fringe-test.m2v
--------------------
| encoder settings |
--------------------
profile: BEST
frames: 0 - 67127
framerate: 23.976
aspect ratio: 4:3
chroma format: 4:2:0
bitrate Kb/s: 4000
max. bitrate Kb/s: 7200
pulldown: yes, 23.976 --> 29.97
closed gops: no
VBV check: yes
scene change det: yes
interlaced: no, TFF
goplen,B-pic: AUTO 12
dc_precision: 10
intraVLC: auto
scan method: zigzag
bias: 0
chapter frames: 0
time code: 0 0 0 0
CPU: SSSE3
priority: idle
SMP active: yes
matrix: MPEG, adaptive
luminance gain: yes, level 2
adaptive quantization: yes, strength 2
deadzone quantization: auto
------------------
| source stats |
------------------
nr. of frames in source: 67128
width*height: 720x480
fps: 23.976
nr. of frames to encode: 67128
frames to encode: 0 - 67127
==
Here is HCenc v0.25 log:
==================================================
==================================================
---------------------------------------
| HCenc - MPEG2 encoder - rel. 0.24.0 |
---------------------------------------
MPEG profile@level: MP@ML
input: c:\torrent\fringe - season 1\fringe.avs
output: E:\Fringe 1\Fringe-test.m2v
--------------------
| encoder settings |
--------------------
profile: BEST
frames: 0 - 67127
framerate: 23.976
aspect ratio: 4:3
chroma format: 4:2:0
bitrate Kb/s: 4000
max. bitrate Kb/s: 7200
pulldown: yes, 23.976 --> 29.97
closed gops: no
VBV check: yes
scene change det: yes
interlaced: no, TFF
goplen,B-pic: AUTO 12
dc_precision: 10
intraVLC: auto
scan method: zigzag
bias: 0
chapter frames: 0
time code: 0 0 0 0
CPU: SSSE3
priority: idle
SMP active: yes
matrix: MPEG, adaptive
luminance gain: yes, level 2
adaptive quantization: yes, strength 2
deadzone quantization: auto
------------------
| source stats |
------------------
nr. of frames in source: 67128
width*height: 720x480
fps: 23.976
nr. of frames to encode: 67128
frames to encode: 0 - 67127
rcubed
26th January 2011, 00:29
==
Here is HCenc v0.25 log:
==================================================
==================================================
---------------------------------------
| HCenc - MPEG2 encoder - rel. 0.24.0 |
---------------------------------------
MPEG profile@level: MP@ML
input: c:\torrent\fringe - season 1\fringe.avs
output: E:\Fringe 1\Fringe-test.m2v
--------------------
| encoder settings |
--------------------
profile: BEST
frames: 0 - 67127
framerate: 23.976
aspect ratio: 4:3
chroma format: 4:2:0
bitrate Kb/s: 4000
max. bitrate Kb/s: 7200
pulldown: yes, 23.976 --> 29.97
closed gops: no
VBV check: yes
scene change det: yes
interlaced: no, TFF
goplen,B-pic: AUTO 12
dc_precision: 10
intraVLC: auto
scan method: zigzag
bias: 0
chapter frames: 0
time code: 0 0 0 0
CPU: SSSE3
priority: idle
SMP active: yes
matrix: MPEG, adaptive
luminance gain: yes, level 2
adaptive quantization: yes, strength 2
deadzone quantization: auto
------------------
| source stats |
------------------
nr. of frames in source: 67128
width*height: 720x480
fps: 23.976
nr. of frames to encode: 67128
frames to encode: 0 - 67127
Hi,
Are you referring to the number of frames to encode being 67128 and the frames to encode being 0-67127?
If so the frames to encode are base 0. If they were base 1 the frames to encode would be listed as 1-67128. Normally internal to the computer (at programming level) matrices etc. are indexed starting at 0. For the total number of frames when they start numbering with 0 to n it is n+1.
If I didn't understand your question maybe Hank can chime in. I don't see any error messages in the logs. Or was it a pop up window during the encode process. If it was a pop-up you can do a alt+Prt Scr when the window is active to copy the window to the clip board, then open Paint and past the clipboard into paint, save as a .png file, then append the png file to your post.
rucbed
hartford
27th January 2011, 04:19
Hi,
Are you referring to the number of frames to encode being 67128 and the frames to encode being 0-67127?
If so the frames to encode are base 0. If they were base 1 the frames to encode would be listed as 1-67128. Normally internal to the computer (at programming level) matrices etc. are indexed starting at 0. For the total number of frames when they start numbering with 0 to n it is n+1.
If I didn't understand your question maybe Hank can chime in. I don't see any error messages in the logs. Or was it a pop up window during the encode process. If it was a pop-up you can do a alt+Prt Scr when the window is active to copy the window to the clip board, then open Paint and past the clipboard into paint, save as a .png file, then append the png file to your post.
rucbed
v25 gives an error as to an extra frame on second pass.
I don't know how to be more clear.
There is an ERROR message that occures on the second pass that there is an "extra frame."
I don't understand what it is that you don't understand.
True, there is no error message in the log, but there is an error
message in the gui.
Is this a bug? I don't know.
If I get the time tomorrow I'll do some checking tomorrow as to
the "error," ie, what does the second pass of v0.25 vs 0.23 with
respect to number of frames.
My post was because I have about 55 hours of video to convert
and errors kinda slow down the process. http://forum.doom9.org/images/smilies/cool.gif
rcubed
27th January 2011, 10:57
v25 gives an error as to an extra frame on second pass.
I don't know how to be more clear.
There is an ERROR message that occures on the second pass that there is an "extra frame."
I don't understand what it is that you don't understand.
True, there is no error message in the log, but there is an error
message in the gui.
Is this a bug? I don't know.
If I get the time tomorrow I'll do some checking tomorrow as to
the "error," ie, what does the second pass of v0.25 vs 0.23 with
respect to number of frames.
My post was because I have about 55 hours of video to convert
and errors kinda slow down the process. http://forum.doom9.org/images/smilies/cool.gif
hartford,
Sorry my bad, I was confused by the absence of anything that showed an error. If you had posted a screen capture of the GUI at the time of the error that would have made it clearer for me, I'll also plead a brain fart, I'm getting old. :stupid:
Is this happening on all the files you try to encode or just some of them? Does the original source file to your Avisynth script play ok. I don't know if a corruption in the input stream could cause that kind of problem, that would have to be answered by someone such as Hank.
I looked at my most recent encodes using HC025 and it also shows rel 0.24.0. Looks like Hank missed updating the info when he did the 25 release.
I had some problems with HC025 in the past when I got what I remember to be something about a miss-compare during the 2nd pass. The encode would stop at that point. At the time I circumvented the problem by using a Lossless file. Due to the processing associated with the AviSynth script and the size of my input files I almost always use a Lossless file.
I feel your pain. I do encode of AVI files from an HD 1920x1080i 59.94 capture in which the avi file is 126+GB for a 3 hr movie. I inverse telecine (TFM,decimate), crop and resize to 720x480 using an Avisynth script to feed HC. Even with the lossless file it takes about 8 hrs with my AMD 5600 X2 64 4G RAM (only 3.xGB usable with Win XP Pro). A majority of the time is taken up by the Avisynth script, but I am not a happy camper when I make a mistake setting up the parms in HC (usually target bit rate), and have to do it over. The wife complains about the blue smoke coming out of my computer room, plus the language that accompanies that.
I do encodes with closed gops with a setting of 13 2. My authoring program doesn't like open gops. That with the lossless file, a 16:9 AR, a different avg and max bit rate (3100, 8000), and priority set to high seem to be the only difference between your settings and mine.
You could try using a Lossless file and see if that helps. If it doesn't the only thing I could suggest is drop a PM to Hank and see if he has any suggestion.
Seems like no one else is willing to jump in.
Again sorry about the misunderstanding about the error.
Let us know about what you find out. If it is a problem unique to HC025 Hank would probably be interested.
rcubed
yup
27th January 2011, 15:04
rcubed!
I always used lossless codec (last time only Ut) for encoding in HCEnc0.25 and make all filtering before encoding. This approach faster, but need more free HDD space.
Script for load very simple
AVISource("my.avi")
yup.
rcubed
28th January 2011, 02:44
rcubed!
I always used lossless codec (last time only Ut) for encoding in HCEnc0.25 and make all filtering before encoding. This approach faster, but need more free HDD space.
Script for load very simple
AVISource("my.avi")
yup.
Yup,
Yep! I have 8TB of HD space on my video/encoding machine.
6GB organized as 3 RAID 0 sets consisting of 2-1TB drives each. In my case I noticed the Lossless file has been as big as 24GB+. Often times putting the souce on one physical drive and the destination on another physical drive will improve performance. In the case of a lossless file putting it on a separate physical drive will also help. Sometimes doing a lossless file on a simple source script will not decrease processig time by much, but won't increase the processing time to my knowledge.
rcubed
rcubed
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.