FFConvert - multimedia converter
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Hi shinobar,
I had just downloaded wary090.
Nice idea to put de/LC_MESSAGES/ffconvert.mo
So I updated from doc/.../nls/...pot.
Regards
I had just downloaded wary090.
Nice idea to put de/LC_MESSAGES/ffconvert.mo
So I updated from doc/.../nls/...pot.
Regards
- Attachments
-
- ffconvert_de.tar.gz
- /usr/share/locale/de/LC_MESSAGES/ffconvert.mo
/usr/share/doc/ffconvert/nls/ffconvert_de.po - (3.9 KiB) Downloaded 670 times
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Hi Flash,
shinobar will understand it, but here is an explanation for you and all who are interested in localization.
I was testing the german translation and uploaded the recreated result.
wary090 contains /usr/bin/ffconvert which is internationalized.
The German translation file is
/usr/share/locale/de/LC_MESSAGES/ffconvert.mo (de for German).
It is ( besides japanese ) the only language file in wary090. shinobar will put it into the language-pack_de and then it will be wasting space in the main.sfs no more!
.mo stands for 'machine object' and can be created by the gettext utility msgfmt from the 'portable object' file
/usr/share/doc/ffconvert/nls/ffconvert_de.po
which is editable in geany (or in yudit for languages which write from right to left).
If you want to use the german ffconvert:
Desktop > Choose Locale Country Setup
choose de_DE
no need to restart X
You can launch ffconvert in German language from terminal:
You will see the GUI with some textes not translated and some ugly characters which are not german.
Now apply the new translation:
edit /usr/bin/ffconvert to:
copy the new translation ffconvert.mo to
/usr/share/locale/de/LC_MESSAGES
and relaunch
Now everything is allright.
'export OUTPUT_CHARSET=UTF-8' is nort really a bug and shinobar will correct it, I am sure about this
You can launch ffconvert in English by
If you like to produce a translation to another language feel free to do so!
Hope that helps
Cheers
you are absolutely right.terse or cryptic
shinobar will understand it, but here is an explanation for you and all who are interested in localization.
I was testing the german translation and uploaded the recreated result.
wary090 contains /usr/bin/ffconvert which is internationalized.
The German translation file is
/usr/share/locale/de/LC_MESSAGES/ffconvert.mo (de for German).
It is ( besides japanese ) the only language file in wary090. shinobar will put it into the language-pack_de and then it will be wasting space in the main.sfs no more!
.mo stands for 'machine object' and can be created by the gettext utility msgfmt from the 'portable object' file
/usr/share/doc/ffconvert/nls/ffconvert_de.po
which is editable in geany (or in yudit for languages which write from right to left).
If you want to use the german ffconvert:
Desktop > Choose Locale Country Setup
choose de_DE
no need to restart X
You can launch ffconvert in German language from terminal:
Code: Select all
LANG=de_DE; ffconvert
Now apply the new translation:
edit /usr/bin/ffconvert to:
Code: Select all
#!/bin/sh
# FFConvert - a frontend of ffmpeg
# 20 Jul 2010 by shinobar <shino@pos.to>
export OUTPUT_CHARSET=UTF-8
VERSION="1.0"
/usr/share/locale/de/LC_MESSAGES
and relaunch
Code: Select all
LANG=de_DE; ffconvert
'export OUTPUT_CHARSET=UTF-8' is nort really a bug and shinobar will correct it, I am sure about this
You can launch ffconvert in English by
Code: Select all
LANG=en_US; ffconvert
Hope that helps
Cheers
Development ffconvert
I was almost forgetting it. Thanks.L18L wrote:'export OUTPUT_CHARSET=UTF-8' is nort really a bug and shinobar will correct it, I am sure about this
I am planning the next release, but time goes by...
Attached a development version.
It is not PET because it is not official release. Use who knows how to use.
It does not contain full components. Only the script and the launcher(.desktop file).
Use with ffconvert-1.0.
The development version can launch with the launcher or clicking the script.
Or type 'ffconvert-1.1' from the virtual terminal.
- Attachments
-
- ffconvert-1.1.tar.gz
- Recomended with ffconvert-1.0 installed
- (9.95 KiB) Downloaded 677 times
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Just tried to convert 2barks.au to mp3 mono (wary090)
output:
result sounds good in Pmusic
no sound in mplayer
May others
Code: Select all
# LANG=de_DE@euro;ffconvert-1.1
Code: Select all
/usr/bin/ffconvert-1.1: line 130: 31775 Terminated gtkdialog3 -p DIALOG >/dev/null
(gtkdialog3:1858): GLib-GObject-WARNING **: gsignal.c:3079: signal name `depressed' is invalid for instance `0x8532258'
/usr/bin/ffconvert-1.1: line 774: 31783 Terminated gtkdialog3 -p DIALOG >/dev/null
[1]+ Terminated gtkdialog3 -p DIALOG >$REPFILE
#
no sound in mplayer
May others
do more testing.who knows how to use
Code: Select all
# LANG=de_DE@euro;ffconvert-1.1
Code: Select all
/usr/bin/ffconvert-1.1: line 130: 31775 Terminated gtkdialog3 -p DIALOG >/dev/null
(gtkdialog3:1858): GLib-GObject-WARNING **: gsignal.c:3079: signal name `depressed' is invalid for instance `0x8532258'
/usr/bin/ffconvert-1.1: line 774: 31783 Terminated gtkdialog3 -p DIALOG >/dev/null
[1]+ Terminated gtkdialog3 -p DIALOG >$REPFILE
#
The output on the terminal is nomal.
The GLib-GObject-WARNING can be seen with Lucid Puppy(LupQ/Lupu). Suspect the gtkdialog3 bug or compiled under different environment.
Changes of 1.1
Code: Select all
# 28 Jul 2010 check ffmpeg suports for each codec, crop and zoom, libvovis instead of ovis
# 10 Oct 2010 progress bar, allow both 'orvis' or 'liborvis' as the codec name
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
To remain compatible with older versions of FFmpeg in older puppy's, what about this script: http://www.murga-linux.com/puppy/viewto ... 967#456967.shinobar wrote:Changes of 1.1Known problem: Canceling the job.Code: Select all
# 28 Jul 2010 check ffmpeg suports for each codec, crop and zoom, libvovis instead of ovis # 10 Oct 2010 progress bar, allow both 'orvis' or 'liborvis' as the codec name
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
backward conpatible
Tnx. The wrapper is great.abushcrafter wrote:To remain compatible with older versions of FFmpeg in older puppy's, what about this script: http://www.murga-linux.com/puppy/viewto ... 967#456967.
FFconvert-1.1 itself also has the code:
Code: Select all
# 10 Oct 2010 progress bar, allow both 'orvis' or 'liborvis' as the codec name
Code: Select all
VCODEC=$(echo "$VCODECS" | grep -w "$VCODEC1")
if [ "$VCODEC" = "" ] ; then
case $VCODEC1 in
lib*) VCODEC=$(echo $VCODEC1| sed -e 's/^lib//') ;;
*) VCODEC="lib$VCODEC1";;
esac
VCODEC=$(echo "$VCODECS" | grep -w "$VCODEC")
fi
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I added your development version of ffconvert to my bashbox script - it went fairly smoothly. (I am trying to consolidate as many functions as possible into a single script to ease development) Once we get everything together we can probably do some significant code reduction through code reuse (another bonus would be a unified look and feel).
Let me know what you think....or any other goodies you'd like to see added.
bashbox thread
Let me know what you think....or any other goodies you'd like to see added.
bashbox thread
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
Re: backward conpatible
Oh/arrr. So what does "progress bar" mean in the change log? Thanks for pointing out xvid. Will add that to the script.shinobar wrote:Tnx. The wrapper is great.abushcrafter wrote:To remain compatible with older versions of FFmpeg in older puppy's, what about this script: http://www.murga-linux.com/puppy/viewto ... 967#456967.
FFconvert-1.1 itself also has the code:Also xvid and can be another have same situation.Code: Select all
# 10 Oct 2010 progress bar, allow both 'orvis' or 'liborvis' as the codec name
Code: Select all
VCODEC=$(echo "$VCODECS" | grep -w "$VCODEC1") if [ "$VCODEC" = "" ] ; then case $VCODEC1 in lib*) VCODEC=$(echo $VCODEC1| sed -e 's/^lib//') ;; *) VCODEC="lib$VCODEC1";; esac VCODEC=$(echo "$VCODECS" | grep -w "$VCODEC") fi
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
- Attachments
-
- ffconvert_es.tar.gz
- /usr/share/locale/es/LC_MESSAGES/ffconvert.mo
/usr/share/doc/ffconvert/nls/ffconvert_es.po
md5sum: d255cdf1565ed2240e0c19d56ad782f1 - (3.97 KiB) Downloaded 596 times
-
- Posts: 33
- Joined: Thu 17 Jun 2010, 01:14
- Location: Atlanta, GA
ffmpeg
FFConvert works beautifully on my Fluppy 10 installation to convert a flac file to MP3. On the same machine when I try to do the same task using ffmpeg I get an error for unknown encoder libmp3lame. What would the ffmpeg command look like that FFConvert is creating? Any help is greatly appreciated.
Pat
Pat
-
- Posts: 33
- Joined: Thu 17 Jun 2010, 01:14
- Location: Atlanta, GA
- ravensrest
- Posts: 365
- Joined: Fri 22 Feb 2008, 16:43
- Location: Grants Pass, Oregon
I reported this in the Wary 5.0-final bug report, but that appears to be the wrong spot, so I'll retry here in the hopes someone can answer.
I can't seem to get FFConvert multimedia converter in Wary 5.0 to produce playable files. If I try to select and convert any ogg file (say Magic-Pilot.ogg) to an mp3 file using ffconvert, a file approximately 2.4 meg long is produced, but it lasts only a few milliseconds and is not recognizable. The command line produced by ffconvert is:
If I just convert using ffmpeg directly using either of these two statements from the command line:
a 2.7 meg mp3 file is produced that plays correctly in any mp3 player I have tried.
What is wrong?
I can't seem to get FFConvert multimedia converter in Wary 5.0 to produce playable files. If I try to select and convert any ogg file (say Magic-Pilot.ogg) to an mp3 file using ffconvert, a file approximately 2.4 meg long is produced, but it lasts only a few milliseconds and is not recognizable. The command line produced by ffconvert is:
Code: Select all
ffmpeg -i "/data/music/1970s/Magic-Pilot.ogg" -y -f mp3 -acodec libvorbis -ab 128k "/data/Magic-Pilot.mp3"
Code: Select all
ffmpeg -i "/data/music/1970s/Magic-Pilot.ogg" -ab 128k "/data/magicpilot.mp3"
ffmpeg -i /data/music/1970s/Magic-Pilot.ogg -ab 128k /data/magicpilot.mp3
What is wrong?
-
- Posts: 33
- Joined: Thu 17 Jun 2010, 01:14
- Location: Atlanta, GA
ravensrest: Sorry I am no help with your problem. How are you able to determine what the command line that ffconvert generates is?can't seem to get FFConvert multimedia converter in Wary 5.0 to produce playable files. If I try to select and convert any ogg file (say Magic-Pilot.ogg) to an mp3 file using ffconvert, a file approximately 2.4 meg long is produced, but it lasts only a few milliseconds and is not recognizable. The command line produced by ffconvert is:
Pat
- ravensrest
- Posts: 365
- Joined: Fri 22 Feb 2008, 16:43
- Location: Grants Pass, Oregon
GaRailroader, there are two ways I know of to see the command FFConvert generates. First, while it is converting it creates a file "ffconvert..*.sh" in the /tmp/directory. Open this as a text file to see the command line. Second, if you run ffconvert in a terminal it will print the command to the terminal.
BS
BS
Converting ogg to mp3
Have you loaded the preset for 'MP3 Audio'?ravensrest wrote:I can't seem to get FFConvert multimedia converter in Wary 5.0 to produce playable files. If I try to select and convert any ogg file (say Magic-Pilot.ogg) to an mp3 file using ffconvert, a file approximately 2.4 meg long is produced, but it lasts only a few milliseconds and is not recognizable. The command line produced by ffconvert is:Code: Select all
ffmpeg -i "/data/music/1970s/Magic-Pilot.ogg" -y -f mp3 -acodec libvorbis -ab 128k "/data/Magic-Pilot.mp3"
Or, select 'libmp3lame' for the audio codec.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
- ravensrest
- Posts: 365
- Joined: Fri 22 Feb 2008, 16:43
- Location: Grants Pass, Oregon
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact: