Eigentlich sollte das ganz einfach sein, aber bei mir geht es einfach nicht. Ich habe tagelang in Wikis und blogs nach Hinweisen gesucht, aber nichts gefunden.
Ich will den Mikrofon-Eingang eines entfernten Laptops per VLC übers Internet streamen und dann auf meinem lokalen Laptop empfangen, abhören und mitschneiden.
Beide PC laufen mit Windows 7 home pro 64 bit und VLC Version 2.1.3 .
Beide Seiten benutzen dyndns für eine feste URL. Auf der entfernten Seite ist Port 9003 auf die interne IP-Nummer (192.168.178.XX) des dortigen Rechners mittel Fritz-Router durchgeschaltet. I manage den remote Laptop via LogmeIn.
Ich habe die folgenden input und output strings am remote pc:
:dshow-vdev=none :dshow-adev=Mikrofon (Realtek High Definiti :live-caching=3000
:sout=#transcode{vcodec=none,acodec=mp3[/color],ab=128,channels=1,samplerate=44100}:http{dst=: 9003/audio.mp3} :sout-all :sout-keep
Dies ist das verwendete playlist file:
?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/" version="1">
<title>Wiedergabeliste</title>
<trackList>
<track>
<location>dshow://</location>
<title>Streaming mic - no video - to http:// ... :9003/audio.mp3</title>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
<vlc:option>dshow-vdev=none</vlc:option>
<vlc:option>dshow-adev=Mikrofon (Realtek High Definiti</vlc:option>
<vlc:option>live-caching=3000</vlc:option>
<vlc:option>sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=1,samplerate=44100}:http{dst=:9003/audio.mp3}</vlc:option>
<vlc:option>sout-all</vlc:option>
<vlc:option>sout-keep</vlc:option>
</extension>
</track>
</trackList>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:item tid="0"/>
</extension>
</playlist>
Auf der hiesigen Seite öffne ich den http stream des remote pc und versuche ihn in dieser Form mit VLC abzuspielen:
http://dyndns-url.com:9003/audio.mp3 (anonymisierte URL)
I erhalte einen 404 Fehler. Da dyndns-url.com zugänglich ist (ich habe auch einige IP-cams an dieser Adresse laufen) , liegt das nicht an fehlender Internetverbindung.
Ich habe dann den VLC-Log auf der Remote-Seite aufgezeichnet
Mehrere Befehle wurden offenbar als "unsicher" nicht ausgeführt. Ich habe allerdings keinen davon manuell erzeugt und auch der VLC Media Player wurde unmittelbar vor diesem Versuch völlig neu installiert.
Wegen der Längenbeschränkung habe ich mich auf die m.E. wesentlichen Teile des Logs beschränkt:
main debug: processing request item: null, node: Wiedergabeliste, skip: 0
main debug: rebuilding array of current - root Wiedergabeliste
main debug: rebuild done - 1 items, index -1
main debug: starting playback of the new playlist item
main debug: resyncing on VLC streaming microphone to port 9003-audio.mp3 as MP3.xspf
main debug: VLC streaming microphone to port 9003-audio.mp3 as MP3.xspf is at 0
....
main debug: creating new input thread
main debug: Creating an input for 'dshow://'
main error: unsafe option "dshow-vdev" has been ignored for security reasons
main error: unsafe option "dshow-adev" has been ignored for security reasons
main error: unsafe option "sout" has been ignored for security reasons
main error: unsafe option "sout-all" has been ignored for security reasons
main error: unsafe option "sout-keep" has been ignored for security reasons
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\remote-user\AppData\Local\Temp'
main debug: `dshow://' gives access `dshow' demux `' path `'
main debug: creating demux: access='dshow' demux='' location='' file='(null)'
main debug: looking for access_demux module matching "dshow": 12 candidates
dshow debug: dshow-vdev:
dshow debug: dshow-adev:
dshow debug: found device: Chicony USB 2.0 Camera
dshow debug: found device: ManyCam Virtual Webcam
dshow debug: asking for default device: Chicony USB 2.0 Camera
dshow debug: asked for Chicony USB 2.0 Camera, binding to Chicony USB 2.0 Camera
qt4 debug: IM: Deleting the input
qt4 debug: IM: Setting an input
dshow debug: using device: Chicony USB 2.0 Camera
(Warum das? Ich hatte "no video input" gewählt!)
dshow debug: EnumDeviceCaps: output pin: Capture
...... hier massenhaft überflüssige Video-Einstellungen !!!
main debug: looking for decoder module matching "any": 39 candidates
araw debug: samplerate:44100Hz channels:2 bits/sample:16 <-- Ich hatte "Mono" gewählt: "channels:1"!!!!
main debug: using decoder module "araw"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\remote-user\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader modules matched
main debug: dshow://' successfully opened
Bis hier das Logfile nach dem Starten des Streams.
Ich habe dann versucht den Stream durch drücken des STOP-Buttons zu beenden, wobei sich die Buttons hätten ändern müssen. Es war aber nichts zu sehen, nur im Logfile:
main debug: incoming request - stopping current input
Dann habe ich das "II" Symbol angeklickt, welches eigentlich nach dem STOP schon wieder ein Abspiel-Dreieck hätte sein sollen:
main debug: incoming request - stopping current input
Wiederum keine sichtbare Änderung. Dann habe ich "Quit/Beenden" geklickt, aber der Player schaltete sich nicht ab. Ich musste den Prozess manuell killen:
main debug: exiting
main debug: removing all interfaces
main debug: exiting
main debug: no exit handler
main debug: removing module "qt4"
main debug: deactivating the playlist
main debug: incoming request - stopping current input
Kann mir jemand helfen, das Problem zu lösen??