Page 7 of 13

ffconvert-1.2

Posted: Sat 14 Jan 2012, 13:21
by shinobar
Tnx for all the testers.
Now, the new version ffconvert-1.2.pet is available!
# 6 aug 2010 progress bar, allow both 'orvis' or 'liborvis' as the codec name
# 16 oct 2011 new crop option
# v1.2 - 14 Jan 2012: Rip a DVD (plinej), pad, log frame, playlist, default players

Calling for translations. See the top post for the detail.

NEW OPTIONS:
Ripping DVD-video.
Image
Add some options that may be useful:
crop(trim)/pad options to convert 4:3 full screen <--> 16:9 wide screen.
Image

Posted: Wed 18 Jan 2012, 01:52
by vicmz
:!: Spanish and Portuguese locales updated

spelling mistake

Posted: Mon 23 Jan 2012, 18:28
by don570
Request : Display instructions for use of codecs such as
'To convert a mono .wav file to stereo choose 'Copy''

Pemasu has already started to do this in Exprimo.

_______________________________________________-

There's a spelling mistake on your front window.

Image


____________________________________________________

Russian translation

Posted: Wed 25 Jan 2012, 17:31
by rodin.s
I have updated Russian translation.

Translations

Posted: Thu 26 Jan 2012, 01:39
by shinobar
Thanks to all. Still calling for German and French, and etc.

Calling for presets

Posted: Thu 26 Jan 2012, 01:53
by shinobar
Please post your favorite presets.

HOWTO:
  1. You can load some built-in preset as a base.
  2. Arrange the options on the main panel of the ffconvert.
  3. Click 'Save'. Add preferable name.
  4. The preset file is saved in /root/.config/ffconvert/preset.
  5. Compress you preset files and attach it on your reply of this topic.
See the document, /usr/share/doc/ffconvert/ffconvert-inside.txt.

Posted: Sat 11 Feb 2012, 20:09
by don570
I upgraded the version of ffconvert then
switched my computer to German. I noticed that you spell
the verb browsen as brausen. I'm not sure but that seems
wrong.

Image

______________________________________

french .mo file

Posted: Sat 11 Feb 2012, 20:26
by esmourguit
Bonjour a toutes et tous,

Here is the french.mo file.

Cordialement :wink:

Re: Translations

Posted: Sun 12 Feb 2012, 10:44
by L18L
shinobar wrote:Thanks to all. Still calling for German and French, and etc.
Here is updated German translation :)

Re: spelling mistake

Posted: Sun 12 Feb 2012, 11:18
by L18L
don570 wrote:...
_______________________________________________-

There's a spelling mistake on your front window.

Image


____________________________________________________
Here is my fix (ffconvert.mo for English)

Posted: Tue 14 Feb 2012, 18:24
by don570
Note to shinobar

I suggest the following change to make the interface
easier to understand. After line 321 insert...

Code: Select all


 <text height-request=\"10\"><label>\"\"</label></text>
   <text use-markup=\"true\"><label>\"<b>Select a preset, then click 'Load'</b> \"</label></text>
___________________________________________

tutorial for ffconvert

Posted: Tue 14 Feb 2012, 19:51
by don570
I've written a tutorial to help users and included some new presets
to help the user.

http://murga-linux.com/puppy/viewtopic.php?t=76023

__________________________________________________________

Posted: Tue 14 Feb 2012, 20:07
by don570
Here's a suggestion to change the interface.

When opening an audio file with a right click menu option why not change
the window design to suit an audio file.
You don't need a video section if you are converting one
audio file. You have done this for your MP3 presets (See image)

Image


And when the user is launching ffconvert from the start menu
why not ask the user if he will be converting an audio or
a video file and change the window design according to the answer.

__________________________________________________________

Posted: Sun 11 Mar 2012, 15:22
by Karl Godt
First i want to thank you for the code, shinobar !

Second : i encountered some problems with sed command :

Code: Select all

VCODECS=$(echo "$CODECS"|grep '^[ D]*EV'|sed 's/^[[:blank:]]*//;s/^[A-Z]* //g;s/^[A-Z]* //g' |awk '{print $1}')
ACODECS=$(echo "$CODECS"|grep '^[ D]*EA'|sed 's/^[[:blank:]]*//;s/^[A-Z]* //g;s/^[A-Z]* //g' |awk '{print $1}')
is my "quick" and "probably still buggy in future" workaround for this .

