digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   HCenc: HC_Batch 0.15 problems on mpeg2 ENcoder (http://www.digitalfaq.com/archives/encode/13680-hcenc-hcbatch-015-a.html)

sparskter 07-13-2005 10:41 PM

HC_Batch 0.15 problems on mpeg2 ENcoder
 
Well. The HC Gui 0.15b works fine. But, I wrote a HC.bat file to perform:

Code:

HCbatch_015 -i c:\bleach27.avs -o c:\bleach27.m2v -b 800 -maxbitrate 2500 -profile normal -aspectratio 4:3 -scene -nointerlaced -matrix mpeg
HCbatch_015 -i c:\bleach28.avs -o c:\bleach28.m2v -b 800 -maxbitrate 2500 -profile normal -aspectratio 4:3 -scene -nointerlaced -matrix mpeg

And I got this error:
http://www.digitalfaq.com/archives/i.../2005/07/8.png

I have cyberlink power dvd installed. And I installed later:

http://www.free-codecs.com/Dscaler_M...s_download.htm

Dscaler MPeg filters. So it should not be a decoder problem.

thanks

EDIT:
-LOL- the souce is an avi file. So MPEG-2 decoder is not necessary right ? :lol:

kwag 07-13-2005 10:51 PM

Did you try an .avs, which reads a .d2v made from DVD source :?:

-kwag

sparskter 07-13-2005 10:53 PM

Hello kwag

Well, there is no DVD source! The source is an avi only.

best regards

sparskter 07-14-2005 12:12 AM

Hello!

I found the problem. I just modified the .bat to:

Code:

HCbatch_015 -i c:\bleach27.avs -o c:\bleach27.m2v -b 800 -maxbitrate 2500
HCbatch_015 -i c:\bleach28.avs -o c:\bleach28.m2v -b 800 -maxbitrate 2500

And in the HC.ini :
Code:

-------------------------------
HC.ini template
These commands are required
Use full pathnames and just use the bitrate you want
-------------------------------
*infile        c:\....\test.avs
*outfile      d:\....\test.m2v
*bitrate      800
*maxbitrate    2500
-------------------------------
Next commands are optional,
putting a space for it disables a command
Not all commands are shown here,
see the manual for a complete list and default values
-------------------------------
 *logfile      d:\....\test.log
*cpu auto
*matrix        mpeg
*profile      normal
*aspect        4:3
*bias          0
*gop          15 2
*dc_prec      9
*custommatrix
 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

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

I modified *cpu sse3 to *cpu auto
Wich is strange because this works on the GUI and I am sure my processor supports sse3.

Besides, I got a new problem. When the encode gets finished:
http://www.digitalfaq.com/archives/error.gif

Also, this error occurs when you click on EXIT in the GUI after the encode get finished.

What could this be? Unfortunately I would appreciate batch encoding too much, because I will work 20-40 videos files at once.... And using the GUI, manually adding new projects one by one and wait each one´s encode to finish would be a pain >_<

Zyphon 07-14-2005 04:50 AM

Hi sparskter,

Unless the AVI source is from a capture then I don't think you will get support for it as this site doesn't support DivX/Xid movie sources, only DVD Source and AVI Captures.

I Quote the rules:

Quote:

Remember, this website is for personal and legal use. KVCD.Net won't take any responsibilities in any way for how you choose to use the instructions, software and links in this guides. This pages only serves as a guide to learning, NOT a guide to DVD piracy or anything illegal. By reading this, you automatically agree to abide by this rules. If you don't agree, please leave this site immediately. All KVCD templates, KVCD Quantization Matrix, and the contents of this pages unless otherwise specified are Copyright (c) 2002, 2003 of KVCD.Net. Duplication of links or content for commercial or illegal use is strictly prohibited. This site contains links to other sites. KVCD.Net is not responsible for the privacy practices or the content of such Web sites.
Also, we do NOT discuss any DivX/XviD related topics on this site.
So unless your source is from a AVI Capture I don't think you will get help indeed the topic may even be locked by a Moderator.

sparskter 07-14-2005 10:21 AM

Hello Zyphon!

The source is an anime ( Bleach )! And it is captured from TV! It is still airing !

So it is not an illegal dvd ripped stuff 8)

