VideoHelp.com forum archive
http://www.supermediastore.com/



Forum Archive Home -> Linux -> HCbatchGUI GTK linux version released



HCbatchGUI GTK linux version released
freebird73717 posted 2008 Jan 03 11:36
post edited May 05, 2008
Okay I've been working for a couple of months on a linux build. I've finally finished 14.4 beta for linux. I've completely started from scratch using wxwidgets/gtk. The ide I used for building this is codeblocks. As this was started from scratch there may (but hopefully not) be bugs. If any bugs are found please post them here.

Wine is still needed for hcenc ,dgpulldown, avisynth, and wavi but the rest of the program is all nix (ffmpeg , aften, hcbatchgui).

The program itself requires no installation. Just download and extract the .gz file. You will need to install some support programs yourself though. You will need to install aften (I have included a deb package and the source code for your benefit), ffmpeg , and sox. There are links to ffmpeg and sox in the help file included in the download.

Function wise the gtk version works pretty much the same as the windows version. I did add a few new things reguarding avisynth. You can now customize your avisynth scripts by adding other plugins and commands different from the three (convolution3d, msharpen, reinterpolate) included with hcbatchgui.
Also you can now batch create your avisynth scripts using HCbatchGUI linux instead of creating them one at a time using the wine version.

The only function not working right now is the log box. You will have to follow the apps progress from the terminal boxes that pop up.

Click here to get a look at the new linux version

Download 14.5 GTK here
Download updated hcbatchgui for above package
Download source


Edit= If you have problems with hcenc not starting then right click HCenc_022.exe and select permissions and check the box that says allow executing as a program.



original post Jan 03, 2008
OS used Ubuntu 7.10

Okay I've done some more testing and found that HCbatchGUI is sort of working in Wine. [s:f34a3ebfc3]The "avisynth script generator" doesn't work so you have to write your own avisynth scripts (this is easily accomplished through wine with fitcd)[/s:f34a3ebfc3] fixed now. HCenc batch video encoding does work as long as you have the right codecs installed. Most avi's I've come across have decoded okay with xvid however I did have to download and install ffdshow to get a few working. So far ac3 encoding and wav extraction isn't workingbuggy so I deleted the audio functions. DGpulldown does seem to be working okay though.

So you might go to the download page
HCbatchGUI for linux wine
and grab version 14.2 and install it with wine to give it a try.

[s:f34a3ebfc3]You'll have to create your own avs scripts and process your audio seperatly until I can reconfigure the app to get those working.[/s:f34a3ebfc3] avisynth scripts fixed now but audio still not working This app was written primarily for windows but I'm hoping to get it fully working in linux via wine. For now it's nice to at least have HCenc batch capabilities in linux!



freebird73717 posted 2008 Jan 14 19:17
Okay I have updated HCbatchGUI. You can now download the latest version (v14.2) that has been optimized for use in linux through wine. The issues with the audio and the avisynth script generation have been fixed. This version now has the same functionality as the windows only version minus the audio functions.

Sourceforge download for HCbatchGUI optimized for linux wine




DKruskie posted 2008 Feb 25 21:59
I finally got around to installing avisynth in ubuntu and trying this out. when I hit the open avi button nothing happens. Do need something else installed?


freebird73717 posted 2008 Feb 25 22:42
Hello,

Other than installing avisynth and whatever codecs you need there isn't any other software you need to install. The problem really is poor documentation on my part. You need to select all of your avisynth options (overscan, frame size, any filters) before hitting the Open Avi button.

Also I've noticed on a few of my encodes that the audio sometimes cuts out somewhere near the end (only happens in linux though... no problems with audio in windows). It doesn't seem to happen on all encodes but I have noticed it on a few so you might check the audio that hcbatchgui outputs and make sure that it encodes it correctly all the way to the end before you delete your source files. It may be neccessary to encode your audio separatly. I'm still trying to figure out if it was an issue with certain source files or with wine. I may have to use another audio program to extract the wav for ac3 encoding. Video encoding is still rock solid though.



DKruskie posted 2008 Feb 25 22:52
Thanks got it working :)


freebird73717 posted 2008 Feb 27 13:59
Uploaded HCbatchGUI 14.2 today

Added some new features in the template and a new avisynth filter. I completely removed audio functionality in this (linux wine) version as it is still buggy. Sometimes audio encodes would cut out toward the end of the files. I am hopping to figure out a fix for this but until I do audio is gone. You can encode your audio to ac3 with native linux avidemux or through the use of shell scripts.

