video streaming from a LAN camera

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
chamson
New Cone
New Cone
Posts: 9
Joined: 28 Mar 2006 10:20

video streaming from a LAN camera

Postby chamson » 28 Mar 2006 10:33

I am trying to view a video broadcasted from a LAN camera (D-link DCS-5300W) on vlc media player and without succes.
Can any body help me by telling me how to proceed or by giving me tips.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 29 Mar 2006 09:56

It would be smart to know the address and how it was being streamed and in what format in order for you to try to trouble shoot your problem.

:lol:

chamson
New Cone
New Cone
Posts: 9
Joined: 28 Mar 2006 10:20

video streaming from a LAN camera

Postby chamson » 29 Mar 2006 14:48

the adress is usless for you because the camera is connected to local area network and you don't have access to this network but still here it is http://10.13.96.22
the format of the video is MPEG-4
but I don't know what you meen by "how it was being streamed " can you give an example please

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Re: video streaming from a LAN camera

Postby DJ » 30 Mar 2006 01:13

the adress is usless for you because the camera is connected to local area network and you don't have access to this network but still here it is http://10.13.96.22
the format of the video is MPEG-4
but I don't know what you meen by "how it was being streamed " can you give an example please
I don't want to view you cam! :P But it is useful to you.

Assuming that the source (cam) is mpeg and the transcoding was successful and the result has been checked. All though you did say connected to the LAN, I did not try to look it up and you did not say how, so I assumed VLC as the server.

All you should need to do is open VLC and enter http://address:port Considering it is local all you should really need is to enter the http://:port

http:// in this case is the method or how it is being streamed.

chamson
New Cone
New Cone
Posts: 9
Joined: 28 Mar 2006 10:20

Postby chamson » 30 Mar 2006 09:40

to be more precise i wan to broadcast the video of the camera through VLC Media Player on a server (windows server 2003).

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 30 Mar 2006 10:19

I see! Well, I will finish my statement then.

VLC uses the capture device Direct Show driver output and is setup in File -> Open capture device. Once you have verified that the cam is working try transcoding so that you get a feel for formats and containers, file size and bit rate versus quality. You should always try to create compatible forms so that other players can play the files. This should give you most of the information for streaming. Except, be aware that most cams are raw video and audio out and this limits the transcode and stream functions. If you have problems or questions regarding the cams output format and or getting it to work with VLC I would recommend Graph Edit to verify the Direct Show drivers.

:lol:

chamson
New Cone
New Cone
Posts: 9
Joined: 28 Mar 2006 10:20

video streaming from a LAN camera

Postby chamson » 30 Mar 2006 11:13

i can't use direct show because the camera broadcasts it's video on a navigator. The camera never stops broadcasting unless i turn it off.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 30 Mar 2006 22:32

If the cam does not have Direct Show drivers it can not be used with VLC as a server. This does not mean that VLC won't work as a client.

chamson
New Cone
New Cone
Posts: 9
Joined: 28 Mar 2006 10:20

video streaming from a LAN camera

Postby chamson » 04 Apr 2006 08:10

but i wan't to use it as a client and not as a server

chamson
New Cone
New Cone
Posts: 9
Joined: 28 Mar 2006 10:20

Postby chamson » 05 Apr 2006 14:30

i thought that i was close but i was wrong
and when i opened the message box i got this...

