PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : vsound geht nicht (ubuntu dapper)



floogy
18.07.06, 09:09
Hallo hat jemand eine Ahnung, wie man vsound dazu bewegt in ubuntu dapper zu funktionieren? (amd64 und i386_chroot).

ich bekomme nämlich auch das hier:

http://www.linuxforen.de/forums/showpost.php?p=772144&postcount=10


linux:/home/user # vsound -d -t -f http://lsd.newmedia.tiscali-business...rect.lsc?adid="+myAdID+"&content=live&media=rm&stream=sunshineli ve/livestream.rm
[1] 2672
[2] 2673
[3] 2674
[2] Done content=live
[3] Done media=rm
linux:/home/user # /usr/bin/vsound: line 126: -t: command not found
Missing file ./vsound2672.au.
This means that the libvsound wrapper did not work correctlty. A
possible reason is that the program you are trying to run is
setuid. In this case you will need to run vsound as root.

Das Problem gibt es auch bei anderen:
http://www.linuxarkivet.se/mlists/mandrake-expert/0306/msg00486.html

Es ist auch egal was für ein stream oder Programm das ist.

Ich mache es daher momentan mit mplayer -dumpstream -dumpfile .
( http://forum.ubuntuusers.de/topic/16415/ )
Ich habe auch mal was über eine Methode mit mkfifo gelesen .
http://linux.derkeiler.com/Newsgroups/alt.os.linux/2004-08/2229.html



#!/bin/bash

mkfifo audiodump.wav
mplayer $1 -ao pcm &
oggenc audiodump.wav -o recorded-stream.ogg


Ich habe auch schon in ubuntu-german gepostet, aber leider keine Antwort erhalten:

http://thread.gmane.org/gmane.linux.ubuntu.user.german/5542/focus=5542

Auf streamtuner-misc habe ich zwei von mir erstellte wrapper scripts 'streamplay' und 'streamrec' vorgestellt, und darum gebeten mitzuhelfen den code zu verbessern. ich bin da nicht so fit im shell scripten.

Vielleicht kann hier ja auch mal jemand in den code schauen?
http://lists.gnu.org/archive/html/streamtuner-misc/2006-07/index.html

ciao

Gerhard

floogy
20.07.06, 07:54
Hmm...
kann wenigstens jemand bestätigen, dass auf seinem system vsound auch nicht wie erwartet funktioniert?
Dann erstelle ich nämlich einen Bugreport.

BTW: Ich habe noch mimms entdeckt, und ein shellscript um asf in mp3 zu ändern, das mir vielleicht hilft meine wrapperscripte zu verbessern.
https://savannah.nongnu.org/projects/mimms/
Übrigens updaten, wegen bufferoverflow patch!
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374577

Ach ja, und dann noch das hier (Super Link für die Linkliste?)

http://gimpel.gi.funpic.de/wiki/index.php?title=Multimedia_Links&printable=yes#Rip.2C_Convert_.26_Burn
und daraus dieser Tipp:
http://freshmeat.net/projects/audio-convert/
https://savannah.nongnu.org/projects/audio-convert

Auch interessant, um den ganzen Krempel als flash in eine website zu integrieren:
http://www.flashforum.de/forum/archive/index.php/t-162.html ungetestet

floogy
23.07.06, 16:18
gerhard@ubuntu:~$ sudo aoss vsound aoss trplayer -n -q -i -b -t 0:00:30
rtsp://a1836.l751839969.c7518.e.lr.akamaistream.net/live/D/1836/7518/v0001/reflector:39969
About to start the application. The output will not be available
until the application exits.
ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be
preloaded: ignored.
ERROR: ld.so: object '/usr/lib/vsound/libvsound.so' from LD_PRELOAD
cannot be preloaded: ignored.
Title: WDR 5
Author: Westdeutscher Rundfunk
Copyright: (C) 2004 Westdeutscher Rundfunk
Bit rate is 32.041K
Missing file ./vsound20902.au.
This means that the libvsound wrapper did not work correctlty.
Here are some the possible reasons :
- You are trying to record a stream (RTSP or PNM protocol) from
the internet. You will need to use the --timing option.
- The program you are trying to run is setuid. You will need to
run vsound as root.
- Vsound was not properly installed and hence won't work at all.

Ich denke, es is mir nach langem (!) suchen wohl klar (?) geworden, dass
vsound nur mit oss Treibern funktioniert.


gerhard@ubuntu:~$ apt-cache show vsound|grep -A3 Description
Description: Virtual loopback sound recorder and real audio converter
This program allows you to record the output of any standard OSS
program (one that uses /dev/dsp for sound) without having to modify or
recompile the program. It uses sox to convert and save the raw data

OSS hatte ich leider als FOSS gelesen ;-). Selbst mit
mplayer -d /dev/dsp rtsp://url konnte ich aber vsound nicht bewegen mit
alsa zu funktionieren (zu hören war immer etwas).

Ich dachte, aoss würde ein oss-emulations-device (z.B. /dev/dsp oder /dev/audio) für oss-sound Applikationen bereitzustellen.
Es geht aber nichtmal mit aoss.

Kann das jemand bestätigen?

ciao

Gerhard

floogy
24.07.06, 10:16
Ja, tatsächlich:
Die simple Suche nach "aoss vsound" gibt einen ganzen Haufen nützlicher Treffer :cool: :
http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-11,GGGL:de&q=vsound+aoss

z.B.:
http://emacspeak.blogspot.com/

Dort wird erwähnt, das aoss womöglich mit vsound funktioniert, allerdings erst ab alsa 1.0.11. (Falls ich das richtig verstanden haben sollte).

http://sourceforge.net/mailarchive/forum.php?thread_id=7715486&forum_id=1751

gibt eine reine alsa Lösung mit modifizierter .asoundrc und dem alsa file plugin.

Warum bin ich nicht gleich auf diesen google Suchstring gekommen? :confused:

Ich hatte alle nur erdenklichen Suchen durchgeführt - seit Tagen! :eek: :mad:

Ich habe jetzt auch mit
vsound -d -t alsaplayer -o oss sounddatei.mp3
eine abspielbare vsound.wav erstellt (vsound 0.6 scheint automatisch die temporäre vsoundxxxx.au in vsound.wav zu wandeln, solange mit -f kein anderes Format mittels file name extension übergeben wurde). Mit
vsound -d -t alsaplayer -o alsa sounddatei.mp3 funktioniert das nicht.

Leider kenne ich keine entsprechende option im mplayer, trplayer oder anderen mediaplayern.

Ich werde mal versuchen herauszufinden was mit alsa 1.0.11 und aoss ist...

Die reine alsa Lösung werde ich auch mal versuchen.