Here is a shell script that I use to encode audio from avi files. Make sure you have ffmpeg and aften installed.
:

#! /bin/bash

for i in *.avi
do
        BASEFILENAME=$(basename "$i")

        ffmpeg -i "$i" -ar 48000 "$BASEFILENAME.wav" && \
        aften "$BASEFILENAME.wav" -acmod 2 -readtoeof 1 -b 192 "$BASEFILENAME.ac3" && \
        rm "$BASEFILENAME.wav"
done



New in version 14.2 linux wine
Added new avisynth filter Reinterpolste411 that helps keep dv colorspace correct.
Added VBR bias to the template
Added LastIframe to the template.
Added Lumgain to the template
Added Avsreload to the template to help with source mismatch errors.
Removed Audio functions from the linux wine version. Audio was buggy and sometimes would not encode whole file. Hopefully will fix in a future release.



DKruskie posted 2008 Feb 27 15:53
Thanks for the new version.
Not to sound stupid, but how do I use the script for audio , do I just enter it in the terminal? or do i use something else. I'm a complete noob at scripting and linux.



freebird73717 posted 2008 Feb 27 16:08
Well first you need to download and install ffmpeg and aften from synaptic.

Now you can go about this a couple of different ways. You can save the above code text as a file in your /usr/bin directory. Then you just open a terminal to your directory containing the avi's. Type whatever you name that text file and your audio encodes should start.

Or you could just open terminal and change directory to where your avi's are and copy/paste the code text directly into terminal.

Or you can save the code as a nautilus script and run it from nautilus which is what i do.
Check this thread for more info on nautilus scripts. The bottom code in my post on that page is what you will need. It's probably the easiest way to do this. Just save that code in a text editor. Then right click on the file you just saved and click properties, permissions, make file executable. Then when you are in your avi file directory just right click go to scripts and select the file you just saved.
nautilus script
:

#! /bin/bash

for i in *.avi
do
        BASEFILENAME=$(basename "$i")

        ffmpeg -i "$i" -ar 48000 "$BASEFILENAME.wav" && \
        aften "$BASEFILENAME.wav" -acmod 2 -readtoeof 1 -b 192 "$BASEFILENAME.ac3" && \
        rm "$BASEFILENAME.wav"
done

zenity --info --text="Finished Encoding AC3 Files"

I know it may seem daunting at first but once you do a couple it gets easier. Post back if you need any help with it.



DKruskie posted 2008 Feb 27 19:38
Ok I think I got how to add scripts to .gnome2/nautilus(do the files still have a .txt after you make them executable), I couldnt find aften in synaptic


freebird73717 posted 2008 Feb 28 06:43
No it dosen't even need an extension but it's okay if it does. You probably don't have the right repositories added to your source list. That's okay. Here is an aften deb.
http://3v1n0.tuxfamily.org/apt-repository/pool/feisty/3v1n0/aften ... 1_i386.deb

I got it from this page
http://3v1n0.tuxfamily.org/apt-repository/dists/feisty/3v1n0/



DKruskie posted 2008 Feb 28 09:30
Thanks for the aften deb :) I redid the scripts using the text editor in applications and its working great now. I never could figure out the right repositories to add to my source list.


freebird73717 posted 2008 Feb 28 11:15
No problem! Happy encoding!

:-)



freebird73717 posted 2008 Feb 28 13:14
Also thanks to forum member GMaq I have learned that you can import presets in winff. This way you can use a the simple gui in winff to encode your ac3 audio. Just download winff and winff_ac3_presets.tar.gz. Open winff and click file->Import Presets-> Select the ac3 presets and click open.

If you are more comfortable with a gui this can help.



DKruskie posted 2008 Feb 28 13:52
Cool thanks , I'll get this too, cant have too many apps ya know. I'm actually starting to get the hang of using the scripts you posted, so much easier to use :) I found a problem with ac3192channel2 and fixed it. it was missing the <presets> at the beginning.


freebird73717 posted 2008 Feb 28 13:59
Yeah I actually prefer scripts. Especially nautilus scripts. So easy just to right click and choose your script and away you go!

But there are those that will prefer a gui and that's why I posted the winff method to encode audio.



