MultiConvert - GUI for commandline file converters

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

MultiConvert - GUI for commandline file converters

#1 Post by MU »

This grafical interace lets you convert a bunch of files using your favourite commandline-converter.
Convert some pictures with ImageMagick (not available yet), or some mp3 with lame.

The files are converted parallel (all at the same time), so it is very fast.


Instructions

Choose some files (the "Bookmarks" are very usefull to switch directories quickly).
Then click on "convert":
Image

Now you see a list with your commandline-programs already added:
Image

Click on the converter you need, and...
Image

When all XTerms have closed, click on "reload" to see the new files:
Image


To add own converters, use the "edit list" -button in the converter-Dialog.
A small editor will open:
Image

Note, that the UPPERCASE words are variables (PATH and FILE and FILENOSUFFIX), so you are able to replace a original filename like "Song.mp3" to "Song-converted.wav" (FILENOSUFFIX-converted.wav)

Installation:

This program requires Perl.
If you don't have the Developper-Addon "usr_devx.sfs", then please install miniperl: http://dotpups.de/dotpups/Programming/Perl-mini.pup (730 kb, 2.3 MB extracted).

You also need the "real XTerm" (313 kb):
http://noforum.de/dotpups/tierra/xterm.pup

Perl-mini already includes Gtk-perl.pm.
Attachments
Multi-Convert001.pup
(15.05 KiB) Downloaded 790 times
Last edited by MU on Fri 02 Dec 2005, 08:41, edited 4 times in total.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post by Lobster »

There is talk of perl in Puppy Tardis (107)
http://puppylinux.org/wikka/DownloadLatest

8)
Last edited by Lobster on Wed 16 Nov 2005, 05:16, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

thats cool.
You can create grafical apps with perl using the Gtkperl-module.
the tarball is 347 kb, and I am not shure if all files are really needed (i just found some headerfiles you certainly could delete).

Perl/Gtk is comparable to wxBasic.
You can alter every detail of a window, different to the Dialogs PuppyBasic uses.

Perl/Gtk will be a very small and potential tool for Software-development (but it is not as easy as PuppyBasic).

I even once wrote a (very simple) Soundplayer (using the SDL-Library), that has round skins like mplayer: http://f24.parsimony.net/forum54930/messages/59880.htm
http://f24.parsimony.net/forum54930/messages/59927.htm

Mark

Guest

#4 Post by Guest »

I have downloaded and installed the pups mentioned above and multiconvert will not start. I am using 1.0.6 and icewm. The menus have them listed but nothing happens when I click on them. Is there an english readme? I tried to decipher some of the files but my German is not that good!.

I have been looking for a batch conversion way to make my .mp3's to .wav and this seems what I'm looking for.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

Open a console window, and type:

perl

Then report the errors.
If there are no errors, type:

cd /usr/local/Multi-Convert001
./multiconvert

and report the errors.

Mark

Guest

#6 Post by Guest »

