how to broadcast from VLC to Darwin Stream Server

About encoding, codec settings, muxers and filter usage
derekli
Blank Cone
Blank Cone
Posts: 18
Joined: 25 Nov 2004 18:43

how to broadcast from VLC to Darwin Stream Server

Postby derekli » 25 Nov 2004 18:46

Hi,

I'd like to capture live audio/video using VLC, and broadcast it to Darwin Stream Server on another PC. Then many users access the live stream from Darwin. Anyone know how to configure VLC to achieve that?

Thanks a lot,
Derek

derekli
Blank Cone
Blank Cone
Posts: 18
Joined: 25 Nov 2004 18:43

Postby derekli » 26 Nov 2004 15:33

The VLC user guide says it supports rtp module, and the valid options are dst, port, and sdp. But VLC 0.7.2 does not know these options. Do these options only apply 0.8.0 or later? But 0.8.0 and 0.8.1 will crash my windows XP when capturing webcam.

For the sdp option, we can only specify a local file, such as C:\abc.sdp, and then copy the sdp file to the Darwin server. Is it correct? Which video and audio codec are bettter?

Thanks,
Derek

dosborn

In same boat...

Postby dosborn » 26 Nov 2004 22:23

Hi,

I have an identical situation: trying to capture webcam on Win XP and send it up to Darwin Streaming Server using the latest version of VLC. Windows crashes when I try to get the webcam capture going. I checked the bug logs and did not see this bug logged, but I hesitate to log a bug because it may be a case of my inexperience with VLC.

Thanks,

- David

stream

Postby stream » 27 Nov 2004 17:39

Hey,

I also have the same problem, with the new VL 0.8.1 when i captured something he directly crashes... I don't knwo why, if anybody can help us with that problem it would be a nice thing to do :P

THx

-wim

derekli
Blank Cone
Blank Cone
Posts: 18
Joined: 25 Nov 2004 18:43

Postby derekli » 28 Nov 2004 01:19

The below link says 0.8.0 generates sdp file, so it's possible to broadcast to Darwin, but impossible for 0.7.2 :(
http://developers.videolan.org/vlc/NEWS

derekli
Blank Cone
Blank Cone
Posts: 18
Joined: 25 Nov 2004 18:43

Postby derekli » 29 Nov 2004 00:18

I got the answer :)

Both version 0.8.1 and 0.8.0 work well after I set the video size as 640 x 480. I checked the website of the webcam company, and got to know the camera supports 640 x 480.

One tricky thing is that we have to leave a space character between the two numbers. VLC crashes my windows XP if there is no space, or the video size is not set at all.

But I still don't know how to set sdp file. The log is as follow after I set sdp parameter:

stream_out_duplicate debug: * adding `std{access=rtp,mux=ts,url=127.0.0.1:1234,sdp=file:///C:\abc.sdp}'
main debug: stream=`std'
main debug: looking for sout stream module
main debug: probing 1 candidate
main debug: set sout option: sout-standard-access to rtp
main debug: set sout option: sout-standard-mux to ts
main debug: set sout option: sout-standard-url to 127.0.0.1:1234
main warning: option sdp is unknown
stream_out_standard debug: creating `rtp/ts://127.0.0.1:1234'
stream_out_standard debug: extention is 1:1234
stream_out_standard debug: extention -> mux=(null)
stream_out_standard debug: using `rtp/ts://127.0.0.1:1234'

Tomas

Postby Tomas » 02 Dec 2004 15:17

This worked for me:
vlc.exe \
-vvv \
--reset-config \
--no-audio \
dshow:// \
--dshow-vdev="Logitech QuickCam Pro 3000 (08B0)" \
--dshow-adev="none" \
--no-dshow-config \
--sout "#transcode:rtp" \
--sout-transcode-vcodec="mp4v" \
--sout-transcode-vb="64" \
--sout-rtp-dst="239.10.10.10" \
--sout-rtp-ttl="127" \
--sout-rtp-sdp="file://C:/Program Files/Darwin Streaming Server/Movies/vlc.sdp"

derekli
Blank Cone
Blank Cone
Posts: 18
Joined: 25 Nov 2004 18:43

Postby derekli » 02 Dec 2004 15:53

Are you using a multicast address?

I think I need specify the dst and port of my Darwin Server. I also want to capture radio, and display the video locally. Could you tell me the complete command?

Appreciate your help.

Derek


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests