0

I just walked through this thread, and found html5 video is fantastic.

So now what I need to do is convert video streams from pc camera into rtp/rtsp format.

Is there a good solution you recommend?

Community
  • 1
  • 1
user198729
  • 61,774
  • 108
  • 250
  • 348

1 Answers1

1

vlc and ffserver both can do this.

sml
  • 2,160
  • 13
  • 12
  • Can you elaborate how to publish camera stream to the vlc or ffserver? – user198729 Jun 15 '10 at 16:47
  • Well, if you follow the vlc link and use the example command line (swap `input_stream` for the path to your pc camera) you should be able to simply put `src="rtsp://server.example.org:8080/test.sdp"` in the html5 video tag. – sml Jun 16 '10 at 02:25
  • No, it's impossible to ask the user to specify that `input_stream` which they don't understand,I'm trying to achieve something like this site provides: http://www.mobileipcamviewer.com/ – user198729 Jun 16 '10 at 03:22
  • for windows it's something like `dshow://`. linux, something like `v4l:///dev/video`. There is plenty more info on the VLC wiki. http://wiki.videolan.org/Documentation:Streaming_HowTo/Stream_from_Encoding_Cards_and_Other_Capture_Devices#Under_GNU.2FLinux – sml Jun 16 '10 at 03:30
  • you run vlc on the *server*. the camera is attached to the server, right? The product on the site you linked only works with *IP* cameras. – sml Jun 16 '10 at 03:59
  • VLC is on the server, but the camera is on the client. – user198729 Jun 16 '10 at 04:20
  • I think you need to edit your question with a more detailed explanation of what you're trying to achieve. mobileipcamviewer.com and "camera is on the client" are not the same thing. – sml Jun 16 '10 at 04:31
  • this is a programming website, if entering a commandline is too difficult then you're asking for a boxed GUI solution (that's VLC). At any rate if the camera is on a web client then it's surely at the bad end of a DSL line or 3G and streaming upstream on a consumer connection is generally unworkable. You should do more research or explain your problem better. – SpliFF Jun 17 '10 at 10:02