Domanda

I 'm working on a project which is client-server based. Client is a Windows application (Visual Studio 2012) and server is a C program running on Linux.

Server uses a webcam to capture and stream video (ffserver). Problem is I don't know how to program client to receive and play video (via a dialog box maybe). Do I have to make use of players like WMPlayer, VLC or not?

I 'm newbie and any help or recommendations would be appreciated.

È stato utile?

Soluzione

Client side you could always use DirectShow to decode and render your stream. Live555 can handle the stream and pass it to a graph.

Render RTSP H.264 video stream using live555

If you're unfamiliar with DirectShow and filters there's a lot of stuff on MSDN

About DirectShow Filters

That should allow you to render to a surface of your choosing, it's always wise to render something on no signal though, just so you can tell the difference between no stream and a blank stream.

Altri suggerimenti

i think you will find both server and client side solution using simple vlc player on both end follow below link http://xmodulo.com/2013/09/live-stream-video-webcam-linux.html

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top