sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #84203
Re: Real til mp3
Hans Schou wrote:
Sært! Jeg har kun gode erfaringer med det script.
Måske det hjælper med en "BASIC debugger".
Åben filen med din favorit editor, fx:
vi `which vsound`
i linje 2 skriver du
set -x
så vil alle kommandoer blive udskrevet til skærm.
Har du mplayer installeret, så prøv lige om den virker.
/hans
Alt ser ud til at virke, der kommer bare ikke indhold i wav filen.
Det første sekund er med og så ikke mere.
mplayer kan ikke åbne url'er
Jeg vedkæfter lige et screendump
$ vsound -t /usr/local/RealPlayer/realplay
http://www.dr.dk/p1/aspinclude/PlayMedia.asp?ClipID=41890
+ keep_temps=0
+ resamplerate=0
+ outfile=./vsound.wav
+ convert_to_wav=1
+ test 3 -le 1
+ test 3 -gt 0
+ case "$1" in
+ export VSOUND_TIMING=1
+ VSOUND_TIMING=1
+ shift
+ test 2 -gt 0
+ case "$1" in
+ break
+ export VSOUND_DATA=./vsound21240.au
+ VSOUND_DATA=./vsound21240.au
+ '[' 1 ']'
+ '[' '' ']'
+ '[' 1 = 1 ']'
+ echo 'Output file: ./vsound.wav'
Output file: ./vsound.wav
+ echo 'Temp AU file: ./vsound21240.au'
Temp AU file: ./vsound21240.au
+ prefix=/usr
+ exec_prefix=/usr
+ pkglibdir=/usr/lib/vsound
+ '[' '!' '' ']'
+ echo 'About to start the application. The output will not be available'
About to start the application. The output will not be available
+ echo 'until the application exits.'
until the application exits.
+ LD_PRELOAD=/usr/lib/vsound/libvsound.so
+ /usr/local/RealPlayer/realplay
'http://www.dr.dk/p1/aspinclude/PlayMedia.asp?ClipID=41890'
Warning: LD_PRELOAD="/usr/lib/vsound/libvsound.so"
+ test '' = 1
+ '[' '!' -e ./vsound21240.au ']'
+ test 0 '!=' 0
+ test 1 = 1
+ test 1 = 1
+ echo 'Converting to WAV file.'
Converting to WAV file.
+ sox ./vsound21240.au ./vsound.wav
+ test 0 = 0
+ test 1 = 1
+ echo 'Deleting temporary files.'
Deleting temporary files.
+ rm -f ./vsound21240.au
References