streaming-server
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
Streaming-Server
- openSUSE 11.3 32-Bit
- Maxdata
- 40 GB HDD
- 2GB RAM
- Medion TV Karte
modprobe bttv card=54
- Audio über Line-in der Onboard Soundkarte
- alsamixer zum Aktivieren von Line-in
Bild testen
xawtv
LIVE Video und Audio
- view.sh
#!/bin/bash mplayer tv:// -tv fps=25:buffersize=64:driver=v4l2:width=800:height=600:device=/dev/video0:forceaudio:adevice=/dev/dsp:norm=pal:input=2 -vo x11
Video und Audio aufnehmen
- view.sh
#!/bin/bash # Aufnahme 1:1 (große Dateien!) # -ovc copy # -oac pcm nice -n 20 mencoder tv:// \ -tv fps=25:buffersize=64:driver=v4l2:width=800:height=600:device=/dev/video0:forceaudio:adevice=/dev/dsp:amode=1:norm=pal:input=2 \ -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000:vhq:vqmin=2:vqmax=31 \ -oac mp3lame -lameopts cbr:br=256:q=0:aq=0:mode=0 \ -o filename.avi
Streamen
- stream.sh
#!/bin/bash cvlc v4l2:// :v4l2-dev="/dev/video0" :v4l2-input=2 :v4l2-adev=/dev/dsp :input-slave=alsa:// \ --sout '#transcode{vcodec=wmv2,vb=800,scale=0.5,acodec=mpga,ab=512,samplerate=44100,channels=1}:duplicate{dst=std{access=http{mime=video/x-ms-wmv},mux=asf,dst=:8080}}' \ :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep #cvlc final.wmv \ #--sout '#transcode{vcodec=mp1v,vb=2600,scale=0.75}:duplicate{dst=std{access=http{mime=video/x-ms-wmv},mux=asf,dst=:8080}}' \ #:no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep --no-sout-audio
Bildschirm freigeben über das Netzwerk
- x11vnc
- x11.sh
#!/bin/bash x11vnc -display :0 -ncache 10 -viewonly
- Alternativ: Bildschirm der Clients anzeigen
- Am Client TightVNC Server installieren
- Zusätzlich Remote-Desktop erlauben
streaming-server.1298552428.txt.gz · Zuletzt geändert: von admin