Prodater64 07-14-2005 12:47 PM

Quote:

Originally Posted by sparskter
Hello Zyphon!

The source is an anime ( Bleach )! And it is captured from TV! It is still airing !

So it is not an illegal dvd ripped stuff 8)

That error is not related with HC, but with another thing that I don't know what is it. It happends to me with PowerDVD, when it closes.
I did search internet but I couldn't find anything.
Maybe some friend here can help us.

Dialhot 07-14-2005 01:27 PM

A lot of unexpected error like this are due to Directx. Try to reinstall (or better update) it.

Prodater64 07-14-2005 01:30 PM

Quote:

Originally Posted by Dialhot
A lot of unexpected error like this are due to Directx. Try to reinstall (or better update) it.

I always have last directx version.
I'll try to reinstall it.

sparskter 07-14-2005 01:37 PM

Quote:

Originally Posted by Dialhot
A lot of unexpected error like this are due to Directx. Try to reinstall (or better update) it.

DirectX 9.0c here (windows xp pro sp2). This is the last version. So I think is impossible to "downgrade" it to another version just to test.

Later I will try to re-install it.

PS: I´ve ffdshow installed. Does it influence something like this ?

regards.

Dialhot 07-14-2005 02:31 PM

Quote:

Originally Posted by sparskter
PS: I´ve ffdshow installed. Does it influence something like this ?

I don't think so. but disable any libavcodec in it, just to be sure.

sparskter 07-14-2005 04:26 PM

Errr... My directx 9.0c was already installed, and so, the setup of directx9.0c (I downloaded the offline install - 33,4MB) detects and do not perform a re-install. It either give me option to re-install neither uninstall...

I uninstalled ffdshow and the problem persist. I uninstalled AviSynth 2.5.5 . Installed AviSynth 2.5.6 BETA 4. Rebooted. The problem persist.

You do not need to encode to occur this: by only opening an .avs file and then clicking on EXIT, that "beautiful msg" shows off :cry:

Quote:

Originally Posted by Prodater64
That error is not related with HC, but with another thing that I don't know what is it. It happends to me with PowerDVD, when it closes.
I did search internet but I couldn't find anything.
Maybe some friend here can help us.

I hope tou are right Pro. But I have PowerDVD and it runs normal as it should be (no problems on closing it).

PS: I could see that I am not the only one with this issue:
http://forum.doom9.org/showthread.ph...&page=14&pp=20

And hank315 has said this problem is rare (has been reported) and never happened to him!

:cry:

Dialhot 07-14-2005 05:02 PM

Install and run DrWatson (that should be on your XP CD or on M$ site). It should give you the name of the module that gives problem.

Note: try to limit HC to SSE2 as you seems to have a problem related to SSE3.

Prodater64 07-14-2005 05:33 PM

Quote:

Originally Posted by sparskter

Quote:

Originally Posted by Prodater64
That error is not related with HC, but with another thing that I don't know what is it. It happends to me with PowerDVD, when it closes.
I did search internet but I couldn't find anything.
Maybe some friend here can help us.

I hope tou are right Pro. But I have PowerDVD and it runs normal as it should be (no problems on closing it).

:cry:

Neither to me, but the reading memory error with other programs yes.
There is a lot of similar issues related with xp (not before sp1 in my case) if you do a search in internet. I only could find out one answer by MS but related with nt4 nor xp.
If you find out something let's know it.

I can supply you an alternate way.
Download cmdow: http://www.commandline.co.uk/cmdow/

Create a batch file cmdow.bat or killwarning.bat or what you want.
Code:

@echo off
rem I like this color
color 17

:cmdow
timeout 10>nul
for /f "tokens=8*" %%I in ('cmdow') do (
if "%%J" equ "error message window caption" (
cmdow "error message window caption"  /cls & goto :eof
)
)
goto :cmdow

If killing error message window don't close HC Encoder you must to add a line for it:
Code:

@echo off
rem I like this color
color 17

