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 Sun 21 Dec 2014, 19:22
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 11 of 16 Posts_count   Goto page: Previous 1, 2, 3, ..., 9, 10, 11, 12, 13, 14, 15, 16 Next
Author Message
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sat 14 Apr 2012, 03:40    Post_subject: Checking codecs  

Karl Godt wrote:
Code:
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:
ffmpeg -codecs 2>/dev/null | grep '^[ ]*[ D]EV[ S]' | sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1

_________________
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 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sat 14 Apr 2012, 05:21    Post_subject: FFConvert 1.2.1  

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)

_________________
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 
anewuser

Joined: 05 Feb 2012
Posts: 31

PostPosted: Sat 14 Apr 2012, 19:45    Post_subject: Re: FFConvert 1.2.1  

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.
Back to top
View user's profile Send_private_message 
robwoj44

Joined: 08 Aug 2008
Posts: 374
Location: Warsaw

PostPosted: Tue 17 Apr 2012, 13:18    Post_subject: Racy 5.3 FFConvert problem+polish locale  

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.
ffconvert.tar
Description  polish locale
tar

 Download 
Filename  ffconvert.tar 
Filesize  10 KB 
Downloaded  427 Time(s) 
Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
Location: Kiel,Germany

PostPosted: Thu 19 Apr 2012, 14:14    Post_subject: Re: FFConvert 1.2.1  

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) . Embarassed

Code:
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 ! Cool
ffconvert-0.9-hack.png
 Description   
 Filesize   164.44 KB
 Viewed   710 Time(s)

ffconvert-0.9-hack.png

Back to top
View user's profile Send_private_message Visit_website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
Location: Kiel,Germany

PostPosted: Thu 19 Apr 2012, 15:33    Post_subject:  

Have to add this is on Puppy 4.3,4.3.1,5.1.1 .

First impression of ffconvert-1.2.1 : Starts Up really fast ! Like it ! Very Happy

My code had been to reuse the lists in a /tmp/ffconvert directory at next start, but your code must be really better !

Hmmm... maybe related to locale too .. don't know for sure ... de_DE had a bug in the locale files in Puppy 4.3(.1) and had only problems with de_DE@euro , now switched since some weeks to de_DE.utf-8 on one installation ... but sed itself still does not work. Had added busybox to

Code:
VCODECS=$(echo "$CODECS"|grep '^[ ]*[ D]EV[ S]'|busybox sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1)
ACODECS=$(echo "$CODECS"|grep '^[ ]*[ D]EA[ ]'|busybox sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1)

see difference :
ffconvert-1.2.1-different-sed.600.png
 Description   
 Filesize   790.47 KB
 Viewed   703 Time(s)

ffconvert-1.2.1-different-sed.600.png

Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Thu 19 Apr 2012, 19:48    Post_subject: detecting codecs  

Karl Godt wrote:
Hmmm... maybe related to locale too ..

How about adding 'LANG=C'.
Code:
VCODECS=$(LANG=C echo "$CODECS"|grep '^[ ]*[ D]EV[ S]'| sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1)

_________________
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 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
Location: Kiel,Germany

PostPosted: Fri 20 Apr 2012, 15:53    Post_subject:  

OK, did a lot with locale today without a stabile solution ...

Finally downloaded sed source, compiled quick, make html and this is what i read :

Quote:
Here are a few commonly reported bugs that are not bugs.

[a-z] is case insensitive
You are encountering problems with locales. POSIX mandates that [a-z] uses the current locale's collation order – in C parlance, that means using strcoll(3) instead of strcmp(3). Some locales have a case-insensitive collation order, others don't.

Another problem is that [a-z] tries to use collation symbols. This only happens if you are on the GNU system, using GNU libc's regular expression matcher instead of compiling the one supplied with GNU sed. In a Danish locale, for example, the regular expression ^[a-z]$ matches the string ‘aa’, because this is a single collating symbol that comes after ‘a’ and before ‘b’; ‘ll’ behaves similarly in Spanish locales, or ‘ij’ in Dutch locales.