DKruskie posted 2008 Feb 28 14:38
I posted a problem I found in the post above yours heres all the presets with the
fixed ac3192channel2 preset.



winff_ac3_presets.tar.gz



freebird73717 posted 2008 Feb 28 14:47
Thanks for the heads up. I edited my post with the corrected files also.
:oops:



freebird73717 posted 2008 Mar 11 14:56
I am still woking on a full rewrite of HCbatchGUI to be a completely linux based app but in the meantime I have thrown together a nautilus script that can be used to batch encode video and audio using HCenc for video and native linux ffmpeg and aften for audio.

:

#! /bin/bash

###############################################################################
#
#
#
# AUTHOR: freebird73717
#
# DESCRIPTION: This script encodes avs video files with HCenc and avi audio files
# with FFmpeg and Aften.
#
# REQUIREMENTS: Nautilus file manager
# feh (see http://www.linuxbrit.co.uk)
# zenity/gdialog, which is usually included in the gnome-utils package
# FFmpeg
# Aften
# HCenc
#
# INSTALLATION: GNOME 1.4.x: copy this script to the ~/Nautilus/scripts directory
# GNOME 2.x: copy to the ~/.gnome2/nautilus-scripts directory
# Copy your HCenc ini-template files to any directory other than a wine directory.
# Zenity can't read into the wine directory.
#
# USAGE: Make sure your avs and avi files are in the same directory.
# Right click in your video files directory, go to Scripts, and then select this script.
# You will then be asked to select an Output Directory for your video and audio files.
# Next you will be asked to select your HCenc ini-template file.
# Then you will enter the Average Video Bitrate and AC3 Audio bitrate.
# HCenc will then encode your avs files and ffmpeg and aften will encode your avi to ac3 audio.
#
#
#
# WHAT WORKS: Everything but the cancel buttons
#
# WHAT DOSENT
# WORK : The aforementioned cancel buttons
#
# VERSION INFO:
# 0.1 (20080311) - Initial public release
#
#
#
# LICENSE: GNU GPL
#
###############################################################################

location=$(zenity --file-selection --directory --title="Select Audio & Video Output Directory")

HCini=$(zenity --file-selection --title="Select HCenc ini-template file")

BITRATE=$(zenity --title="Video AVG Bitrate" --entry)

AUDIOBITRATE=$(zenity --title="Audio Bitrate" --entry)

for i in *.avs
do
BASEFILENAME=$(basename "$i")
"/home/yourusername/.wine/drive_c/Program Files/HCbatchGUI/HCenc_022.exe" -i "$i" -o "$location/$BASEFILENAME.m2v" -b $BITRATE -maxbitrate 8500 -ini "$HCini"
done
for j in *.avi
do

ffmpeg -i "$j" -ar 48000 "$j.wav" && \
aften "$j.wav" -acmod 2 -readtoeof 1 -b $AUDIOBITRATE "$location/$j.ac3" && \
rm "$j.wav"
done
zenity --info --text="Finished Encoding Video & Audio Files With HCenc and Aften!"



Make sure to change the text in bold blue to the path of your HCenc executable. Also make sure to copy your HCenc ini/template files from your wine directory to some other directory because zenity can't look into the wine directory.

The maxbitrate for the video is set to 8500 but you can change that by changing the scripts text.

Hopfully this will help some until I get the rewrite of the gui done (which will probably take some time.)



disturbed1 posted 2008 Mar 11 18:53
If you're going to split out to a sperate wav file, might as well normalize it. Ubuntu/Debian use normalize-audio, other distros use normalize(-mp3-ogg)

And....And... while were at it :), add an option for direct stream copy (-acodec copy) or down mixing, up mixing (-ac 2/6). Or....you could just encode directly to ac3 with ffmpeg. Aften is actually ffmpeg's a52 encoder, so the results should be the same with recent builds. Even though aften will use 2 threads if possible, there wouldn't be much speed gained because of the output to wav first. Don't forget, with ffmpeg the -ab is in bits, so 192000 or 192k ;)

ffmpeg -i input.blah -vn -ac 2 -ar 48000 -ab 192k out.ac3

Which toolkit you looking to write the gui with? PYGTK, wxWidgets, GLADE..............

Let me know if you want to implement a pure Linux native encoding solution. I can pass on some scripts that pipe mplayer output to mpeg2enc (and yuvfilters if mplayer's don't cut it)