:cmdow
timeout 10>nul
for /f "tokens=8*" %%I in ('cmdow') do (
if "%%J" equ "error message window caption" (
cmdow "HC Encoder caption"  /cls
cmdow "error message window caption"  /cls & goto :eof
)
)
goto :cmdow

This batch will check every 10 seconds for error message window and when this popups, that will close it and HC Encoder also.

You need to put Timeout.exe in same folder where your batch file be.

Your encoding batch will be:
Code:

start "Waiting for error msg" cmd /c "killerrormsg.bat"
HCbatch_015 -i c:\bleach27.avs -o c:\bleach27.m2v -b 800 -maxbitrate 2500 -profile normal -aspectratio 4:3 -scene -nointerlaced -matrix mpeg
start "Waiting for error msg" cmd /c "killerrormsg.bat"
HCbatch_015 -i c:\bleach28.avs -o c:\bleach28.m2v -b 800 -maxbitrate 2500 -profile normal -aspectratio 4:3 -scene -nointerlaced -matrix mpeg

I hope this can help you, play with it and let me know if you get success.

sparskter 07-14-2005 05:37 PM

I apologize to all. My processor does not support SSE3 . -_-
really sorry.
http://www.digitalfaq.com/archives/error.gif


Anyway, the problem persists! -lol-
I am really starting to think this is a really bug.. This is the only program
that crash on closing.

http://www.digitalfaq.com/archives/i.../2005/07/9.png

sparskter 07-14-2005 05:43 PM

Prodater64! :bigooh:

So, a batch file to scan and detect the error window, close it, allowing to the next hc_batch be executed.

I will try it!

sparskter 07-14-2005 06:49 PM

Errr.. how could I say this.. Prodater64. Before I try your batch solution. I run the HCGUI_015.exe and it... worked LoL

But How ? It can be many things... Maybe Avisynth 2.5.6, maybe the simply reboot...

But, the GUI still has that "annoying bug" ¬¬ . Sorry I will call it "bug" starting now . I see no other possibility =/ (until now).

Quote:

Originally Posted by TFM_TheMask
I confirm that it has to do with the Avisynth Script.

I think it has to do with the line AviSource, because when I change this line in DirectShowSource the error doesn't show (I only tried with the gui and not with the batch, will test that tomorrow)

The only thing I did is open the scriptfile and then close HCgui.

So:

Code:

DirectShowSource("D:\video.avi")
converttoyv12()
BicubicResize(320, 206, 0, 0.6, 0, 8, 640, 464)
AddBorders(16, 17, 16, 17)

But it did not work anyway.

Well, the fact is: the HCbatch_015.exe is working (for now). That is pretty enough to me. Even if that didn´t work(giving that error msg) I still would continue using it for sure! hank315 did a great job (really good). His encoder is fast and produces very good results. And besides all is not hard to configure (as CCE is).

best regards

sparskter

kwag 07-14-2005 07:13 PM

Quote:

Originally Posted by sparskter
And besides all is not hard to configure (as CCE is).

And remember to set -matrix notch in your batch line :mrgreen:

-kwag

sparskter 07-14-2005 08:26 PM

Quote:

Originally Posted by kwag
And remember to set -matrix notch in your batch line :mrgreen:
-kwag

Thanks kwag!

Well....

http://www.digitalfaq.com/archives/error.gif

great, now what? -lol- :~~~~~~~~

PS: sorry is headAC3he but the crash is similar (occurs when I open the wav)

EDIT:just deleted HeadAC3he.INI . HeadAC3he created a new one and it worked.

Dialhot 07-15-2005 04:48 AM

How long since the last time you installed winXP from scratch ? Too long... :D

sparskter 07-15-2005 12:56 PM

I´ve just tried HC_GUI 0.14 and it works pretty fine! I load the avisynth script and when I close HC it ends with no problems at all. 8)

did not test HC_BATCH 0.14 yet. But probably it will not show that error.

maybe hank315 will have to take a lok at this :lol:

Prodater64 07-15-2005 07:16 PM

Quote:

