Page 1 of 1
Transcoding into multiple different SDP from single input
Posted: 28 Mar 2012 12:14
by mirzaaaamir
Hi all,
I want to capture live feed from Osprey card and then transcode it into 2 different type of SDP for multiple unicast IP address. i read in documentation that we could use options, Can anybody guide me how this can be achieved. i can capture and transcode into one SDP file, Need different SDP for different DSS.
Regards
Re: Transcoding into multiple different SDP from single inpu
Posted: 28 Mar 2012 12:26
by RĂ©mi Denis-Courmont
You can use duplicate in the stream output chain.
Re: Transcoding into multiple different SDP from single inpu
Posted: 28 Mar 2012 12:40
by mirzaaaamir
thanks, but could duplicate be used to send 2 different transcoded SDP to 4 or 5 destined Darwin servers ? Actually we are planning to do POC for MobileTV services.
Re: Transcoding into multiple different SDP from single inpu
Posted: 28 Mar 2012 13:28
by mirzaaaamir
can "duplicate" be used for only 2 outputs OR we can use for 4 or 5 outputs also ???
Re: Transcoding into multiple different SDP from single inpu
Posted: 29 Mar 2012 07:53
by mirzaaaamir
any one, please need little help....
Re: Transcoding into multiple different SDP from single inpu
Posted: 29 Mar 2012 14:56
by mirzaaaamir
Hi all, i am using following command for this. SDP files are created but cant through the stream, can anyone help,where could be the mistake
vlc -vvv -I rc dshow:// :dshow-vdev="Osprey-450e Video Device 1A"
:dshow-adev="Osprey-450e Audio Device 1A" :live-caching=300 :sout
=#duplicate{dst=display,dst={transcode{vcodec=h264,vb=400,scale=1,acodec=mp3,ab
=128,channels=2,samplerate=44100,fps=15}:rtp{dst=172.29.0.11,port=5004,mux=ts,sd
p=file:///e:\vlc.sdp}},dst={transcode{vcodec=h264,vb=200,scale=2,acodec=mp3,ab=1
28,channels=2,samplerate=44100,fps=15}:rtp{dst=172.29.0.11,port=5006,mux=ts,sdp=
file:///e:\vlca.sdp}}
Re: Transcoding into multiple different SDP from single inpu
Posted: 24 Apr 2012 13:43
by mirzaaaamir
Hi All
I have successfully done this, I am pasting here my command for reference, I hope it will help if someone else is also having the same scenario
I am using vlc 1.1.7
C:\Program Files\VideoLAN\VLC>vlc.exe -I rc dshow:// :dshow-vdev="Osprey-450e Vi
deo Device 1A" :dshow-adev="Osprey-450e Audio Device 1A" :dshow-caching=200 :sou
t=#duplicate{dst='transcode{vcodec=h264,vb=80,fps=20,scale=1,width=640,height=48
0,acodec=mp3,ab=20,channels=2,samplerate=44100}:rtp{dst=172.29.0.11,port=5004,mu
x=ts,sdp=file:///d:\vlc.sdp}',dst='transcode{vcodec=h264,vb=560,fps=24,scale=1,w
idth=427,height=320,acodec=mp3,ab=96,channels=2,samplerate=44100}:duplicate{dst=
rtp{dst=172.29.0.11,port=5008,mux=ts,sdp=file:///d:\vlc12.sdp},dst=rtp{dst=172.2
9.0.11,port=5012,mux=ts,sdp=file:///d:\vlc122.sdp},dst=rtp{dst=172.29.0.11,port=
5016,mux=ts,sdp=file:///d:\vlc1222.sdp}}}',dst='transcode{vcodec=h264,vb=80,fps=
20,scale=1,width=240,height=240,acodec=mp3,ab=20,channels=2,samplerate=44100}:rt
p{dst=172.29.0.11,port=5020,mux=ts,sdp=file:///d:\vlc-2.sdp}'}
Re: Transcoding into multiple different SDP from single inpu
Posted: 30 Oct 2012 09:08
by mtanwr
Hi mirzaaaamir..
Thanks for your confirmed post. This is probably slightly off topic, but your post seems to be the only one with positive confirmation. And also you used vlc 1.1.7.
I am using the same on Windows 7. But my mission is much simpler. Just want to generate an SDP file from my webcam stream. This is the command I tried last. Everything seems ok:
vlc -I rc dshow:// :dshow-vdev="HP Webcam-101" :dshow-adev="Microphone (High Definition Audio)" :dshow-caching=200 :sout=#duplicate{dst='rtp{dst=192.168.0.101,port=5004,sdp=file:///d:\Stream.sdp}',dst='display'} :ttl=10
Unfortunately, the SDP file is not generated. I tried many other combinations mentioned in other posts in different forums but nothing seems to be working. Any idea whats going on?
What I want to do is create the SDP, then copy it to Darwin Streaming Server. That means I have VLC on Machine 1 throwing an RTP stream, and DSS on Machine 2 reflecting that RTP stream for other clients)
I have 2 questions:
(1) The dst port (for e.g dst=192.168.0.101 above) has to be the IP of the machine I am sending the stream too, right? Or does it have to be the IP of the machine I am trying to save the SDP on?
(2) Does saving the SDP file require any sort of permissions on Windows? I checked the permissions and the user I am logged in with has Full Control, just like the administrator does.
Thanks a lot in advance. This is really a strange issue.
Re: Transcoding into multiple different SDP from single inpu
Posted: 04 Dec 2012 09:50
by mirzaaaamir
Sorry for being late. Remove DST=Display. Simply copy the generated SDP in your darwin machine, restart the service and access the file via
rtsp://IP-of-ur-darwin:554 (Port is default)
5004 is video port at which stream would be sent via transcoding. This has nothing to do while accessing from Darwin.
BR