INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
HCbatchGUI - (batch processor for HCenc and Aften). Development Thread.

Forum Index -> Video -> Programming Printer-friendly version
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Reply to topic
Author Message
freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Nov 01, 2007 10:12 Posts Comp View users profile Send private message Reply with quote

Updated to version 12.5 . This update basically just pertains to the audio encoding. Added Cleanup of wav files and also updated sox and removed wavavimux.

General release is version 12.5

Release with c:\ reference is 12.5 SW
_________________
My Tools

Ready to Learn?


unipati
Member


Joined: 08 Nov 2007
Location: Malaysia

Post Posted: Nov 08, 2007 18:20 Posts Comp View users profile Send private message Reply with quote

Hi guys

Just tried the HC batch gui, encoding video with HC enc completed.
For audio encoding (aften), me closed the audio.bat window after 5hrs.
The program generated a wav file 2gb in source directory.
but ac3 file in the target directory is 0byte

Please advise
Thanks


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Nov 08, 2007 20:32 Posts Comp View users profile Send private message Reply with quote

What version of hcbatchgui are you using?

Are you using the upmix function?

There was some versions that had a bug with creating a wav bigger than 2 gb. If you are not using release 12.6 please download and install it. Then go to your source files directory and double click the audio.bat file. The audio encoding should NOT take 5 hours. It is the quickest part of the process.
_________________
My Tools

Ready to Learn?


unipati
Member


Joined: 08 Nov 2007
Location: Malaysia

Post Posted: Nov 09, 2007 10:05 Posts Comp View users profile Send private message Reply with quote

Hi

Not sure which version, will just un install it. Download 12.6 and install again. Will try encode and resample at night.

Some of my video have dual language (Left channel french and Right channel English)
When converting to ac3 will they be mixed up together?
Do i need to separate it to two audio files? and then convert and get 2 ac3 files?
If yes how?

Thanks


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Nov 09, 2007 11:13 Posts Comp View users profile Send private message Reply with quote

unipati wrote:
Hi

Will try encode and resample at night.


