c# video stream

Z

ZaRMaS

Hi all,

I'm developping a project which you can see a video stream in a panel
(like webcam). I am using DirectShowNet library to see the render, and
it works correctly. But i need to compress the video stream in live
with a codec (codec developped in C). Problem is that i don't know how
to read the stream and sending to my codec. I was thinking that i can
have a stream which have the same structure like an avi movie... If
anyone can help me, with ideas or website ...

Thank you
 
N

Nicholas Paldino [.NET/C# MVP]

Why would you want the format of an AVI movie? AVI's are typically
composed of uncompressed bitmaps, one representing every frame of the video.
Needless to say, it is pretty good, and doesn't stream well.

I would recommend using Windows Media Server, or configuring the clips
that you have to stream from a web server.

For more information on how to do this, go to:

http://www.microsoft.com/windows/windowsmedia/howto/articles/webserver.aspx

Hope this helps.
 
Z

ZaRMaS

I have done not a good explain of my project. (sorry for my poor
english).
Goal of my project is to render the stream and save it to hard drive
(not for a web server) and to compress. Other option of my program is
when you play "pause" on the stream I must save the current stream
because if the user click "play" he can see the old stream


Nicholas Paldino [.NET/C# MVP] a écrit :
Why would you want the format of an AVI movie? AVI's are typically
composed of uncompressed bitmaps, one representing every frame of the video.
Needless to say, it is pretty good, and doesn't stream well.

I would recommend using Windows Media Server, or configuring the clips
that you have to stream from a web server.

For more information on how to do this, go to:

http://www.microsoft.com/windows/windowsmedia/howto/articles/webserver.aspx

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hi all,

I'm developping a project which you can see a video stream in a panel
(like webcam). I am using DirectShowNet library to see the render, and
it works correctly. But i need to compress the video stream in live
with a codec (codec developped in C). Problem is that i don't know how
to read the stream and sending to my codec. I was thinking that i can
have a stream which have the same structure like an avi movie... If
anyone can help me, with ideas or website ...

Thank you
 
N

noone

Why would you want the format of an AVI movie? AVI's are typically
composed of uncompressed bitmaps, one representing every frame of the
video. Needless to say, it is pretty good, and doesn't stream well.

What are you talking about? (modern) AVI is nothing but a multiplexed
wrapper around whatever kind of AV data you wish to send. You can
certainly use it to transport any kind of codec's compressed data you want
but I will agree with you that it doesn't work well as a streaming
container. That is its one real weakness.

Ever try to concatenate two avi files containing mpeg4? It doesn't work.
Now MPEG/TS on the other hand...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top