freebird73717 posted 2008 Mar 11 19:15
Yeah there are several improvments I could add to this script I just whipped this out quick today. I knew aften was based off of ffmpeg but I thought there were improvements made to get a better sound. If I'm mistaken then I'll just use ffmpeg to output ac3 and save a step. In my windows gui I actually do offer a upmix function (ironically enough a process I learned while surfing a linux forum several months ago).

Right now I'm playing with glade but I've also looked at wxWidgets. I've got a few others I'm going to try as well. Since I'm basically starting from scratch I'm trying out as many toolkits as I can until I find one that I like the best.

I appreciate the offer for the mplayer scripts. I may take you up on that. My primary focus is getting HCbatchGUI to be totally nix (with the exception of HCenc of course!)

It's been a while since I've been in windows and to be honest it feels good!



disturbed1 posted 2008 Mar 11 19:46
Can't say I've done any serious listening tests between ffmpeg and aften. I should, but I'm lazy like that :P

Good luck finding an IDE/Toolkit. I honestly believe there are of more IDEs in Linux than there are text editors.



DKruskie posted 2008 Apr 29 00:41
Is there a script for doing pulldown of 23.976 to 29.97?


freebird73717 posted 2008 Apr 29 07:10
I could do one for you easily enough. I'll post one back here later today.

BTW if you're interested I'm almost through with the linux version of HCbatchGUI. Mabey be ready to release it in a couple weeks or so.



DKruskie posted 2008 Apr 29 09:04
Cool thanks, and yes I'm interested in the new version.


freebird73717 posted 2008 Apr 29 10:36
Nautilus Script for applying DGpulldown to your m2v video files.

:

#! /bin/bash

###############################################################################
#
#
#
# AUTHOR: freebird73717
#
# DESCRIPTION: This script applies DGPulldown to selected m2v video files
#
#
# REQUIREMENTS: Nautilus file manager
# feh (see http://www.linuxbrit.co.uk)
# zenity/gdialog, which is usually included in the gnome-utils package
# DGPulldown.exe
#
#
#
# INSTALLATION: GNOME 1.4.x: copy this script to the ~/Nautilus/scripts directory
# GNOME 2.x: copy to the ~/.gnome2/nautilus-scripts directory
#
#
#
# USAGE:
# Right click in your video m2v files directory, go to Scripts, and then select this script.
# You will then be asked to select an Output Directory for your video and audio files.
# Next you will be asked to enter your source files frame rate.
# Then you will be asked to enter your destination frame rate.
#
#
#
#
# WHAT WORKS: Everything but the cancel buttons
#
# WHAT DOSENT
# WORK : The aforementioned cancel buttons
#
# VERSION INFO:
# 0.1 (20080429) - Initial public release
#
#
#
# LICENSE: GNU GPL
#
###############################################################################

location=$(zenity --file-selection --directory --title="Select DGPulldown Output Directory")


SOURCEFPS=$(zenity --title="SOURCE FPS" --entry)

DESTFPS=$(zenity --title="DESTINATION FPS" --entry)



for i in *.m2v
do
BASEFILENAME=$(basename "$i")
"/home/username/path/to/your/dgpulldown/DGPulldown.exe" "$BASEFILENAME" -srcfps $SOURCEFPS -destfps $DESTFPS -o "$location/pulldown_$BASEFILENAME"
done
zenity --info --text="Finished Applying Pulldown!"



The only thing you need to change is the path to your DGPulldown.exe written in bold.



DKruskie posted 2008 Apr 29 10:49
Thanks. should the destination framerate be 29.970 or just 29.97?


freebird73717 posted 2008 Apr 29 11:08
29.97 is fine.

edit- One thing to remember when applying pulldown is that when your destination is 29.97 the lowest source fps you can apply pulldown to is 19.98



AlanHK posted 2008 Apr 29 11:09
freebird73717 :
Nautilus Script for applying DGpulldown to your m2v video files.

I'm wondering why not use the pulldown option in HCenc in making the MPEG?

I know a few versions ago there were some issues with that, but it seems reliable now, for the standard 23.976-29.97 anyway.

Of course, if you've already encoded the MPEGs, you have to use a pulldown app.



freebird73717 posted 2008 Apr 29 11:20
Honestly the only time I use dgpulldown is when doing irregular pulldown like going from pal to ntsc. Otherwise I always use hcenc's built in pulldown. Like you I always add the pulldown flag to my scripts (well at least my ini files). HCenc just ignores it if the source isn't 23.976

