473,624 Members | 2,119 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

c# video stream

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

Jun 8 '06 #1
3 16495
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/win...webserver.aspx

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

<Za****@gmail.c om> wrote in message
news:11******** **************@ i39g2000cwa.goo glegroups.com.. .
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

Jun 8 '06 #2
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/win...webserver.aspx

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

<Za****@gmail.c om> wrote in message
news:11******** **************@ i39g2000cwa.goo glegroups.com.. .
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


Jun 8 '06 #3
On Thu, 08 Jun 2006 09:03:55 -0400, Nicholas Paldino [.NET/C# MVP] wrote:
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...
Jun 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9622
by: Leon Lien | last post by:
I need to hide my video streaming source URL such as mms:\\123.11.123.24\test.wmv I know how to hide image source using another ASP at the <img src=> tag. But what about streaming Video ? Is there a good way to hide it in ASP code ? Thanks for any reply ...
1
22883
by: kantrishi | last post by:
Can any body give me details how i would capture video stream through video camera and save it in my database/computer in windows media player format or in real plyaer. I would like to make webcast software so my work need capturing live video feed where i would convert video into file format for later webcasting. Thanks, Rishi Kant ********************************************************************** Sent via Fuzzy Software @...
1
3319
by: osama hamed via .NET 247 | last post by:
(Type your message here) how can i use tcpclient to write video stream on port -------------------------------- From: osama hamed how can i use tcpclient to write video stream on port ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>8ndo+XUCUU28LsiCFnMhmg==</Id>
2
9640
by: K.H. | last post by:
Hi Does anyone know how I can grab a video stream from an IP-address? There's a video web server for live image transmission in the Internet. Data transfer is accomplished via TCP/IP. The web cam that I am using is integrated into a network with fixed IP address. The streaming software is already there, so I have to go to this IP-address to see the live video stream. How can I grab this video stream from an IP-address with an application...
1
6508
by: insomniak | last post by:
Hi ! I've searched all the night for something to play a video stream from an rtsp:// url but I found nothing :( Does anyone know how i can do that ? All I want is to read this video from my form and display it (full screen or not). mediaplayer component doesn't work for that... Any idea ?
10
5025
by: Lad | last post by:
Hello, Does anybody know about a video stream server that serves up HTML pages with links to video files, and then serving out those video files. L.
1
1457
by: Sala | last post by:
Hi Experts, Is possible to develope video stream projects in c#.Net using Xml and Xsl ?
1
1852
by: dannyk | last post by:
hi, I need a solution for displaying and reciving a video stream in a c# application. how can I do it? what should i do?
1
1795
by: rkatka | last post by:
I'm working with a sql db field that stores audio and video as a varbinary(max) field. I'm able to retrieve this from the db as a byte, but I'm struggling to figure out how to convert it back to an audio or video object that I can embed or link to in my website. I'm able to determine if the object is a audio or video from another field that is prefixed withe either "au_" or "vi_". Any help would be greatly appreciated.
0
8234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8172
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8677
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2605
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.