Hey My application uses directshow to playback videos. If a video is playing and the user minimizes and then brings the window back on screen the video disapears. Does anyone have any idea of what could be causing this? Thanks
TimSWatson
Posts
-
Directshow problem -
How do I view a jpg without using Image.FromStreamMaybe I was a bit vague. I am recieving a stream of jpegs from a number of cameras. I want to show these on screen and I was wondering if there was a way of doing this without having to first uncompress the jpg using Image.FromStream as this is a slow process.
-
How do I view a jpg without using Image.FromStreamHey Does anyone know how to view a jpg stored in a stream on a control such as a picturebox without having to first convert it to a BITMAP using Image.FromStream? Thanx
-
Flow control using Asynch SocketsThanks this is exactly what I needed.
-
Flow control using Asynch SocketsHey Im having a problem using the sockets asynchronous BeginSend method. My server application is sending a large amount of data in small chunks and therefore I am calling BeginSend many times in a short period of time. I believe that the recieving application cant handle the speed and therefore the sender is queuing the calls until they can be sent. This means that memory is constantly increasing on the sender application. I think that I need to implement some sort of flow control to stop calling BeginSend when there are to many calls pending. Can anyone help me out or point me to some literature on this issue? Thanks
-
How do I find the BITMAPINFOHEADER of a imageThank you for the reply. I have managed to get it to create avi's with uncompressed images but my problem is that I dont know how to add compressed images. I need to know the BITMAPINFOHEADER.Compressed parameter. Do you know how I can get this parameter from the image? Thanks
-
How do I find the BITMAPINFOHEADER of a imageHi Im using AVIStreamWrite to create a video using a string of JPG's from a ethernet camera. I believe that I have to use aviSetFormat before I can use the above function. One of the arguments for the aviSetFormat function is a BITMAPINFOHEADER. I have tried settings it up manually but the video is just black. So is there a way of finding the BITMAPINFOHEADER of a image using a function call? Thanks
-
Anything qucker than Image.FromStreamOk thanx for the help. So if showing pictures at a quick pace is actually just a video surely I can use DirectX or DirectShow to play the "Video"? Or wont this be quick enough to do what I want? If not I will just have to reduce the frame rate. Thanks
-
Anything qucker than Image.FromStreamNo there not videos. Its a frame from a IP camera along with other information and is sent from a server.
-
Status strip overlaps text box.Set dock to fill on the textbox and then right click the textbox control and click bring to front.
-
Anything qucker than Image.FromStreamThe problem is im recieving 16 video streams and each is 25fps. Thats 400fps and Image.FromStream is taking 3-4 ms per frame. Its just to slow.
-
Anything qucker than Image.FromStreamHey My program recieves a byte array containing a jpg. I am using Image.FromStream and then viewing the image on a picturebox. Image.FromStream is quite slow so is there any other way I could view the jpg? Thanks
-
Flickering screen when minimizingIt's solved it, thanks.
-
Flickering screen when minimizingHey My program has a lot of controls on the main form and when minimizing it the screen flickers for a couple of seconds. Anyone know how to stop this? Thanks
-
Streaming images using TCP helpOk the reason I havnt provided more info is becuase I have used mutliple methods to try and solve the same problem and none have worked. Blocked socket, non blocking socket, tcpclient ect and all have failed. Therefore the problem is not with classes or extra threads. I have found out that I am having this problem because I am expecting to recieved the whole message in one read rather than multiple reads. I need to learn how to frame the data. A beginners mistake :(
-
Streaming images using TCP helpHi I am having trouble streaming jpeg's from a server to a client using TCP. A lot of the images I recieve are corrupt and some of them are superimposed on top of each other. I have used blocking, non blocking TCP and havnt been able to fix it. I believe that to much time is being taken up processing each frame before recieving the next frame. Therefore the TCP buffer is being overwritten with the next TCP packet. Is this what is happening or is it somthing else? And does anyone know how to fix this problem? Thanx
-
Why am I recieving corrupt images?Sorry for the lack of info. Ill try to explain what I am doing. I have a server application that is connected to mutltiple ethernet cameras. The server application is responsible for recording video and redirecting the camera streams. The client application is used to view the live camera streams and recorded video. When sending the live stream from the server to the client applications I get the wierd behavour shown in the image. The image shows frames from 2 cameras. I was thinking that it was caused by a race condition somewhere at first. But after testing the applications over a busier network the corruption of the frames seems to increase. So maybe it has somthing to do with TCP.
-
Why am I recieving corrupt images?Hi I have a server app which handles multiple Ethernet camera. The server sends a video streams to a client application which is then displayed on screen. The problem is that I am recieving corrupt frames quite regularly at the client end. An example of a frame is below, [][Corrupt frame] I am using TCP to send the images. Anyone got any ideas of what could be causing this? Thanx
-
DirectShowHi Im playing videos using directshow but when I minimize the form and then bring it back to normal the video seems to disapear. Anyone know why? Thanx
-
Non blocking TCPHi Does anyone have any decent links or documentation for non blocking TCP programming. I have a server that accepts incoming connections and processes requests from users but I cant get it working very well. Any help would be appreciated. Thanx