I get no errors with "gcc -v"
I do have usr_devx.sfs in /mnt/home ( I can't remeber why, but I needed it for something else)

"perl -v" gives me v5.8.0

Here is my error message:
# ./multiconvert
Useless use of a variable in void context at ./multiconvert line 25.
Useless use of a variable in void context at ./multiconvert line 26.
Useless use of a variable in void context at ./multiconvert line 28.
Useless use of a variable in void context at ./multiconvert line 29.
Name "main::homepath" used only once: possible typo at ./multiconvert line 24.
Name "main::copyliste" used only once: possible typo at ./multiconvert line 25.
-#-#-/usr/local/Multi-Convert001
Use of uninitialized value in string at ./multiconvert line 45.
testing
Can't locate object method "init" via package "Gtk" at ./multiconvert line 58.
#


trapster

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

Ok, I will check that out later with a fresh pup001.
I currently compile a new xserver, that may take some hours.

Once thing you could try in advance:

cd /mnt/home
ls -l usr_devx.sfs

This should report
-rw------- 1 root root 45178880 Nov 9 01:54 usr_devx.sfs

If the size is different, you might have an older version missing something.
But this is just a guess, I will try it later.

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

It works on another Puppy 106, where I did not install any other Perl-stuff except these 2 Dotpups.
So i think you have a usr_devx.sfs, that was made for Puppy 105.

Is that possible?

Mark

Guest

#9 Post by Guest »

Ah....yes. usr_devx.sfs was already there when I upgraded from 1.0.5. So it just may need a more recent usr_devx.sfs? Where do I find the most recent? I am at work at the moment but will check it out as soon as I can.

Thanks for your help!!

trapster

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#10 Post by MU »

http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux/
http://dotpups.de/puppy-releases/1.0.6/development/

Don't wonder about the different filesize, the servers/script use different methods to calculate the size.

Mark

Guest

#11 Post by Guest »

I installed the latest usr_devx.sfs, rebooted and no go. Unfortunately, I am still getting the same error messages.

# multiconvert
Useless use of a variable in void context at /usr/local/bin/multiconvert line 25.
Useless use of a variable in void context at /usr/local/bin/multiconvert line 26.
Useless use of a variable in void context at /usr/local/bin/multiconvert line 28.
Useless use of a variable in void context at /usr/local/bin/multiconvert line 29.
Name "main::homepath" used only once: possible typo at /usr/local/bin/multiconvert line 24.
Name "main::copyliste" used only once: possible typo at /usr/local/bin/multiconvert line 25.
-#-#-/usr/local/bin
Use of uninitialized value in string at /usr/local/bin/multiconvert line 45.
testing
Can't locate object method "init" via package "Gtk" at /usr/local/bin/multiconvert line 58.
#

I did have to move around some files after it complained about not finding the .pl files in /usr/bin/perl5/5.8.0

I have yet to configure anything inside configuratux for this due to the German, may that be it?

Any other suggestions??


trapster

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#12 Post by MU »

Ok, you can remove usr_devx.sfs , as I made a "mini-perl".
I tested it on a completely new pup001 (Puppy 106).

http://www.murga.org/%7Epuppy/viewtopic.php?t=4193

Does it work now?
Mark

Guest

#13 Post by Guest »

I removed usr_devx.sfs and installed the mini-perl.pup. Rebooted (just in case) and tried it again.

This is now what I get:

#multiconvert
-#-#-/usr/local/bin
testing
--.
--..
--defaultbrowser
--defaultcontact
--defaultemail
--defaulttexteditor
--defaultcalendar
--defaultwordprocessor
--defaulthtmleditor
--gcombust
--gcombustshell
--xcdroast
--mp3info
--gmp3info
--rec
--play
--sox
--soxmix
--rxvt
--multiconvert
--run-xterm
--tcdr
--LinNeighborhood
--LinPopUp
--MToolsFM
--Start.menu
--TkZip
--Xdialog
--abiword
--agenda
--agenda_chk
--agendashell
--beaver
--bluefish
--bubbles.tcl
--cgtkcalc
--countdown.tcl
--defaultchat
--defaultdialup
--defaultdraw
--defaultmediaplayer
--defaultpaint
--defaultspreadsheet
--dia
--didiwiki
--dillo
--dotpup
--epstool
--fig2dev
--figurine
--firefox
--fmradioshell
--gaby
--gaim
--gaim-remote
--gbase
--gbc
--gemgame.tcl
--generator.tcl
--gftp
--ghostview
--gifdiff
--gifsicle
--gifview
--gimp
--gkdial
--gnetconfig
--gnp
--gnumeric
--gpasman
--gpilog
--gplaycd
--graveman
--greyboard
--gsview
--gtimer
--gtkcat
--gtkdiff
--gtkfind
--gtkfish
--gtkmoz
--gtksee
--guitar
--gv
--gxhost
--gxine
--gxine_client
--leafpad
--levelmeter.tcl
--madplay
--mime_start
--mixer.tcl
--mlshell
--mozaddressbook
--mozcalendar
--mozedit
--mozilla
--mozmail
--mozstart
--mp
--mpcb
--mtoolsfmshell
--mtpaint
--mtpaintsnapshot.sh
--netscape
--phv
--play.tcl
--proc.sh
--puppydownload
--quispshell
--rdesktop
--rdesktopshell
--regexpviewershell
--rexgrep
--ripperX
--ripperX_plugin-cdparanoia
--ripperX_plugin-lame
--rox
--rtf2pdf.sh
--rtf2ps.sh
--rubix
--sendto
--snamp.tcl
--sodipodi
--superscan
--sylpheed
--ticker
--ticker2
--tkConvert
--tkdvd
--tkmasqconf
--tkmasqdial
--tkmines
--tkvnc.tcl
--tomAmp.tcl
--turma
--usbview
--uxplor
--vtcl
--wavplay
--wavrec
--xcut
--xfinans
--xli
--xlito
--xmixer
--xpaint
--xproc
--xrun
--xs.tcl
--xtmix
--xv
--xwhois
--ycalc
pixmap is not of type Gtk::Gdk::Pixmap at /usr/local/bin/multiconvert line 353

It does seem like a window pops up and then disappears quickly.

I am sorry to say but I am about to give up on this one and find another way.

trapster

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#14 Post by MU »

if you run "multiconvert", it does run from a wrong path and can not find the picture.


I updated the Dotpup.
Now it has a shellscript called "run-multiconvert" that sets up the Path correct and then runs multiconvert.

Mark

Guest

#15 Post by Guest »

Mark,

Thank you for your patience! I am now at peace and able to convert my .mp3's to .wav's for burning.

I just love this puppy!!!

trapster

Post Reply