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


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

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