vlc to darwin streaming server

About encoding, codec settings, muxers and filter usage
marcbalcells
New Cone
New Cone
Posts: 6
Joined: 27 May 2008 09:29

vlc to darwin streaming server

Postby marcbalcells » 27 Jun 2008 13:00

Hello, I'm trying to stream a video from vlc to darwin streaming server, here is my setup:
VLC on ubuntu hardy behind NAT
Darwin on windows 2003 server on remote server

here is the vlc command:

Code: Select all

vlc -I dummy --repeat video.avi vlc:quit --sout '#transcode{vcodec="H263+",venc=ffmpeg{keyint=25},vb=55,width=176,heigth=144,acodec="samr",ab="12.2",samplerate="8000",channels="1"}:rtp{dst=IPOFDARWIN,port-audio=60000,port-video=60002,name=video,proto=udp,sdp=file://video.sdp}'
I copy the video.sdp file to darwin movies directory. When I try to open using quicktime through Darwin I only get audio, for example callling:

Code: Select all

rtsp://IPOFDARWIN/video.sdp
but If I use quicktime on the windows server to open the sdp file, it works fine, I get audio+video.

It looks like darwin is only sending audio and has some problems with video.

here's my sdp file:

Code: Select all

v=0 o=- 1214564254016113 2 IN IP4 127.0.0.1 s=video t=0 0 a=tool:vlc 0.8.6e c=IN IP4 IPOFDARWIN m=audio 60000 RTP/AVP 96 b=AS:12 a=rtpmap:96 AMR/8000 a=fmtp:96 octet-align=1 m=video 60002 RTP/AVP 97 b=AS:55 a=rtpmap:97 H263-1998/90000
Any clue on how to get audio+video through darwin?

Thank's

yohann.martineau
Blank Cone
Blank Cone
Posts: 84
Joined: 27 Aug 2007 15:22

Re: vlc to darwin streaming server

Postby yohann.martineau » 27 Jun 2008 16:43

my advice: try with mp4v mp4a
and please avoid darwin on windows server 2003, for security reasons.
take a look at this thread:
viewtopic.php?f=4&t=32290&p=144669&hilit=s60#p143839

marcbalcells
New Cone
New Cone
Posts: 6
Joined: 27 May 2008 09:29

Re: vlc to darwin streaming server

Postby marcbalcells » 28 Jun 2008 11:56

Thank's yohan, I'll give it a try but I have to stick to h263 and amr_nr in order to comply with another plattform behind dss.

marcbalcells
New Cone
New Cone
Posts: 6
Joined: 27 May 2008 09:29

Re: vlc to darwin streaming server

Postby marcbalcells » 28 Jun 2008 12:03

I've tried with mp4v and mp4a but I'm getting the same results, only audio through DSS rtsp.

yohann.martineau
Blank Cone
Blank Cone
Posts: 84
Joined: 27 Aug 2007 15:22

Re: vlc to darwin streaming server

Postby yohann.martineau » 30 Jun 2008 11:15

I know that ffmpeg does not support h263 rtp payload. I know that vlc uses ffmpeg api for some features. Maybe it tries with ffmpeg and thus it cannot stream video as h263 over rtp.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 4 guests