Originally Posted by sparskter
I´ve just tried HC_GUI 0.14 and it works pretty fine! I load the avisynth script and when I close HC it ends with no problems at all. 8)

did not test HC_BATCH 0.14 yet. But probably it will not show that error.

maybe hank315 will have to take a lok at this :lol:

It is not a HC Encoder issue. If not why headac3he gave you same error.
Also I have same error with batch encoding with FreeEnc 0.44.
I think is a XP problem (and MS still don't solved it) .

rds_correia 07-16-2005 04:47 AM

Old on guys!
Sparkster says he ran CPU-Z on his PC and that it only reports SSE2.
But his CPU is P4.
Aren't all P4 capable of SSE3?
Sparkster, do you know memtest tool?
You can burn a bootable CD with it and let it do a memory test on your PC.
Otherwise, think of reinstalling WinXP because those errors with Headac3he are not usual.
Cheers

Dialhot 07-16-2005 08:57 AM

Quote:

Originally Posted by rds_correia
Aren't all P4 capable of SSE3?

No. All P4 are capable of SSE2. SSE3 arrived only in last generations (with HT I think but not sure).

rds_correia 07-16-2005 09:48 AM

Quote:

Originally Posted by Dialhot
No. All P4 are capable of SSE2. SSE3 arrived only in last generations (with HT I think but not sure).

Good call Phil.

sparskter 07-22-2005 04:45 PM

Quote:

Originally Posted by Dialhot
How long since the last time you installed winXP from scratch ? Too long...

Yes, pretty long! I performed a format today (22/july/05)... See next


Quote:

Originally Posted by Prodater64
It is not a HC Encoder issue. If not why headac3he gave you same error.
Also I have same error with batch encoding with FreeEnc 0.44.
I think is a XP problem (and MS still don't solved it) .

Yes you were right! I performed a format and a clean install. At the moment I have only: windows xp pro + sp2 + firefox 1.0.6 + XviD + ZoomPlayer + Getright + Adobe Encore DVD

And.. Surprise! *NO* problems detected ! :oops:

That is very good. Because the program is perfect at all. Now we have the proof!

But. I have no Idea of the program that was conflicting as before =/

best regards

sparskter

rds_correia 07-22-2005 06:03 PM

Yes we do! :arrow: :arrow: :arrow: :arrow: M$ Windows XP :lol:

kwag 07-22-2005 06:06 PM

:lol:
OT
And now, get ready for "Windows Vista" :hihi:
http://www.betanews.com/article/Micr...ame/1122056208
/OT

-kwag

Prodater64 08-24-2005 03:18 PM

For the moment you can deal with "memory could not be read" error in this way:

Download HC Encoder error killer.


Batch file, Kill-Error.bat has this code:

Code:

@echo off
rem I like this color
color 17
Title HC Encoder error killer by Prodater64

:cmdow
timeout 10>nul
for /f "tokens=8*" %%I in ('cmdow') do (
if "%%J" equ "HCbatch 0.15 beta - by hank315: HCbatch_015.exe - Application Error" (
cmdow "HCbatch 0.15 beta - by hank315: HCbatch_015.exe - Application Error"* /cls & goto :cmdow
)
)
goto :cmdow


Note that quoted parameter following "cmdow" and "equ" is the error window message caption when HC Encoder want to close.
This batch file is an infinite loop, it is for you to deal with your problem by the moment, so to work with it, just run the bat file.
Once finished your work with HC Encoder, just close cmd window.
You can adapt this to any program that gives you a similar error, or another one, ever that that error dont be a critical one, it is to say, your app should keep running after and despite the error.

Zyphon 08-24-2005 04:13 PM

Thanks Luis, I have tested the HC error-killer and it works a treat nice work Luis. :D

Note: Just to let you know there is a small error in the batch file one of the hank315 has 316 by mistake and needs to be renamed. ;)

Prodater64 08-24-2005 04:31 PM

Fixed typo.

Zyphon 08-24-2005 05:38 PM

Quote:

Originally Posted by Prodater64
Fixed typo.

Excellent work Luis. :D


All times are GMT -5. The time now is 02:07 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.