Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 31 Oct 2014, 07:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
FFConvert - multimedia converter
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 7 of 16 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 14, 15, 16 Next
Author Message
L18L

Joined: 19 Jun 2010
Posts: 2537
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sat 09 Oct 2010, 15:42    Post_subject:
Sub_title: german translation updated
 

Hi shinobar,

I had just downloaded wary090.
Nice idea to put de/LC_MESSAGES/ffconvert.mo
So I updated from doc/.../nls/...pot.

Regards
ffconvert_de.tar.gz
Description  /usr/share/locale/de/LC_MESSAGES/ffconvert.mo
/usr/share/doc/ffconvert/nls/ffconvert_de.po
gz

 Download 
Filename  ffconvert_de.tar.gz 
Filesize  3.9 KB 
Downloaded  462 Time(s) 
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11128
Location: Arizona USA

PostPosted: Sat 09 Oct 2010, 23:50    Post_subject:  

L18L, your explanation is too terse or cryptic. Would you please add some meat to it? Thanks. Smile
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2537
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sun 10 Oct 2010, 08:59    Post_subject:
Sub_title: some meat to explanation of internationalisation
 

Hi Flash,
Quote:
terse or cryptic
you are absolutely right.
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:
LANG=de_DE; ffconvert


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:
Code:
#!/bin/sh
# FFConvert - a frontend of ffmpeg
# 20 Jul 2010 by shinobar <shino@pos.to>
export OUTPUT_CHARSET=UTF-8
VERSION="1.0"

copy the new translation ffconvert.mo to
/usr/share/locale/de/LC_MESSAGES
and relaunch
Code:
LANG=de_DE; ffconvert

Now everything is allright.
'export OUTPUT_CHARSET=UTF-8' is nort really a bug and shinobar will correct it, I am sure about this Very Happy

You can launch ffconvert in English by
Code:
LANG=en_US; ffconvert


If you like to produce a translation to another language feel free to do so!
Hope that helps
Cheers
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sun 10 Oct 2010, 10:10    Post_subject: Development ffconvert
Sub_title: some meat to explanation of internationalisation
 

L18L wrote:
'export OUTPUT_CHARSET=UTF-8' is nort really a bug and shinobar will correct it, I am sure about this Very Happy

I was almost forgetting it. Thanks.

I am planning the next release, but time goes by... Laughing

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.
ffconvert-1.1.tar.gz
Description  Recomended with ffconvert-1.0 installed
gz

 Download 
Filename  ffconvert-1.1.tar.gz 
Filesize  9.95 KB 
Downloaded  454 Time(s) 

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
L18L

Joined: 19 Jun 2010
Posts: 2537
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sun 10 Oct 2010, 11:42    Post_subject:
Sub_title: development version 1.1
 

Just tried to convert 2barks.au to mp3 mono (wary090)

Code:
# LANG=de_DE@euro;ffconvert-1.1
output:
Code:
/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
#

result sounds good in Pmusic Very Happy
no sound in mplayer Crying or Very sad
May others
Quote:
who knows how to use
do more testing.
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sun 10 Oct 2010, 21:25    Post_subject:
Sub_title: development version 1.1
 

Code:
# LANG=de_DE@euro;ffconvert-1.1
output:
Code:
/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
#

Thanks for testing.
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:
# 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

Known problem: Canceling the job.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Mon 11 Oct 2010, 12:16    Post_subject:
Sub_title: development version 1.1
 

shinobar wrote:
Changes of 1.1
Code:
# 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

Known problem: Canceling the job.
To remain compatible with older versions of FFmpeg in older puppy's, what about this script: http://www.murga-linux.com/puppy/viewtopic.php?p=456967#456967.
_________________
adobe flash is rubbish!
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/
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 11 Oct 2010, 21:09    Post_subject: backward conpatible
Sub_title: development version 1.1
 

abushcrafter wrote:
To remain compatible with older versions of FFmpeg in older puppy's, what about this script: http://www.murga-linux.com/puppy/viewtopic.php?p=456967#456967.

Tnx. The wrapper is great.

FFconvert-1.1 itself also has the code:
Code:
# 10 Oct 2010 progress bar, allow both 'orvis' or 'liborvis' as the codec name

Also xvid and can be another have same situation.
Code:
    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

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Tue 12 Oct 2010, 00:07    Post_subject:  

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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Tue 12 Oct 2010, 17:03    Post_subject: Re: backward conpatible
Sub_title: development version 1.1
 

shinobar wrote:
abushcrafter wrote:
To remain compatible with older versions of FFmpeg in older puppy's, what about this script: http://www.murga-linux.com/puppy/viewtopic.php?p=456967#456967.

Tnx. The wrapper is great.

FFconvert-1.1 itself also has the code:
Code:
# 10 Oct 2010 progress bar, allow both 'orvis' or 'liborvis' as the codec name

Also xvid and can be another have same situation.
Code:
    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
Oh/arrr. So what does "progress bar" mean in the change log? Thanks for pointing out xvid. Will add that to the script.
_________________
adobe flash is rubbish!
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/
Back to top
View user's profile Send_private_message Visit_website 
mama21mama

Joined: 03 Apr 2010
Posts: 526
Location: Lincoln, Buenos Aires, Argentina

PostPosted: Sun 05 Dec 2010, 10:50    Post_subject:  

Shocked
ffconvert_es.tar.gz
Description  /usr/share/locale/es/LC_MESSAGES/ffconvert.mo
/usr/share/doc/ffconvert/nls/ffconvert_es.po

md5sum: d255cdf1565ed2240e0c19d56ad782f1
gz

 Download 
Filename  ffconvert_es.tar.gz 
Filesize  3.97 KB 
Downloaded  391 Time(s) 
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
GaRailroader

Joined: 16 Jun 2010
Posts: 33
Location: Atlanta, GA

PostPosted: Sat 22 Jan 2011, 22:56    Post_subject: 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
Back to top
View user's profile Send_private_message 
trapster


Joined: 28 Nov 2005
Posts: 2012
Location: Maine, USA

PostPosted: Sun 23 Jan 2011, 01:36    Post_subject:  

Try mp3lame instead of libmp3lame
_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send_private_message Visit_website 
GaRailroader

Joined: 16 Jun 2010
Posts: 33
Location: Atlanta, GA

PostPosted: Sun 23 Jan 2011, 13:50    Post_subject:  

Quote:
Try mp3lame instead of libmp3lame


I tried that and got the same message.

Pat
Back to top
View user's profile Send_private_message 
ravensrest


Joined: 22 Feb 2008
Posts: 321
Location: Hood Canal, WA

PostPosted: Sun 23 Jan 2011, 15:37    Post_subject:  

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:
Code:
ffmpeg -i "/data/music/1970s/Magic-Pilot.ogg" -y -f mp3  -acodec libvorbis -ab 128k    "/data/Magic-Pilot.mp3"

If I just convert using ffmpeg directly using either of these two statements from the command line:
Code:
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

a 2.7 meg mp3 file is produced that plays correctly in any mp3 player I have tried.

What is wrong?
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 7 of 16 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 14, 15, 16 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1103s ][ Queries: 12 (0.0085s) ][ GZIP on ]