But DKruskie asked for a pulldown script so I do my best to help!

DKruskie I know you are using my earlier nautilus script for hcenc and ffmpeg/aften. If you will just add *PULLDOWN to your ini files hcenc will apply standard pulldown to all 23.976 source files and process normally those that aren't 23.976.

edit- or you could just add -pulldown between -maxbitrate and -ini in the original nautilus script



DKruskie posted 2008 Apr 29 15:00
Thanks, to be honest i never noticed the pulldown in the template settings :oops:
I'll make sure I set in the ini with pulldown now. Btw your script works great :D



freebird73717 posted 2008 May 05 12:52
I posted this update in the development thread for HCbatchGUI but since this is directly related to linux I have edited this thread. Please check the very fist post in this thread for a new gtk linux release.

Baldrick...didn't really intend on cross posting but I felt it needed mentioning in both places



ronnylov posted 2008 May 14 01:09
Does automatic shutdown after encoding work with HCbatchGUI GTK linux?

I have not tried your program yet but I have installed avisynth and HCEnc and it works in ubuntu with Wine but the automatic power off function did not work in HCEncoder (it closed HCEnc but did not power off my PC).



freebird73717 posted 2008 May 14 07:20
No auto shutdown is not there yet. I hope to find a way to add that later.


freebird73717 posted 2008 May 14 11:41
I have updated HCbatchGUI to version 14.5 for both windows and GTK linux

HCbatchGUI GTK Linux
Updated HCenc to version 023
Added AQ, DBpath, LLpath to template
Fixed a bug where HCenc and dgpulldown didn't start on some systems

Download Program here

Download Source code here


Plans for the future include auto system shutdown after encoding is finished.



GMaq posted 2008 May 21 09:33
Hi Freebird,

I'm having an issue with the HCBatchGUI executable, When I try to run it doesn't start the program, my permissions look good and "run executable as a program" is ticked off. Avisynth Aften and the other prerequisites are all installed. In the properties it says open with Wine and I can't deselect it, I'm guessing Wine shouldn't be the opening app because it is a Linux executable. I'm sure it's something simple I've overlooked. I'm running Ubuntu 7.10 i386 and using Wine 0.9.49 because it is the only version of Wine that plays nice with all my Audio applications. Guidance appreciated, I'm looking forward to using your app!

PS. I haven't tried a source install (yet)



freebird73717 posted 2008 May 21 10:52
Are you sure you downloaded the gtk version? Try downloading from the direct link here

Download 14.5 GTK here


edit 05-23-08
have rebuilt using static libraries. Program is now stand alone and doesn't need external libraries.

Then double click on the lowercase hcbatchgui file. You're right that it shouldn't require wine to open the main executable because it is a native linux file. Of course I notice that other programs such as the native linux mediainfogui also says open with wine in the properties tab so I think that is just an OS quirk.

Also do you have libgtk2.0 installed as this is a GTK program? Other than that I'm not quite sure why it is not working because we are running the same OS and the wine version really shouldn't matter.

Yours is the first feedback I've had and I'm hoping it's not something I've coded wrong. Everything "should" work.



GMaq posted 2008 May 21 16:55
OK,

It was the tarball so it must've been the gtk version I DL'd, Also when I browse the folder the Windows executables are displaying different icons than the hcbatchgui one, I will try the previous (14.4) when time permits and see if it behaves differently and let you know.



freebird73717 posted 2008 May 21 17:06
Try replacing the hcbatchgui executable with this. It is an update I threw together a few days ago.

edit link removed.

See if this helps.

Sorry for the problems.



freebird73717 posted 2008 May 21 17:42
Hold on. I think (hopfully) I know what may be the problem. I went back and downloaded the files from the servers myself and tried to run them and had the same problem. For some reason the checkbox next to Execute - "Allow executing file as a program" is not checked. It needs to look like this.



After making sure the check box is checked the program ran no problem.

BTW I wouldn't use 14.4. There were some issues that I hopefully corrected in 14.5



GMaq posted 2008 May 21 18:21
OK,

Unfortunately still no go here, Obviously the issue is on my end because you can run the files OK. What does your "Open With" (in Properties) tab say? I can run all the Windows .exe files in the same folder, I believe the culprit is my .bin file being associated with Wine. I just don't know why that is. it will not allow me to remove the Wine association. I opened Wine Config but there is nothing there to change. Perhaps I should move the hcbatchgui.bin file to /usr/bin/ and see if I can execute it from the terminal.