To work around these problems, which may cause bugs in shell scripts, set the LC_COLLATE and LC_CTYPE environment variables to ‘C’.


Before i had done a
Code:
VCODECS=$(echo "$CODECS"|grep '^[ ]*[ D]EV[ S]'| LC_ALL=C sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1)

which worked .

Code:
VCODECS=$(echo "$CODECS"|grep '^[ ]*[ D]EV[ S]'| LANG=C sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1)

does NOT work .

I will try LC_CTYPE and LC_COLLATE later ..

diner time ..

(grep seems not to be affected by any LC_LANG setting)
(running a full statical busybox-1.14.4 because of acpid applet today with nearly everything enabled : bb-sed works also in former bb-versions regardless of the env)
sed.html.tar.bz2
Description 
bz2

 Download 
Filename  sed.html.tar.bz2 
Filesize  28.49 KB 
Downloaded  426 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
Location: Kiel,Germany

PostPosted: Sat 21 Apr 2012, 13:53    Post_subject:  

Puppy 4.3(.x) has got these entries in /etc/profile :
Quote:
#this line gets edited by chooselocale script...
#LANG=en_US.utf8 w004 going back to non-utf8...
LANG=en_US
export LANG

#v426 recommended by MU, avoid crashing for non-English locales on some apps...
export LC_COLLATE=en_US
in the dl pup-43x.sfs archive .

My current entries look(ed) like that :
Quote:
#this line gets edited by chooselocale script...
#LANG=de_DE@euro.utf8 w004 going back to non-utf8...
LANG=de_DE@euro
export LANG
#LCs=`locale`
LCs=`locale |tr -d '"'`
for loc in $LCs;do export $loc;done
#v426 recommended by MU, avoid crashing for non-English locales on some apps...
export LC_COLLATE=en_US

Now I prepare the console the same way :
Quote:
bash-3.00# LANG=de_DE@euro
bash-3.00# export LANG
bash-3.00# LCs=`locale |tr -d '"'`
bash-3.00# for loc in $LCs;do export $loc;done
bash-3.00# export LC_COLLATE=en_US

Now i check :
bash-3.00#
Code:
locale

Quote:
LANG=de_DE@euro
LC_CTYPE=de_DE@euro
LC_NUMERIC=de_DE@euro
LC_TIME=de_DE@euro
LC_COLLATE=en_US
LC_MONETARY=de_DE@euro
LC_MESSAGES=de_DE@euro
LC_PAPER=de_DE@euro
LC_NAME=de_DE@euro
LC_ADDRESS=de_DE@euro
LC_TELEPHONE=de_DE@euro
LC_MEASUREMENT=de_DE@euro
LC_IDENTIFICATION=de_DE@euro
LC_ALL=
bash-3.00#

NOTE: LC_ALL is unset ...

When i start ffconvert in the console with an added locale command I get :
bash-3.00# /mnt/sda3/root/Downloads/pup.d/PEOPLE/shinobar/ffconvert-1.2.1/usr/bin/ffconvert-1.2.1
Quote:
LANG=de_DE@euro
LC_CTYPE=de_DE@euro
LC_NUMERIC=de_DE@euro
LC_TIME=de_DE@euro
LC_COLLATE=de_DE@euro
LC_MONETARY=de_DE@euro
LC_MESSAGES=de_DE@euro
LC_PAPER=de_DE@euro
LC_NAME=de_DE@euro
LC_ADDRESS=de_DE@euro
LC_TELEPHONE=de_DE@euro
LC_MEASUREMENT=de_DE@euro
LC_IDENTIFICATION=de_DE@euro
LC_ALL=


RESULT:
1) simple sed [a-z] does not work ,
it works with "LC_COLLATE=C" pre_env AND "LC_ALL=C"

2) Few garbled Characters in the fronend/Gui i call "de_DE@euro-woLC_ALL"
3) and a lot of warnings when i move the mouse over the gui like :
Quote:
(gtkdialog3:25237): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(gtkdialog3:25237): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 16: Invalid UTF-8 encoded text - not valid 'Gib zus??tzliche Optionen f? 1/4 r das Videofromat an'

NOTE : The directories in /usr/lib/locale are there with their names and with their contents .

Now tried de_DE.utf8:
Quote:
bash-3.00# LANG=de_DE.utf8
bash-3.00# LCs=`locale |tr -d '"'`
bash-3.00# for loc in $LCs;do export $loc;done
bash-3.00# locale

Quote:
LANG=de_DE.utf8
LC_CTYPE=de_DE@euro
LC_NUMERIC=de_DE@euro
LC_TIME=de_DE@euro
LC_COLLATE=en_US
LC_MONETARY=de_DE@euro
LC_MESSAGES=de_DE@euro
LC_PAPER=de_DE@euro
LC_NAME=de_DE@euro
LC_ADDRESS=de_DE@euro
LC_TELEPHONE=de_DE@euro
LC_MEASUREMENT=de_DE@euro
LC_IDENTIFICATION=de_DE@euro
LC_ALL=

NOTE : Everything still the same buggy ...

New round with modified export :
bash-3.00# LANG=de_DE.utf8
bash-3.00#
Code:
LCs=`locale |tr -d '"'|cut -f1 -d=`

bash-3.00#
Code:
for loc in $LCs;do export $loc=$LANG;done

bash-3.00# locale
Quote:
LANG=de_DE.utf8
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=de_DE.utf8

NOTE : LC_ALL is set , all values are "de_DE.utf8"
NOTE : locale command seems to quote the strings now for there is a dot in the string .

RESULT :
1) There are two kinds of garbled chars for the GUI : I name these "utf8-full" .
2) The pango warnings have gone .

3) sed is still not working correctly without any LC- pre_env ,
so
tested LC_COLLATE=C which did NOT work

tested LC_ALL=C which did work .

I tested also setting "LC_CTYPE=C" which i could not get to work (until now) and every other LC_VAR :
LC_NUMERIC
LC_TIME
LC_MONETARY
LC_MESSAGES
LC_PAPER
LC_NAME
LC_ADDRESS
LC_TELEPHONE
LC_MEASUREMENT
LC_IDENTIFICATION

set =C and they did not do any affect on sed .

SO
Code:
VCODECS=$(echo "$CODECS"|grep '^[ ]*[ D]EV[ S]'| LC_COLLATE=C sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1)

works in non-utf-8 environment
Code:
VCODECS=$(echo "$CODECS"|grep '^[ ]*[ D]EV[ S]'| LC_ALL=C sed -e 's/^[ A-Z]*//' |cut -d ' ' -f1)

works in utf-8 and non-utf-8 envirnoment (so far).

*
SINCE the locale and encoding seems to be part of glibc it might differ from Puppy to Puppy versions .
The above tests had been made on Puppy-4.3 glibc-2.6.1 .

*
The html page mentiones the danish "°a|°A" which can be written also "aa|AA" for example :
Aalborg Kommune eller Ålborg Kommune

Germany has got "ae|AE" for "ä|Ä" , "oe|OE" for "ö|Ö" , "ue|UE" for "ü|Ü" and "ss" for (old)"ß" .

Since Spanish is mentioned i can also imagine some french special chars like "ç" for "c" or "è" for "e" .

There are actually lots of European languages with a slightly different "ABC" than the English .

*
Installing some /usr/share/locale/*/LC_MESSAGES/glibc.mo i compiled with --prefix=/opt/glibc-2.6.1 by simply copying them there solved the 3 warnings i got by locale command :
Quote:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Took me several weeks to figure that out that this meant the glibc.mo and not a /usr/lib/locale/default link to a directory ...

*
I hope i have not fogotten anything .
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Wed 25 Apr 2012, 05:49    Post_subject: Re: detecting codecs  

Seems work well just setting 'LC_ALL=C':
Quote:
# check ffmpeg ability
LC_ALL_ORG=$LC_ALL
export LC_ALL=C

VFOPT=$(ffmpeg -h 2>/dev/null | grep -w 'vf')
FALL=$(ffmpeg -formats 2>/dev/null)
N1=$(echo "$FALL"|cat -n| grep 'Codecs:'|cut -f1| tr -dc '[0-9]')
N2=$(echo "$FALL"|cat -n| grep 'Supported file protocols:'|cut -f1| tr -dc [0-9])
if [ "$N1" ]; then
FORMATS=$(echo "$FALL"| head -n $(($N1 - 1))| grep '^[ D]*E'|sed -e 's/^[ A-Z]*[ ]//' |cut -d ' ' -f1)
if [ "$N2" ]; then
CODECS=$(echo "$FALL"| head -n $(($N2 - 1))|tail -n $(($N2 - $N1)))
fi
else
FORMATS=$(echo "$FALL"| grep '^[ D]*E'|sed -e 's/^[ A-Z]*[ ]*//' |cut -d ' ' -f1)
CODECS=$(ffmpeg -codecs 2>/dev/null)
fi
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)
#echo "$FORMATS" >&2
#echo "$CODECS" >&2
H264=$(echo "$VCODECS" | grep 'libx264')
AAC=$(echo "$ACODECS" | grep 'libfaac')
MP3=$(echo "$ACODECS" | grep 'libmp3lame')
LC_ALL=$LC_ALL_ORG

Tested under de_DE@euro.

_________________
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 
gojko

Joined: 25 Nov 2010
Posts: 13
Location: Hungary

PostPosted: Fri 27 Apr 2012, 20:18    Post_subject:  

I used previously viDrop converter.
I could burn text subtitle files into video with viDrop.
How to burning subtitle into a video with FFConvert?
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Fri 27 Apr 2012, 20:28    Post_subject: subtitle into a video  

gojko wrote:
How to burning subtitle into a video with FFConvert?

I have not tried yet but maybe you can put additional options with the text filename in the 'Advanced options' at the video setting.
See the ffmpeg online document on the additional options.

_________________
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 
gojko

Joined: 25 Nov 2010
Posts: 13
Location: Hungary

PostPosted: Fri 27 Apr 2012, 20:53    Post_subject: Re: subtitle into a video  

Thanks! I will try.
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 30 Apr 2012, 07:41    Post_subject: Update: ffconvert-1.2.2  

Update: ffconvert-1.2.2.pet
http://shino.pos.to/linux/puppy/
# v1.2.2 - 30 Apr 2012: fix was failed 2-pass converting, fix was not allowed spaces in the destination path, again codec list under some locale(tnx to Karl Godt)

EDIT: Sorry but ffconvert-1.2.2.pet was uploaded again at 2012-05-02 with same filename. Please check the time stamp or the file /usr/bin/ffmpeg.
Quote:
# v1.2.2 - 2 Mar 2012: fix was odd essage under some non UTF-8 loacle
VERSION="1.2.2"
CREDIT="FFConvert v.$VERSION"
TITLE=$CREDIT
MYNAME=$(basename $0)
export TEXTDOMAIN=ffconvert #$MYNAME
export OUTPUT_CHARSET=UTF-8 # v1.2.2 - 2 Mar 2012

_________________
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 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Wed 02 May 2012, 03:42    Post_subject: ffconvert-1.2.2.pet was re-uploaded on 2012-05-02  

Sorry but ffconvert-1.2.2.pet was uploaded again at 2012-05-02 with same filename. Please check the time stamp or the file /usr/bin/ffmpeg.
See the post above.
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 11 of 16 Posts_count   Goto page: Previous 1, 2, 3, ..., 9, 10, 11, 12, 13, 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.1491s ][ Queries: 13 (0.0079s) ][ GZIP on ]