Segui il video qui sotto per vedere come installare il nostro sito come web app sulla tua schermata principale.
Nota: Questa funzionalità potrebbe non essere disponibile in alcuni browser.
Pubblicità
#!/bin/sh
DIR="metti qui la dir con i file m4a"
OUT="metti qui la dir dove vuoi trovare gli mp3"
for i in `find "$DIR" -name "*.m4a"`;
do
mplayer -ao pcm "$i" -aofile "/tmp/xxx.wav"
lame -h -b 192 "/tmp/xxx.wav" "$OUT/${i}.mp3"
rm "/tmp/xxx.wav"
done
#!/bin/sh
DIR="/home/daniele/Desktop/new order/Singles"
OUT="/home/daniele/Desktop/new order/Singles"
for i in `find "$DIR" -name "*.m4a"`;
do
mplayer -ao pcm "$i" -aofile "/tmp/${i}.wav"
lame -h -b 192 "/tmp/${i}.wav" "$OUT/${i}.mp3"
rm "/tmp/${i}.wav"
done
daniele@daniele:~$ cd /root
daniele@daniele:/root$ sh m4a2mp3.sh
m4a2mp3.sh: 11: mplayer: not found
m4a2mp3.sh: 11: lame: not found
rm: impossibile rimuovere `/tmp//home/daniele/Desktop/new.wav': Nessun file o directory
m4a2mp3.sh: 11: mplayer: not found
m4a2mp3.sh: 11: lame: not found
rm: impossibile rimuovere `/tmp/order/Singles/1-01.wav': Nessun file o directory
m4a2mp3.sh: 11: mplayer: not found
m4a2mp3.sh: 11: lame: not found
rm: impossibile rimuovere `/tmp/Ceremony.m4a.wav': Nessun file o directory
m4a2mp3.sh: 11: mplayer: not found
m4a2mp3.sh: 11: lame: not found
rm: impossibile rimuovere `/tmp//home/daniele/Desktop/new.wav': Nessun file o directory
m4a2mp3.sh: 11: mplayer: not found
m4a2mp3.sh: 11: lame: not found
rm: impossibile rimuovere `/tmp/order/Singles/1-02.wav': Nessun file o directory
....
m4a2mp3.sh: 11: lame: not found
rm: impossibile rimuovere `/tmp/order/Singles/2-16.wav': Nessun file o directory
m4a2mp3.sh: 11: mplayer: not found
m4a2mp3.sh: 11: lame: not found
rm: impossibile rimuovere `/tmp/Turn.m4a.wav': Nessun file o directory
daniele@daniele:/root$
che ti manchino mplayer e lame ? ;)m4a2mp3.sh: 11: mplayer: not found
m4a2mp3.sh: 11: lame: not found
#!/bin/sh
DIR="metti qui la dir con i file m4a"
OUT="metti qui la dir dove vuoi trovare gli mp3"
for i in `find "$DIR" -name "*.m4a"`;
do
filename=`basename "$i"`
faad -f 1 -b 1 -o /tmp/xxx.wav "$i"
lame -h -b 192 /tmp/xxx.wav "$OUT/${filename}.mp3"
rm /tmp/xxx.wav
done
ora mplayer e lame ci sono,cosa non va?MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(TM) XP 3000+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
-aofile is deprecated. Use -ao pcm:file=<filename> instead.
98 audio & 216 video codecs
Could not find "/tmp/xxx.wav".
rm: impossibile rimuovere `/tmp/xxx.wav': Nessun file o directory
-aofile is deprecated. Use -ao pcm:file=<filename> instead.
#!/bin/sh
DIR="/home/daniele/Desktop/new order/Singles"
OUT="/home/daniele/Desktop/new order/Singles"
for i in `find "$DIR" -name "*.m4a"`;
do
filename=`basename "$i"`
mplayer -ao pcm:file=/tmp/xxx.wav "$i"
lame -h -b 192 "/tmp/xxx.wav" "$OUT/${filename}.mp3"
rm /tmp/xxx.wav
done
-aofile is deprecated. Use -ao pcm:file=<filename> instead.
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(TM) XP 3000+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
98 audio & 216 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing Crystal.m4a.
File not found: 'Crystal.m4a'
Failed to open Crystal.m4a.
Exiting... (End of file)
Could not find "/tmp/xxx.wav".
rm: impossibile rimuovere `/tmp/xxx.wav': Nessun file o directory
#!/bin/sh
DIR="/home/daniele/Desktop/new order/Singles"
OUT="/home/daniele/Desktop/new order/Singles"
for i in `find "$DIR" -name "*.m4a"`;
do
echo "Analizzo $i"
filename=`basename "$i"`
mplayer -ao pcm:file=/tmp/xxx.wav "$i"
echo "Creo $OUT/${filename}.mp3"
lame -h -b 192 "/tmp/xxx.wav" "$OUT/${filename}.mp3"
rm /tmp/xxx.wav
done
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(TM) XP 3000+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
98 audio & 216 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing order/Singles/2-11.
File not found: 'order/Singles/2-11'
Failed to open order/Singles/2-11.
Exiting... (End of file)
Creo /home/daniele/Desktop/new order/Singles/2-11.mp3
Could not find "/tmp/xxx.wav".
rm: impossibile rimuovere `/tmp/xxx.wav': Nessun file o directory
Analizzo 60