If your video encoded okay then there is no need to re-encode. Just install latest version (in about 20 minutes I'm uploading r12.7) then go to your source files directory and double click the audio.bat. The audio will then begin encoding.

Quote:

Some of my video have dual language (Left channel french and Right channel English)
When converting to ac3 will they be mixed up together?

If you have dual audio that will cause a problem. Especially when channels are different languages. Yes the would be mixed up.

Quote:

Do i need to separate it to two audio files? and then convert and get 2 ac3 files?
If yes how?


Yes you would need to seperate them. You might try this. Copy the text in the window below and past it into notepad. Save it as "separate audio.bat" in your source files directory. Then double click the file you just created. It should separate the audio from into two one channel files, create a two channel wav, then encode to a two channel ac3. You should end up with two sets of ac3 files. One for english and one for french.
If you want it to automatically delete the temporary wav files you can add del *.wav just before the Exit line.


Code:
for %%a in ("*.avs") do "%systemdrive%\program files\HCbatchGUI\wavi.exe" "%%a" "original%%a.wav"
for %%a in ("*.wav") do "%systemdrive%\program files\HCbatchGUI\ssrc.exe" --rate 48000 --normalize --twopass --dither 0 "%%a" "48k_%%a"
del original*
for %%a in ("*.wav") do "%systemdrive%\program files\HCbatchGUI\sox.exe" -V "%%a" -r 48000 -c1 "%%a"left.wav avg -l
for %%a in ("*.wav") do "%systemdrive%\program files\HCbatchGUI\sox.exe" -V "%%a" -r 48000 -c1 "%%a"right.wav avg -r
for %%a in ("*.wav") do "%systemdrive%\program files\HCbatchGUI\sox.exe" -V -M "%%a"left.wav "%%a"left.wav -c2 -t wav "%%a"french.wav
for %%a in ("*.wav") do "%systemdrive%\program files\HCbatchGUI\sox.exe" -V -M "%%a"right.wav "%%a"right.wav -c2 -t wav "%%a"english.wav
for %%a in ("*.wav") do "%systemdrive%\program files\HCbatchGUI\aften.exe" "%%a" -acmod 2 -readtoeof 1 -b 192 "%%a.ac3"
Exit

_________________
My Tools

Ready to Learn?


unipati
Member


Joined: 08 Nov 2007
Location: Malaysia

Post Posted: Nov 10, 2007 03:05 Posts Comp View users profile Send private message Reply with quote

Hi

Quote:
....no need to re-encode.....double click the audio.bat

Resampling by SSRC wont stop
Pass1 completes when upon reaching 100% (ETA=0)
Pass2 will not stop when reaching 100% (ETA=0)
ie it will go on to processed 101%, 102%, 103% etc
Have to ctrl break to stop
Even using separate audio.bat get the same result

After installing 12.6, i re encode and re sample me DUAL language videos
Using upmix 2channel to 5.1 ac3 (without separating the different languages)
Resulting in m2v file (4hrs 25min) & ac3 file (1hr 37min) which doesnt make sense

Thanks

Deleted the first two instruction from separate_audio.bat and then save.
Double click the bat file to continue processing
Four files were generated (wavleft.wav), (wavright.wav), (wavfrench.wav), (wavenglish.wav)
But when Aften turns come, the program hangs, the cursor keeps blinking but nothing happens
Have to ctrl break again (AC3 file is 0 byte)

Thanks


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Nov 10, 2007 06:49 Posts Comp View users profile Send private message Reply with quote

Okay try saving the audio to wav using virtualdubmod. Then run separate audio.bat on those wave files.
If that don't work I'm out of ideas. I've not come across audio like this before.
_________________
My Tools

Ready to Learn?


unipati
Member


Joined: 08 Nov 2007
Location: Malaysia

Post Posted: Nov 11, 2007 23:19 Posts Comp View users profile Send private message Reply with quote

Hi

The problem - SSRC won't stop resampling (Pass 2) & Aften hangs
appears for some audio files with dual language only

Others audio also with dual language have no problems
the separate audio.bat will complete the processing and closes the window

Now using GUI dvdauthoring

Thanks


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Nov 12, 2007 07:34 Posts Comp View users profile Send private message Reply with quote

unipati wrote:
The problem - SSRC won't stop resampling (Pass 2) & Aften hangs
appears for some audio files with dual language only

Others audio also with dual language have no problems


So the problem was bad files. Okay. Glad you got most of them done okay.
_________________
My Tools

Ready to Learn?


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Nov 14, 2007 16:08 Posts Comp View users profile Send private message Reply with quote

released version 12.8

Included new HCenc_022.exe
Updated the gui to take advantage of new features included in hcenc 0.22
Main changes are in the template.

Added check box to turn on and off Symmetric MultiProcessing
Added checkbox to change the wait time before hc exits (useful when batch processing)
Added auto detect for the interlacing options.
Added Progressive option
Added Digital Video source option.

These are all changes that Hank315 added to the new HCenc 0.22. I just added these functions to my gui. Thanks goes to Hank315 for a great encoder.

Other changes include
Completely Hid the dos box while HCenc is running. The Dos box now only shows up during DGpulldown and aften encoding.

Hopefully to be included in the next release will be a log window. I plan to redirect the dos output to a log window and will hide the dos winow.


_________________
My Tools

Ready to Learn?


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Nov 28, 2007 15:46 Posts Comp View users profile Send private message Reply with quote

Released version 12.9

Added a log window.
Completely hid the dos/console windows and redirected the text output into the log window.

Also added a button to add hclog to the template. This function will save a more detailed log of hc's processing.

Added a button to save the log.

Added a button to terminate the process.
_________________
My Tools

Ready to Learn?


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Dec 04, 2007 14:39 Posts Comp View users profile Send private message Reply with quote

Released v13.0 today.

Improvements include an auto avisynth script generator with overscan capabilities. You can still make your own avisynth scripts if you want and it will still work the same as it always had. This will just make things a little bit easier for quick and easy encoding.

Sorry for the continual updates. After I think I'm done something else pops into my head and I think "Hey! That would be a great feature!"


_________________
My Tools

Ready to Learn?


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Dec 11, 2007 07:43 Posts Comp View users profile Send private message Reply with quote

Hello everyone,

Well it's been over 3 months and I've had almost 600 downloads for HCbatchGUI. So I know it is being used.

HCbatchGUI has come a long way from it's inception.

I'm curious what everyone is thinking so far. You are welcome to post your comments or critisizms.

Do you have any ideas or suggestions for improvements? Is there any way I can make this app better or is it okay like it is? For me it suites my encoding needs great.
_________________
My Tools

Ready to Learn?


gadgetguy
Contestant


Joined: 14 Feb 2002
Location: Michigan, USA

Post Posted: Dec 11, 2007 09:45 Posts Comp View users profile Send private message Reply with quote

I find it totally worthless and completely without any merit what-so-ever. There may be over 600 downloads, but after they tried it once I'm sure they deleted it as fast as they could. Total waste of time and bandwidth and you should be ashamed of yourself for fostering this kind of crap on the general public. Never again will I download anything from... wait, freebird?
Oh, never mind.
_________________
"Shut up Wesley!"
-- Captain Jean-Luc Picard


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Dec 11, 2007 09:59 Posts Comp View users profile Send private message Reply with quote

icon_smile_lachuh.gif

Hey gadetguy. I needed a good laugh today. Hey man thanks for your help early on in the project. You helped to push this in the right direction.
_________________
My Tools

Ready to Learn?


gadgetguy
Contestant


Joined: 14 Feb 2002
Location: Michigan, USA

Post Posted: Dec 11, 2007 10:05 Posts Comp View users profile Send private message Reply with quote

You asked for criticisms, and I just couldn't resist. wink.gif laugh.gif
_________________
"Shut up Wesley!"
-- Captain Jean-Luc Picard


ron spencer
Monka's Brother


Joined: 23 May 2005
Location: Ish-ka-bibble

Post Posted: Dec 11, 2007 11:14 Posts Comp View users profile Send private message Reply with quote

ok....this is one AWESOME program. I only just discovered it and an playing with it at work. A couple things:

1. If one enters 6000 for average and 6000 for max bitrate does this mean CBR?

2. Also, under the audio tab it would be awesome to be able to demux the audio in the AVI file. This way if a person has an official AC-3 encoder or wants to mess with the audio they can. Right now only AC-3 is output. Can this be added? And even if audio is mp3 or 44.1 option to upconvert to 48000 would be there....just a button saying WAV Output

what do you think?

thanks
_________________
'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie


ron spencer
Monka's Brother


Joined: 23 May 2005
Location: Ish-ka-bibble

Post Posted: Dec 11, 2007 11:34 Posts Comp View users profile Send private message Reply with quote

in order to do this could you use:

http://sourceforge.net/projects/wavi-avi2wav/
_________________
'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Dec 11, 2007 11:44 Posts Comp View users profile Send private message Reply with quote

Thanks for the compliment. And thanks for your comments/wish list as thats the only way I can make this app better.

To answer your questions.
Quote:
1. If one enters 6000 for average and 6000 for max bitrate does this mean CBR?


Thats almost like cbr. HCenc can't do real cbr. Click here and read hank315's replys. He is the author of HCenc0.22

Quote:
2. Also, under the audio tab it would be awesome to be able to demux the audio in the AVI file. This way if a person has an official AC-3 encoder or wants to mess with the audio they can. Right now only AC-3 is output. Can this be added? And even if audio is mp3 or 44.1 option to upconvert to 48000 would be there....just a button saying WAV Output


I could add a button to extract the audio to wav easily enough.
wavi is already in use cool.gif
_________________
My Tools

Ready to Learn?


ron spencer
Monka's Brother


Joined: 23 May 2005
Location: Ish-ka-bibble

Post Posted: Dec 11, 2007 12:42 Posts Comp View users profile Send private message Reply with quote

I had seen Hank's comments yes.....I thought your magic may have changed something somehow.


Yes...I saw later figured wavi was in use after I posted...but was too hungry to fix my post....lunch time LOL


A button to save the audio WAV would be awesome....I have a bunch of ADVC100 home move captures that would benefit from this. If you could add that button and save the WAV with same file name as video I would be so appreciative.

I am surprised I never saw this proggy b4...having so much fun at work here NOT doing work but using your program.


thanks for making it!!!!
_________________
'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie


freebird73717
Member


Joined: 09 Dec 2003
Location: Buckle of the Bible Belt

Post Posted: Dec 11, 2007 13:18 Posts Comp View users profile Send private message Reply with quote

ron spencer wrote:
I had seen Hank's comments yes.....I thought your magic may have changed something somehow.


Nope. Hanks code is not open source so only he can improve it. I couldn't even if it was opensource though because he coded hcenc in fortran. I don't know anything about fortran.

Quote:
If you could add that button and save the WAV with same file name as video I would be so appreciative.


No problem at all to do that. Check this thread for future updates.


Quote:

I am surprised I never saw this proggy b4...having so much fun at work here NOT doing work but using your program.


It's listed under "other info" on the hcenc page of videohelp. It doesn't have its own page in the tools section.
_________________
My Tools

Ready to Learn?


ron spencer
Monka's Brother


Joined: 23 May 2005
Location: Ish-ka-bibble

Post Posted: Dec 11, 2007 13:37 Posts Comp View users profile Send private message Reply with quote

I will check for updates thanks.....strange your tool does not have its own Tools page, oh well.

I am going to show your stuff to some friends and colleagues....great work
_________________
'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie


ron spencer
Monka's Brother


Joined: 23 May 2005
Location: Ish-ka-bibble

Post Posted: Dec 11, 2007 19:59 Posts Comp View users profile Send private message Reply with quote

I notice something....on the first tab where you ask for the resolution, why does one need to choose one? You may not always need to. If my AVI is already 720x480 and I choose 720x480 on that tab, your program will write a resize in the AVISynth script. This is not needed and slows the process down does it not (and performs an uneeded transform on the video data). How about an option to just use the video as input?

Also, when one chooses the overscan, the script is not square...the addborders may be 32,16,32,16....how about making all 32s so the add borders is square?

what do you think of this?
_________________
'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie