FFConvert - multimedia converter

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

The SFS file

#81 Post by shinobar »

Thanks aarf for testing. the sfs maybe work only on 431JP(japanese edition) or its delivertives because their sfs system is different. Use PETs instead.
Here isare PETs for avidemux2

kenbanistu
Posts: 31
Joined: Thu 08 Jan 2009, 19:51

#82 Post by kenbanistu »

When I try to convert something to VCD using the NTSC VCD preset, it fails. Not sure what's wrong.

Image

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

#83 Post by shinobar »

kenbanistu wrote:When I try to convert something to VCD using the NTSC VCD preset, it fails.
Are you sure using FFconvert-1.0?

kenbanistu
Posts: 31
Joined: Thu 08 Jan 2009, 19:51

#84 Post by kenbanistu »

shinobar wrote:
kenbanistu wrote:When I try to convert something to VCD using the NTSC VCD preset, it fails.
Are you sure using FFconvert-1.0?
Yes.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

NTSC VCD

#85 Post by shinobar »

kenbanistu,
The screen size for NTSC VCD should be '352x240'.
It seems that the letter 'x' in lower case, was replaced with a wrong character... for example '352X240' or something.

Load 'NTSC VCD' preset, then select the screen size again to '352x240'. If you cannnot find it in the combobox, you can type it.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#86 Post by smokey01 »

There are a couple of traps here.

1. When selecting a preset you must then press load for it to take affect.

2. You need to make sure you have also installed the codecs.


http://www.smokey01.com/01micko/ffmpeg- ... -Lucid.pet

kenbanistu
Posts: 31
Joined: Thu 08 Jan 2009, 19:51

Re: NTSC VCD

#87 Post by kenbanistu »

shinobar wrote:kenbanistu,
The screen size for NTSC VCD should be '352x240'.
It seems that the letter 'x' in lower case, was replaced with a wrong character... for example '352X240' or something.

Load 'NTSC VCD' preset, then select the screen size again to '352x240'. If you cannnot find it in the combobox, you can type it.
I gave that a try and it didn't help.

kenbanistu
Posts: 31
Joined: Thu 08 Jan 2009, 19:51

#88 Post by kenbanistu »

I should also have mentioned before, that I get an error message that says:

An error occured.
You can check the generated command in /tmp/ffconvert_wdpm1.sh.

When I click the Look up button here is whats in ffconvert_wdpm1.sh

#!/bin/sh
cd "/initrd/mnt/dev_save/VCD/ffconvert_tmp_wdpm1"
ffmpeg -pass 1 -i "/initrd/mnt/dev_save/wdpm1.wmv" -y -f mpeg -vcodec mpeg1video -b 1150k -s 352240 -r 2997 -mbd rd -trellis -mv0 -cmp 0 -subcmp 2 -an -an /dev/null && ffmpeg -pass 2 -i "/initrd/mnt/dev_save/wdpm1.wmv" -y -f mpeg -vcodec mpeg1video -b 1150k -s 352240 -r 2997 -mbd rd -trellis -mv0 -cmp 0 -subcmp 2 -acodec mp2 -ab 224k -ar 44100 -ac 2 "/initrd/mnt/dev_save/VCD/wdpm1.mpg"
STATUS=$?
echo -n $STATUS > "/tmp/ffconvert_wdpm1.tmp"
[ "$STATUS" = "0" ] && exit
cat "/tmp/ffconvert_wdpm1.sh" | grep '^ffmpeg'
echo -n Press [ENTER] to exit :
read REP


I hope this helps because I'm getting frustrated.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#89 Post by edoc »

smokey01 wrote:There are a couple of traps here.

1. When selecting a preset you must then press load for it to take affect.

2. You need to make sure you have also installed the codecs.


http://www.smokey01.com/01micko/ffmpeg- ... -Lucid.pet
I am, as usual, confused.

If this PET ffconvert 1.0 with the codecs - called ffmpeg - and is compiled for Lucid 5.1 or is it just ffmpeg 1.0 or just the codecs for ffconvert 1.0, or ???, please?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

FFconvert and FFmpeg

#90 Post by shinobar »

edoc wrote:If this PET ffconvert 1.0 with the codecs - called ffmpeg - and is compiled for Lucid 5.1 or is it just ffmpeg 1.0 or just the codecs for ffconvert 1.0, or ???, please?
The FFconvert-1.0 is the frontend only, without any codecs.
You can install it on any puppies 4.x/5.x., but Quirky and Wary already have FFconvert-1.0 preinstalled.

Requires FFmpeg as the backend.
FFmpeg is preinstalled on most of puppies. But you can upgrade it to enhance the ability.
  • For puppies 4.x, recommended ffmeg-runall-0.6-i686-p4.pet.
  • For Lucid Puppy, recommended ffmpeg1-0.6-i686-Lucid.pet provided by o1mico. You may also need additional libraries, ffmpeg_dependencies-0.6.pet.
  • For Quirky or Wary, you do not need to upgrade FFmpeg. They already have excellent one.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#91 Post by L18L »

Hi shinobar,

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 669 times

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#92 Post by Flash »

L18L, your explanation is too terse or cryptic. Would you please add some meat to it? Thanks. :)

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#93 Post by L18L »

Hi Flash,
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: Select all

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: 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"
copy the new translation ffconvert.mo to
/usr/share/locale/de/LC_MESSAGES
and relaunch

Code: Select all

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 :D

You can launch ffconvert in English by

Code: Select all

LANG=en_US; ffconvert
If you like to produce a translation to another language feel free to do so!
Hope that helps
Cheers

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Development ffconvert

#94 Post by shinobar »

L18L wrote:'export OUTPUT_CHARSET=UTF-8' is nort really a bug and shinobar will correct it, I am sure about this :D
I was almost forgetting it. Thanks.

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

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 676 times
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#95 Post by L18L »

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

Code: Select all

# LANG=de_DE@euro;ffconvert-1.1
output:

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
#
result sounds good in Pmusic :D
no sound in mplayer :cry:
May others
who knows how to use
do more testing.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

#96 Post by shinobar »

Code: Select all

# LANG=de_DE@euro;ffconvert-1.1
output:

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
#
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: 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
Known problem: Canceling the job.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#97 Post by abushcrafter »

shinobar wrote: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
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/viewto ... 967#456967.
[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/

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

backward conpatible

#98 Post by shinobar »

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.
Tnx. The wrapper is great.

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

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]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#99 Post by technosaurus »

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
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].

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

Re: backward conpatible

#100 Post by abushcrafter »

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/viewto ... 967#456967.
Tnx. The wrapper is great.

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

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
Oh/arrr. So what does "progress bar" mean in the change log? Thanks for pointing out xvid. Will add that to the script.
[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/

Post Reply