playing video from MemoryStream
I was wondering if anyone knows how to play a video directly from the memory stream, using the windows media player component? I dont want to have to save the video to a file and then provide the player with the file path as the URL. I know that there are other methods of playing videos, but i wanna keep it simple, so I would prefer to use the simple windows media player component.
Re: playing video from MemoryStream
Re: playing video from MemoryStream
Just open the url to the media stream... You can use DirectShow to fully control the streams.
Re: playing video from MemoryStream
I havent really worked with DirectShow before. Any pointers on how to go about doing it? How exactly do i control the stream using DS?
Re: playing video from MemoryStream
What's wrong with developers nowadays.....
Next time, google first please!
DirectShowLib
Re: playing video from MemoryStream
lol... a little too lazy i guess... thanks btw
Re: playing video from MemoryStream
Hello Guys ,
We would like to develop a video player which needs to play from memory stram . Basically the files would be encrypted in local system and we need to decrypt them into memory and play them , not saving in temp location or file .
Please let me know your comments or thoughts / sample code etc /
Advanced thanks for your help or comments .
Thanks
Ravi k
Re: playing video from MemoryStream
Hi,
Did u find any solution for the problem?
I have the same problem now.
Tnx
Re: playing video from MemoryStream
Hi,
Yes, one possible solution I've found during working on a player that could play encrypted video files, is the following. Instead of having a real file on a disk you create a "file", a thing that is not present at a disk, but all files calls like SetFilePointer, ReadFile, GetFileSize are being redirected to appropriate memory stream methods. I like this really rich idea, for instance, you may read more about this approach here: http://boxedapp.com/encrypted_video_streaming.html
So it seems it's possible to provide video data not only from an array of bytes, but actually from any source!
Hope this helps!
Re: playing video from MemoryStream
Sure. Bypass encryption is possible on the device, not another.