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
OUTDIR="dir di output"
INDIR="dir di input"
for i in `find "$INDIR" -type f -name "*.m4a"|sed -es/\ /@@@/g`;
do
prefilename=`echo $i|sed -es/@@@/_/g`
filename=`basename $prefilename`
mplayer -ao pcm:file=/tmp/xxx.wav "`echo $i|sed -es/@@@/\ /g`"
lame -h -b 192 "/tmp/xxx.wav" "$OUT/${filename}.mp3"
rm /tmp/xxx.wav
done
Playing /home/daniele/Desktop/new order/Singles/2-16 Turn.m4a.
ISO: File Type Major Brand: Apple iTunes AAC-LC Audio
Quicktime/MOV file format detected.
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
[AO PCM] File: /tmp/xxx.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 253.5 (04:13.4) of 253.5 (04:13.4) 0.8%
Exiting... (End of file)
Can't init outfile '/2-16_Turn.m4a.mp3'
#!/bin/sh
OUTDIR="dir di output"
INDIR="dir di input"
for i in `find "$INDIR" -type f -name "*.m4a"|sed -es/\ /@@@/g`;
do
prefilename=`echo $i|sed -es/@@@/_/g`
filename=`basename $prefilename`
mplayer -ao pcm:file=/tmp/xxx.wav "`echo $i|sed -es/@@@/\ /g`"
lame -h -b 192 "/tmp/xxx.wav" "$OUTDIR/${filename}.mp3"
rm /tmp/xxx.wav
done
avrebbe dovuto insospettirti e metterti sulla strada giusta dato cheCan't init outfile '/2-16_Turn.m4a.mp3'
daniele@daniele:/root$ sh m4a2mp3.sh
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
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 /home/daniele/Desktop/new order/Singles/1-01 Ceremony.m4a.
ISO: File Type Major Brand: Apple iTunes AAC-LC Audio
Quicktime/MOV file format detected.
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
[AO PCM] File: /tmp/xxx.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 279.1 (04:39.0) of 279.1 (04:39.0) 0.8%
Exiting... (End of file)
LAME 3.97 (beta 1, Oct 19 2006) 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), 3DNow! (ASM used), SSE
Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz
Encoding /tmp/xxx.wav
to /home/daniele/Desktop/new order/Singles/1-01_Ceremony.m4a.mp3
Encoding as 44.1 kHz 192 kbps j-stereo MPEG-1 Layer III (7.3x) qval=2
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
10685/10685 (100%)| 0:36/ 0:36| 0:36/ 0:36| 7.6471x| 0:00
-------------------------------------------------------------------------------
kbps LR MS % long switch short %
192.0 95.5 4.5 98.3 1.0 0.7
Writing LAME Tag...done
ReplayGain: -8.5dB
#!/bin/sh
DIR="dir con i file"
for i in "$DIR/*.mp3";
do
DEST=`echo $i|sed -es/\.m4a\.mp3/\.mp3/g`
mv "`echo $i`" "`echo $DEST`"
done
#!/bin/sh
DIR="/home/daniele/Desktop/new order/Singles"
for i in "$DIR/*.mp3";
do
DEST=`echo $i|sed -es/\.m4a\.mp3/\.mp3/g`
mv "`echo $i`" "`echo $DEST`"
done
daniele@daniele:/root$ sh togli_m4a.sh
mv: impossibile fare stat di `/home/daniele/Desktop/new order/Singles/*.mp3': Nessun file o directory
#!/bin/sh
DIR="dir con i file"
for i in `find "$DIR" -type f -name "*.mp3"|sed -es/\ /@@@/g`;
do
DEST=`echo $i|sed -es/\.m4a\.mp3/\.mp3/g`
mv "`echo $i|sed -es/@@@/\ /g`" "`echo $DEST|sed -es/@@@/\ /g`"
done