Quantcast HCEnc: HC_Batch 0.15 Problems on MPEG2 Encoder - digitalFAQ.com Forums [Archives]
  #1  
07-13-2005, 10:41 PM
sparskter sparskter is offline
Free Member
 
Join Date: Jul 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
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:


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 ?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
07-13-2005, 10:51 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Did you try an .avs, which reads a .d2v made from DVD source

-kwag
Reply With Quote
  #3  
07-13-2005, 10:53 PM
sparskter sparskter is offline
Free Member
 
Join Date: Jul 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Hello kwag

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

best regards
Reply With Quote
  #4  
07-14-2005, 12:12 AM
sparskter sparskter is offline
Free Member
 
Join Date: Jul 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
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:


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 >_<
Reply With Quote
  #5  
07-14-2005, 04:50 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
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.
__________________
Regards.

Michael.
Reply With Quote
  #6  
07-14-2005, 10:21 AM
sparskter sparskter is offline
Free Member
 
Join Date: Jul 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #7  
07-14-2005, 12:47 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
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
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.
Reply With Quote
  #8  
07-14-2005, 01:27 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
A lot of unexpected error like this are due to Directx. Try to reinstall (or better update) it.
Reply With Quote
  #9  
07-14-2005, 01:30 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #10  
07-14-2005, 01:37 PM
sparskter sparskter is offline
Free Member
 
Join Date: Jul 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #11  
07-14-2005, 02:31 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #12  
07-14-2005, 04:26 PM
sparskter sparskter is offline
Free Member
 
Join Date: Jul 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
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

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!

Reply With Quote
  #13  
07-14-2005, 05:02 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #14  
07-14-2005, 05:33 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
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).

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.
Reply With Quote
  #15  
07-14-2005, 05:37 PM
sparskter sparskter is offline
Free Member
 
Join Date: Jul 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
I apologize to all. My processor does not support SSE3 . -_-
really sorry.



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.

Reply With Quote
  #16  
07-14-2005, 05:43 PM
sparskter sparskter is offline
Free Member
 
Join Date: Jul 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Prodater64!

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!
Reply With Quote
  #17  
07-14-2005, 06:49 PM
sparskter sparskter is offline
Free Member
 
Join Date: Jul 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #18  
07-14-2005, 07:13 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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

-kwag
Reply With Quote
  #19  
07-14-2005, 08:26 PM
sparskter sparskter is offline
Free Member
 
Join Date: Jul 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
And remember to set -matrix notch in your batch line
-kwag
Thanks kwag!

Well....



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.
Reply With Quote
  #20  
07-15-2005, 04:48 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
How long since the last time you installed winXP from scratch ? Too long...
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
HCenc: HC Encoder 0.25 tengo6dedos Video Encoding and Conversion 0 10-18-2010 08:59 AM
HCenc: HC Encoder 0.21 is out ! Dialhot Video Encoding and Conversion 1 05-02-2007 05:33 PM
TMPGEnc: Problems with mpeg2 to mpeg2 conversion rainer Video Encoding and Conversion 1 12-20-2006 05:20 PM
HCenc: New HC Encoder v0.19 Dav88 Video Encoding and Conversion 9 10-21-2006 05:32 AM
HCenc: K-Encoder-HC, Tool for DVD backups based in HC Encoder maurus Video Encoding and Conversion 3 04-05-2006 08:07 AM

Thread Tools



 
All times are GMT -5. The time now is 03:54 AM  —  vBulletin © Jelsoft Enterprises Ltd