main debug: adding playlist item `http://10.13.96.23:80/cgi-bin/video.vam' ( http://10.13.96.23:80/cgi-bin/video.vam )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: `http://10.13.96.23:80/cgi-bin/video.vam' gives access `http' demux `' path `10.13.96.23:80/cgi-bin/video.vam'
main debug: creating demux: access='http' demux='' path='10.13.96.23:80/cgi-bin/video.vam'
main debug: looking for access_demux module: 0 candidates
main debug: thread 3860 (input) created at priority 1 (src/input/input.c:230)
main warning: no access_demux module matched "http"main debug: creating access 'http' path='10.13.96.23:80/cgi-bin/video.vam'
main debug: looking for access2 module: 7 candidates
access_http debug: http: server='10.13.96.23' port=80 file='/cgi-bin/video.vam
main debug: net: connecting to 10.13.96.23 port 80
main debug: connection in progress
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: text/html
access_http debug: Server: D-Link Internet Camera
main debug: using access2 module "access_http"
main debug: pre buffering
main debug: received first data for our buffer
main debug: prebuffering done 1470 bytes in 0s - 4 kbytes/s
main debug: creating demux: access='http' demux='' path='10.13.96.23:80/cgi-bin/video.vam'
main debug: looking for demux2 module: 39 candidates
ts warning: TS module discarded (lost sync)
ffmpeg debug: couldn't guess format
ps warning: this does not look like an MPEG PS stream, continuing anyway
main debug: using demux2 module "ps"
main debug: `http://10.13.96.23:80/cgi-bin/video.vam' successfully opened
ps warning: garbage at input, trying to resync...

and it stays put on this last message.

chamson
New Cone
New Cone
Posts: 9
Joined: 28 Mar 2006 10:20

Postby chamson » 13 Apr 2006 09:49

Now i get this error message when i try to see what the is shooting

main debug: adding playlist item `udp://@[10.13.80.169:80]' ( udp://@[10.13.80.169:80] )
main debug: prebuffering done 0 bytes in 17s - 0 kbytes/s
main error: cannot pre fill buffer
main warning: cannot create a stream_t from access
main debug: unlocking module "access_udp"
main debug: thread times: real 0m17.755531s, kernel 0m0.010014s, user 0m0.000000s
main debug: thread 3596 joined (src/input/input.c:386)
main debug: creating new input thread
main debug: waiting for thread completion
main debug: `udp://@[10.13.80.169:80]' gives access `udp' demux `' path `@[10.13.80.169:80]'
main debug: creating demux: access='udp' demux='' path='@[10.13.80.169:80]'
main debug: looking for access_demux module: 0 candidates
main debug: thread 3596 (input) created at priority 1 (src/input/input.c:230)
main warning: no access_demux module matched "udp"
main debug: creating access 'udp' path='@[10.13.80.169:80]'
main debug: looking for access2 module: 6 candidates
access_udp debug: opening server=:0 local=[10.13.80.169:80]:1234
main debug: net: connecting to '[]:0@[[10.13.80.169:80]]:1234'
main debug: looking for network module: 1 candidate
ipv6 debug: [10.13.80.169:80]: Host or service not found
main debug: using network module "ipv6"
main debug: unlocking module "ipv6"
main debug: looking for network module: 1 candidate
ipv4 debug: could not build local address
main debug: using network module "ipv4"
main debug: unlocking module "ipv4"
main debug: net: connection to '[]:0@[[10.13.80.169:80]]:1234' failed
access_udp error: cannot open socket
access_file warning: @[10.13.80.169:80]: No such file or directory
cdda debug: trying .cue file: @[10.13.80.cue
cdda warning: could not open @[10.13.80.169:80]
main warning: no access2 module matching "udp" could be loaded
main error: no suitable access module for `udp://@[10.13.80.169:80]'
main debug: thread times: real 0m0.741065s, kernel 0m0.010014s, user 0m0.000000s
main debug: thread 3596 joined (src/input/input.c:386)
main: nothing to play

I don't know anything about sockets and I thing that it is the main probleme
so if any one has an don't be I open to any proposition
thanks

Zmenice
New Cone
New Cone
Posts: 4
Joined: 04 Sep 2006 16:14

Have you tried the RTSP protocol?

Postby Zmenice » 04 Sep 2006 16:56

Im doin a similar thing with a Dlink DCS 2120
not sure if your model supports it but try opening a new stream in vlc with the MRL rtsp://<IP Address>/<LIVE STREAM NAME>.sdp or similar
that worked for me
BTW if you figure out how to access the RGB raw data in any programming language could you let me know.
I can't really figure out hoe to do this in VB.NET I can play the stream fine but can't access the data


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 75 guests