Lego/Streaming

From Slaskete wiki
Jump to navigation Jump to search

Working sample:

vlc dv/rawdv:///dev/raw1394 --dv-caching 10000 --sout '#transcode{vcodec=mp4v,acodec=mp4a,fps=25,width=720,height=576,cropbottom=86,croptop=86,deinterlace,vb=2200}:standard{access=udp,mux=ts,dst=128.39.80.41}'

Resources:


For streaming to Darwin Streaming Server:

vlc --loop -I dummy Desktop/lego-demo-hq.m2v --sout '#transcode{vcodec=mp4v,acodec=mpga,width=320,height=256,deinterlace,vb=512}:rtp{dst=128.39.80.61,port-audio=40000,port-video=40002,ttl=127,sdp=sap,sdp=file://test.sdp}'

For setting up a mms://-streaming server:

vlc --loop -I dummy Desktop/lego-demo-hq.m2v --sout '#transcode{vcodec=DIV3,vb=512,width=320,height=256,deinterlace,acodec=mp3,ab=128,channels=2}:std{access=mmsh,mux=asfh,dst=:8000}'

MASSIVE, both at the same time:

vlc --loop -I dummy Desktop/lego-demo-hq.m2v --sout '#duplicate{dst="transcode{vcodec=mp4v,acodec=mpga,width=320,height=256,deinterlace,vb=1024}:rtp{dst=128.39.80.61,port-audio=40000,port-video=40002,ttl=127,sdp=sap,sdp=file://test.sdp}",dst="transcode{vcodec=DIV3,vb=512,width=320,height=256,deinterlace,acodec=mp3,ab=64,channels=2}:std{access=mmsh,mux=asfh,dst=:8000}"}'


This is the needed dsp-file:

v=0. 
o=- 1192719480219385 1 IN IP4 128.39.80.40
s=Test
t=0 0
a=tool:vlc 0.8.6
c=IN IP4 128.39.80.61
m=video 40002 RTP/AVP 96
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3;  config=000001b001000001b58913000001000000012000c4f808ed8800cd0be4201463000001b24c61766330642e35312e31312e30;
b=AS:2200


SDI capture:

http://forum.videolan.org/viewtopic.php?f=2&t=37056

Incoming video format:

sound:
codec: araw
sample rate: 44100 Hz
bits pr. sample: 16

video:
codec: YUVY
resolution: 720x576 (1,25 or 5/4 ratio)
framerate: 25.0

Target resolution: 400x320

vlc dshow:// :dshow-vdev="Decklink Video Capture" :dshow-adev="" :dshow-size="" :dshow-caching=50 :dshow-chroma="UYVY" :dshow-fps=25.000000 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-country=0 :dshow-tuner-input=0 :dshow-video-input=-1 :dshow-audio-input=-1 :dshow-video-output=-1 :dshow-audio-output=-1


STREAMING-SERVER:

MAC:. 00:1A:A0:D5:A1:4B
IP: 128.39.80.68

TRANSCODING-SERVER:

MAC: 00-1A-A0-D5-B7-34
IP: 128.39.80.56