| Author |
Message |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 15 Nov 2005, 23:19 Post subject:
MultiConvert - GUI for commandline file converters |
|
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":
Now you see a list with your commandline-programs already added:
Click on the converter you need, and...
When all XTerms have closed, click on "reload" to see the new files:
To add own converters, use the "edit list" -button in the converter-Dialog.
A small editor will open:
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.
 |
| Description |
|

Download |
| Filename |
Multi-Convert001.pup |
| Filesize |
15.05 KB |
| Downloaded |
521 Time(s) |
| Description |
Just needed for usr_devx.sfs, not needed if you use miniperl
|

Download |
| Filename |
Gtk-perl.pup |
| Filesize |
347.54 KB |
| Downloaded |
546 Time(s) |
Last edited by MU on Fri 02 Dec 2005, 04:41; edited 4 times in total
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 16 Nov 2005, 00:51 Post subject:
|
|
There is talk of perl in Puppy Tardis (107)
http://puppylinux.org/wikka/DownloadLatest
_________________ Puppy WIKI
Last edited by Lobster on Wed 16 Nov 2005, 01:16; edited 1 time in total
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 16 Nov 2005, 01:10 Post subject:
|
|
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
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Tue 29 Nov 2005, 13:40 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 29 Nov 2005, 13:48 Post subject:
|
|
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
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Tue 29 Nov 2005, 18:21 Post subject:
|
|
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
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 29 Nov 2005, 19:28 Post subject:
|
|
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
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 30 Nov 2005, 11:30 Post subject:
|
|
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
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Wed 30 Nov 2005, 13:32 Post subject:
|
|
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
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 30 Nov 2005, 14:08 Post subject:
|
|
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
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Wed 30 Nov 2005, 19:10 Post subject:
|
|
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
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 01 Dec 2005, 03:30 Post subject:
|
|
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
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Thu 01 Dec 2005, 19:00 Post subject:
|
|
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
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Fri 02 Dec 2005, 04:34 Post subject:
|
|
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
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Fri 02 Dec 2005, 20:20 Post subject:
|
|
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
|
|
Back to top
|
|
 |
|