freebird73717 posted 2008 May 21 21:00


This really is frustrating though. It should just be a case of extract to a directory and run. I know of a couple of different people that have said they were going to use the program. I'm going to ask them if they had any problems like you have.

Hopefully we can get to the bottom of this.



GMaq posted 2008 May 21 21:15
Hmmm,

mono is not in my list of choices, only Wine. What libmono packages do you have installed? Perhaps since you have been programming you have some development libraries installed that I don't. I see in Synaptic there are many libmono packages. I'll look closer and try some.

I hope installing mono doesn't give me a virus :lol:



freebird73717 posted 2008 May 22 07:48
One other thing that might be worth trying is installing libwxgtk2.6 and libwxgtk2.8 from synaptic. I thought I included those librairies into the executable but perhaps I didn't. Since this was written in wxgtk widgets those librairies may be needed on the target machine as well.


GMaq posted 2008 May 22 09:06
OK,

Installed "mono" and tried to launch it with the mono command, still no-go. I already had the libwxgtk libs (including the development libs) you mentioned installed except for 2.4 which I installed as well. If I open the file in a terminal I get this:

:
gmaq@gmaq-laptop:~$ hcbatchgui
hcbatchgui: error while loading shared libraries: libwx_gtk2_richtext-2.8.so.0: cannot open shared object file: No such file or directory
gmaq@gmaq-laptop:~$


I don't see any such specific file in synaptic. Weird.



freebird73717 posted 2008 May 22 10:11
I also have installed the python-bindings
python-wxgtk2.6 and python-wxgtk2.8
You should be able to get them through synaptic although if not then you can get them here
http://wiki.wxpython.org/InstallingOnUbuntuOrDebian

That is the only other references to wx I have installed. If that don't work I'm going to have to do some serious looking at the code to figure out what is missing.

I still think it is down to missing librairies though. Just gotta figure out which ones.



GMaq posted 2008 May 22 11:37
Arghhh!

Installed the python-wxgtk libs (they were in Synaptic) No-go with same error in the terminal. It would be nice if we could get another machine to try, then we would have a little better idea if this would be a problem that any new user would face or if it's confined to my machine. I could try it on my desktop, but that would not be until this evening, I have virtually identical Ubuntu setups on both my machines. It's funny I ran 8.04 on my laptop for a couple of days, but I just couldn't get it to behave with the stability of 7.10, especially the -rt kernel, I was dissappointed also that many of the applications in the repos were no newer, so I was going to have to compile to get them anyway.

Anyway back to business, Would any of our other 'Buntu users be willing to try the gtk hcbatchgui? Your help would be appreciated.



tekkieman posted 2008 May 22 11:56
GMaq :


Anyway back to business, Would any of our other 'Buntu users be willing to try the gtk hcbatchgui? Your help would be appreciated.


I have a couple of instances in VMs. One of them may even have mono installed. If I can help, let me know.



freebird73717 posted 2008 May 22 12:33
Please do. I just need to know what libs I left out. The darn thing works fine on my machine.


tekkieman posted 2008 May 22 15:24
Sorry, same error as GMaq.


GMaq posted 2008 May 22 15:29
@Tekkieman

Thanks!

@Freebird

I installed it on my desktop, same issue I'm afraid. I didn't install any extra libraries because that would probably defeat the purpose of it being something anybody could extract and run from the folder. I'm sorry this is such a headache for you, if we get input from some other users maybe it will be easier to figure out what's missing. Obviously you will want to get it working, For now the Windows version still works with Wine correct?

Of course I am willing to continue to try any suggestions you may have. I'm running out of ideas, but I won't be able to sleep until we figure it out!



tekkieman posted 2008 May 22 17:31
I hate to jump in here as I know freebird will get this all sorted, but it appears that there are a couple of missing dependencies:

libwxbase2.8-0-ansi
libwxgtk2.8-0-ansi

I could not find these in the standard gutsy repos, but I did find them from an external source. Since I'm running in a VM, I don't really care how bad I hose this install, but I hesitate to suggest an outside repo. If anyone is interested, here is a link to how I found them https://lists.ubuntu.com/archives/kubuntu-users/2007-August/019356.html