Code: Select all

VCODECS=$(echo "$CODECS"|grep '^[ D]*EV'|sed -e 's/^[ A-Z]*[ ]*//' |cut -d ' ' -f1)
ACODECS=$(echo "$CODECS"|grep '^[ D]*EA'|sed -e 's/^[ A-Z]*[ ]*//' |cut -d ' ' -f1)
is giving me too much garbage on my installation :

Code: Select all

bash-3.2# CODECS=$(ffmpeg -codecs 2>/dev/null)
bash-3.2# echo "$CODECS"|grep '^[ D]*EV'|sed -e 's/^[ A-Z]*[ ]*//' |cut -d ' ' -f1
asv1
asv2
age
3/DNxHD
(Digital
1
ariant
ashsv
ash
(Graphics
261
263
263p
/
-LS
a
264
-4

(Motion
1video
2video
4
4
4v1
4v2
am
(Portable
aintbrush
(Portable
(Portable
age
(Portable
ation
awvideo

10
20
age

1
arga
age
210
1
2
(LossLess

bash-3.2# 
Another problem occurred with dots in the filename like

" Rolling Stones feat. Eric Clapton - Little Red Rooster (L.A. 1989)..mp4 "

Code: Select all

ROOT1="${BASE1%\.*}"
instead of

Code: Select all

ROOT1=$(echo "$BASE1"| cut -d'.' -f1)
does it for me

Alternatively for ash it would be something like

Code: Select all

EXT9=$(echo "$BASE1" |rev|cut -d'.' -f1|rev)
ROOT1=$(echo "$BASE1" | sed "s#\.$EXT9$##")
***
ive also added a

Code: Select all

exec $0 "$SRCFILE"
at the last line and will experiment with a tmp settings file to speedup the
make_combo() {
function

Nevertheless ffconvert is working good, will have to check the many settings though, because my mp3 player says the converted mp4 to mp3 files are mp1 or mp2 and refuses to play ... :lol:

Posted: Wed 04 Apr 2012, 14:14
by gojko
Hungarian localisation: mo, po and the local document

Checking codecs

Posted: Sat 14 Apr 2012, 07:40
by shinobar
Karl Godt wrote:

Code: Select all

VCODECS=$(echo "$CODECS"|grep '^[ D]*EV'|sed -e 's/^[ A-Z]*[ ]*//' |cut -d ' ' -f1)
ACODECS=$(echo "$CODECS"|grep '^[ D]*EA'|sed -e 's/^[ A-Z]*[ ]*//' |cut -d ' ' -f1)
is giving me too much garbage on my installation :
Sorry, what version of ffmpeg or Puppy?
How does the next?:

Code: Select all

ffmpeg -codecs 2>/dev/null | grep '^[ ]*[ D]EV[ S]' | sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1

FFConvert 1.2.1

Posted: Sat 14 Apr 2012, 09:21
by shinobar
Minor fix:
# v1.2.1 - 14 Apr 2012: fix dots'.' in file names, libvorvis (preset), fix typo (tnx to don 570), speed up make_combo, codec list(tnx toKarl Godt)

Re: FFConvert 1.2.1

Posted: Sat 14 Apr 2012, 23:45
by anewuser
shinobar wrote:Minor fix:
# v1.2.1 - 14 Apr 2012: fix dots'.' in file names, libvorvis (preset), fix typo (tnx to don 570), speed up make_combo, codec list(tnx toKarl Godt)
ty! was having issues with many crazy filenames.

Racy 5.3 FFConvert problem+polish locale

Posted: Tue 17 Apr 2012, 17:18
by robwoj44
Hello shinobar
I send polish locale for FFConvert.
I confirm the problem found by Karl Godt. I have the same problem with codecs names when I added the translation file (polish, french, etc). The problem concerns detecting ffmpeg formats too.
I changed the lines:
# FORMATS=$(echo "$FALL"| head -n $(($N1 - 1))| grep '^[ D]*E'|sed -e 's/^[ A-Z]*[ ]//' |cut -d ' ' -f1)
# FORMATS=$(echo "$FALL"| grep '^[ D]*E'|sed -e 's/^[ A-Z]*[ ]*//' |cut -d ' ' -f1)
#VCODECS=$(echo "$CODECS"|grep '^[ ]*[ D]EV[ S]'|sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1)
#ACODECS=$(echo "$CODECS"|grep '^[ ]*[ D]EA[ ]'|sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1)
to
FORMATS=$(echo "$FALL"| head -n $(($N1 - 1))| grep '^[ D]*E'|sed 's/^[[:blank:]]*//;s/^[A-Z]* //g;s/^[A-Z]* //g' |awk '{print $1}')
FORMATS=$(echo "$FALL"| grep '^[ D]*E'|sed 's/^[[:blank:]]*//;s/^[A-Z]* //g;s/^[A-Z]* //g' |awk '{print $1}')
VCODECS=$(echo "$CODECS"|grep '^[ D]*EV'|sed 's/^[[:blank:]]*//;s/^[A-Z]* //g;s/^[A-Z]* //g' |awk '{print $1}')
ACODECS=$(echo "$CODECS"|grep '^[ D]*EA'|sed 's/^[[:blank:]]*//;s/^[A-Z]* //g;s/^[A-Z]* //g' |awk '{print $1}')
and it works in racy 5.3 with any locale.

Re: FFConvert 1.2.1

Posted: Thu 19 Apr 2012, 18:14
by Karl Godt
shinobar wrote:Minor fix:
# v1.2.1 - 14 Apr 2012: fix dots'.' in file names, libvorvis (preset), fix typo (tnx to don 570), speed up make_combo, codec list(tnx toKarl Godt)
I hope everythig is still good ... aparently it seems that enabling bash case-insensitive while compilation or in inputrc||bashrc seems to cause this for (some) regular full sed binaries . Busybox is also under heavy development but using busybox sed with the original codeline worked for me (busybox 1.18.3) . :oops:

Code: Select all

bash-3.2# ffmpeg -formats |sed -n '/Codecs:/,/Supported file protocols:/p'
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --arch=i486 --enable-libmp3lame --enable-liba52 --enable-libfaac --enable-libfaad --enable-pthreads --enable-small --enable-libogg --enable-libvorbis --enable-gpl --enable-shared --enable-pp --disable-debug --prefix=/usr
  libavutil version: 49.5.0
  libavcodec version: 51.44.0
  libavformat version: 51.14.0
  built on Jul 12 2009 11:29:41, gcc: 4.2.2
Codecs:
 D V    4xm
 D V D  8bps
 D V    VMware video
 D V D  aasc
  EA    ac3
 DEA    adpcm_4xm
 DEA    adpcm_adx
 DEA    adpcm_ct
 DEA    adpcm_ea
 D A    adpcm_ima_amv
 DEA    adpcm_ima_dk3
 DEA    adpcm_ima_dk4
 DEA    adpcm_ima_qt
 DEA    adpcm_ima_smjpeg
 DEA    adpcm_ima_wav
 DEA    adpcm_ima_ws
 DEA    adpcm_ms
 DEA    adpcm_sbpro_2
 DEA    adpcm_sbpro_3
 DEA    adpcm_sbpro_4
 DEA    adpcm_swf
 D A    adpcm_thp
 DEA    adpcm_xa
 DEA    adpcm_yamaha
 D A    alac
 D V D  amv
 D A    ape
 DEV D  asv1
 DEV D  asv2
 D A    atrac 3
 D V D  avs
 D V    bethsoftvid
 DEV    bmp
 D V D  c93
 D V D  camstudio
 D V D  camtasia
 D V D  cavs
 D V D  cinepak
 D V D  cljr
 D A    cook
 D V D  cyuv
 D A    dca
 D V D  dnxhd
 D A    dsicinaudio
 D V D  dsicinvideo
 DES    dvbsub
 DES    dvdsub
 DEV D  dvvideo
 D V    dxa
 DEV D  ffv1
 DEVSD  ffvhuff
 DEA    flac
 DEV D  flashsv
 D V D  flic
 DEVSD  flv
 D V D  fraps
 DEA    g726
 DEV    gif
 DEV D  h261
 DEVSDT h263
 D VSD  h263i
  EV    h263p
 D V DT h264
 DEVSD  huffyuv
 D V D  idcinvideo
 D A    imc
 D V D  indeo2
 D V    indeo3
 D A    interplay_dpcm
 D V D  interplayvideo
 DEV D  jpegls
 D V    kmvc
 D A    liba52
  EA    libfaac
 D A    libfaad
  EA    libmp3lame
  EV    ljpeg
 D V D  loco
 D A    mace3
 D A    mace6
 D V D  mdec
 DEV D  mjpeg
 D V D  mjpegb
 D V D  mmvideo
 DEA    mp2
 D A    mp3
 D A    mp3adu
 D A    mp3on4
 D A    mpc sv7
 DEVSDT mpeg1video
 DEVSDT mpeg2video
 DEVSDT mpeg4
 D A    mpeg4aac
 D VSDT mpegvideo
 DEVSD  msmpeg4
 DEVSD  msmpeg4v1
 DEVSD  msmpeg4v2
 D V D  msrle
 D V D  msvideo1
 D V D  mszh
 D V D  nuv
 DEV    pam
 DEV    pbm
 DEA    pcm_alaw
 DEA    pcm_mulaw
 DEA    pcm_s16be
 DEA    pcm_s16le
 DEA    pcm_s24be
 DEA    pcm_s24daud
 DEA    pcm_s24le
 DEA    pcm_s32be
 DEA    pcm_s32le
 DEA    pcm_s8
 DEA    pcm_u16be
 DEA    pcm_u16le
 DEA    pcm_u24be
 DEA    pcm_u24le
 DEA    pcm_u32be
 DEA    pcm_u32le
 DEA    pcm_u8
 DEA    pcm_zork
 DEV    pgm
 DEV    pgmyuv
 DEV    png
 DEV    ppm
 D V    ptx
 D A    qdm2
 D V D  qdraw
 D V D  qpeg
 DEV D  qtrle
 DEV    rawvideo
 D A    real_144
 D A    real_288
 DEA    roq_dpcm
 DEV D  roqvideo
 D V D  rpza
 DEV D  rv10
 DEV D  rv20
 DEV    sgi
 D A    shorten
 D A    smackaud
 D V    smackvid
 D V D  smc
 DEV    snow
 D A    sol_dpcm
 DEA    sonic
  EA    sonicls
 D V D  sp5x
 DEV D  svq1
 D VSD  svq3
 DEV    targa
 D V    theora
 D V D  thp
 D V D  tiertexseqvideo
 DEV    tiff
 D V D  truemotion1
 D V D  truemotion2
 D A    truespeech
 D A    tta
 D V    txd
 D V D  ultimotion
 D V    vc1
 D V D  vcr1
 D A    vmdaudio
 D V D  vmdvideo
 DEA    vorbis
 D V    vp3
 D V D  vp5
 D V D  vp6
 D V D  vp6a
 D V D  vp6f
 D V D  vqavideo
 D A    wavpack
 DEA    wmav1
 DEA    wmav2
 DEVSD  wmv1
 DEVSD  wmv2
 D V    wmv3
 D V D  wnv1
 D A    ws_snd1
 D A    xan_dpcm
 D V D  xan_wc3
 D V D  xl
 D S    xsub
 DEV D  zlib
 DEV    zmbv

Supported file protocols:
bash-3.2# 
because ffmpeg -codecs does not work atm for
bash-3.2# ffmpeg
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --arch=i486 --enable-libmp3lame --enable-liba52 --enable-libfaac --enable-libfaad --enable-pthreads --enable-small --enable-libogg --enable-libvorbis --enable-gpl --enable-shared --enable-pp --disable-debug --prefix=/usr
libavutil version: 49.5.0
libavcodec version: 51.44.0
libavformat version: 51.14.0
built on Jul 12 2009 11:29:41, gcc: 4.2.2
usage: ffmpeg [[infile options] -i infile]... {[outfile options] outfile}...
Hyper fast Audio and Video encoder

I am hacking version0.9 for it had been in a ffmpeg pet .
Will try newest soon. Sed and grep a such a pain ! 8)