After adding both of those, the gui launched for me. I still got an error about a missing image in the wine hc directory, but I'm not really trying to use this, just sort the stated issue.



GMaq posted 2008 May 22 18:06
Thanks Again Tekkie!

You've found a real needle in a haystack there!



freebird73717 posted 2008 May 23 14:59
Hey guys. Just wanted to let ya know that I didn't just wander off. Had a tooth that has been killing me and can hardly see straight. Just got back from the dentist just now. Darn tooth was cracked. Talk about pain. They drilled two teeth today. Anyways...

Tekkieman thanks for the trouble shooting. What is funny is that I don't have those particular libraries installed on my machine.

I did some checking and I didn't Include the libraries I thought I did into the executable. I will work on that.

Gmaq did you try tekkie's solution and did it work for you?

Thanks for hanging in there. Now time to go get stupid on some pain pills....



GMaq posted 2008 May 23 15:21
Hi,

Sorry about your tooth, that's gotta suck.

I didn't have time to do much more last night, but I had a moment this aft to track down the libraries that our esteemed Tekkieman has provided, and yes they did allow me to launch the GUI. That's as far as I got and I have a weekend full of family gatherings and a rather lengthy Honey-Do list to attend to, When time permits I will investigate further. I did also have the Wine error issue that Tekkieman described, and an error about the config file when I exited, perhaps that's normal since i didn't have time to do the setup on the last tab. Enjoy the painkiller high, and I will post back when i have had a better look.



freebird73717 posted 2008 May 23 17:42
To make things easier for debian/Ubuntu users here are the debs for the two packages needed to let hcbatchgui run


[s:0f7d776a9b]edit 05-23-08
Libraries neeeded to run the gui. Thanks to tekkiman
libwxbase2.8-0-ansi_2.8.7.1-0_i386.deb
libwxgtk2.8-0-ansi_2.8.7.1-0_i386.deb[/s:0f7d776a9b]
external libraries are no longer needed.

That way there is no need to mess with your repo lists.



ronnylov posted 2008 May 24 04:53
Will it work with ubuntu 8.04 LTS x64?
I have still not installed hcbatchgui...



freebird73717 posted 2008 May 24 07:56
As long as you install the required debs linked in my post above then yes it should work just fine.


GMaq posted 2008 May 24 08:25
ronnylov :
Will it work with ubuntu 8.04 LTS x64?
I have still not installed hcbatchgui...


ronnylov,

The Wine (Windows) executables should work, however if you are having problems with the Linux apps on the gtk side you may need to install the "ia32-libs" package to run 32bit apps on your 64 bit system.



GMaq posted 2008 May 26 20:09
Hi Freebird,

I am getting this error when I run the hcbatchgui exectable, it would appear that the application is looking for some .ico files that are on your system since I don't have any drives or directories with these names on mine.






freebird73717 posted 2008 May 26 20:26
Yep. That is supposed to be my simple little program icon. Danged this is not working out as simple as it is supposed to!

Thanks for point that out. I will work on that tomorrow.



freebird73717 posted 2008 May 29 07:20
Okay here is a small update. This should take care of the missing image problem. Replace the hcbatchgui in your current package with this one.

Download updated binary

Download full updated package from sourceforge





Solved!
[s:7b4d27bd51]As a side note I am starting to get seriously ticked off at wxwidgets. I have spent the past couple of days recompiling wxwidgets into static libraries to make the binary self sufficient. I am having no luck. I have done everything like I was supposed to do and yet the app will still not work unless you download external libraries mentioned in an earlier post. So I'm now looking into alternatives. Right now I'm looking as Lazarus for an IDE which uses free pascal for it's language.[/s:7b4d27bd51]



GMaq posted 2008 May 29 07:58
Freebird,

Thanks as always for your hard work! I will give it another go.

BTW WinFF is written with Lazarus, Matt, the developer is very forthcoming with info, if you want to pick his brain: www.winff.org



buzzqw posted 2008 May 29 08:22
don't want to bother... but even purebasic can bring good result in very self contained executable

btw look at autoff source just for a "view" http://www.64k.it/andres/data/autoff/autoff_0_99_1.tar.gz

very easy to learn, even for me ;)

BHH



freebird73717 posted 2008 May 29 08:31
Hey buzzqw
Your no bother at all. I appreciate any input. Actually I already have looked at your source for autoff and yes I probably could learn it easily enough but... purebasic is $99 and Lazarus/free pascal is free and my wife would kill me if I bought another piece of software right now! ;)

Off topic I really need to update my windows build but I just want this linux build to work like it is supposed to.



buzzqw posted 2008 May 29 08:54
well.. i informed my wife after i buy the license :D

BHH



GMaq posted 2008 May 29 09:22
Ha, that reminds me,

HUSBANDS CREDO:

"It's always easier to beg for forgiveness, than to ask for permission"



GMaq posted 2008 May 29 13:35
OhOh! (covers head and ducks)

The latest executable won't run unless I run it from the terminal as a user, not root(?) Even with the permissions set to "execute as a program". Thought I'd better let you know.



freebird73717 posted 2008 May 29 16:28
Well horse puckey! Gosh golly dang darn it all to heck.... hey I have young kids. That's about as bad as my cursing gets

That is really wierd. I also had to set it to execute as a program but after that it worked okay. I guess it is just one more thing on my list to figure out!

Right now that $99 would be worth it if I could make this dang thing work right.

Oh well. Nothing worthwhile ever comes easy.



freebird73717 posted 2008 May 29 22:51
SUCCESS! I think I've got it. I once again recompiled wxwidgets into a static library using the "--disable-shared" option and then recompiled hcbatchgui. I then tested this new binary by putting in my ubuntu live cd and running my computer from the live cd. I figured if it would run from a live cd with no libraries installed then all should be well. And I'll be danged if it actually worked! I've tried this before recompiling and it didn't work so since it works from the cd now I think I have finally ironed out the major problems. You may have to set the permissions to "Allow executing file as a program" or for the more experienced users do a chmod +x but beyond that everything should work.

I want to seriously apologize to everyone who has downloaded this and gotten frustrated with the problems. I really should have done much more testing before releasing this package. I also want to thank Gmaq and Tekkieman for helping me sort out the problems. Couldn't have gotten this far without you guys.

For those that are willing to try again you can download a replacement binary here.
hcbatchgui.tar.gz

Just replace the hcbatchgui executable in your current package with this new one.

I also plan to update the sourceforge package.
-edit I have now also updated the gtk package at sourceforge



buzzqw posted 2008 May 30 13:10
i can confirm that on may debian sid your new hcbatchgui haven't requested any library

BHH



freebird73717 posted 2008 May 30 13:25
Beautiful!

Thanks for confirming that buzzqw.

Now that I have wxwidgets compiled into a static library and everything seems to be working okay so far, I can concentrate on other small tweaks like including a nice icon for the program.



GMaq posted 2008 May 30 15:43
Freebird,

Working now here as well! Thanks a lot, You Rock!



freebird73717 posted 2008 May 30 16:03
Well to be honest I'm a little embarrassed at the problems but I'm glad that it's finally working now.

I appreciate your patience and understanding. I know you have been waiting for this to encode your family memories to dvd. At least now you can make your wife happy! Tell her I'm sorry for the delay!



tekkieman posted 2008 May 30 16:23
@freebird

I am not overly involved in this, but from my perspective, you have nothing to be embarrassed about. You selflessly donated your time and experience to provide a useful tool to a community of people you do not directly know. Those who were interested in what you were doing tried to provide assistance and feedback where they could. In the end, you succeeded admirably. Isn't that really what the F/OSS movement is all about?

While this is primarily your thread for your creation, let me also take this opportunity to express similar thanks and appreciated to buzzqw for his work on AutoFF and GMaq for his work on WinFF. You people are an inspiration!



GMaq posted 2008 May 30 17:22
Freebird,

I second what Tekkie there is saying, you've got nothin' to be embarrassed about at all! I can't imagine how a developer could be more tuned in to his potential audience, obviously if your prog is behaving differently on a development machine than an end-user machine that just how things go... especially when you're programming in "uncharted waters"

Now Tekkie while your handing out the dollops of sugar, don't forget yourself! If I don't miss my guess, Freebird, and myself are here because of you in the first place. Also I'm no developer like yourself, Freebird and Buzz. However I appreciate the compliment....back atcha!

Enjoy the weekend my "indirect" friends!



freebird73717 posted 2008 May 30 17:35
Thanks for the kind words guys.



Login/Register to our forum to be able to post here.








About   Advertise   Forum Archive   RSS Feeds   Statistics