Just curious to see if this is possible. I have a windows application that reads all the bytes from a .avi file situated on my pc and then stores it in a byte[]. So now I have the avi file in memory, and I want to load it into some sort of a video player control, directly from memory. I've tried using the wmplayer control, apparently this is not possible. I've read suggestion about using the DirectShow and VLC plugins, but I have no idea where to even start using those two and I haven't seen any sample code of this being down. Anybody have any ideas to elaborate on the mentioned plugins, or have a different approach to it?
Play video file from a memory stream
4.1k Views Asked by Yo Momma At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in VIDEO
- How to open and read video stream in Matlab
- Extract bytes of specific stream from mpegts file using ffmpeg
- AVQueuePlayer crashes when I try to observe the start of the next video: AVPlayerItem was deallocated with observers
- How to get the time stamp of each frame of a GoPro video in MATLAB?
- DFP Videos Ads Internal error
- Get youtube video information using javascript and Youtube-API
- YouTube views not counting on Wordpress embed
- Videos not working on phones using HTML
- How to track multiple youtube videos in google analytics
- Cloudfront stream only part of the video
- Changing switch statement to include both mp4 and ogg files
- How to detect squares in video with OpenCV?
- Saving iOS video buffer
- dynamic video source change issue in azure media player
- Video Editing For Android
Related Questions in MEMORYSTREAM
- When will MemoryStream.TryGetBuffer return a useful ArraySegment?
- Trying to read an Excel file file stream in C#, I get numbers instead of text
- Clear MemoryStream after passing the objects to a different function
- How to insert a dynamically generated bitmap into PDF document using PDFsharp?
- Play memory streams avoiding gap between them in WP8.1 app
- Playing a wav file from a MemoryStream windows phone 8.1
- Image to bytes on IIS 8
- Stream.CopyTo(newStream) return Length 0
- play audio periodically from a memory stream c#
- Play from a memory stream(which doesn't contain wav headers) in WPF
- How to recreate a Zip File from a MemoryStream
- Encoding attribute from XML file Declaration turns to lower case when the file is created by a MemoryStream
- c# Copy growing memorystream to a new memorystream
- How can I write to a FileStream from a Memorystream starting from a non-zero position?
- ClosedXml Cannot access a closed Stream
Related Questions in AUDIOVIDEOPLAYBACK
- DirectX AudioVideoPlayback Video Background Transparency
- Will iPhones webViewDidFinishLoad Detect End of Playback" of Streamed Audio File
- Play video file from a memory stream
- Android - Load video from private folder of app
- is this possible? Video playback on ie7 and ie8 without Flash player
- CIFS/SMB vs HTTP/RTSP streaming to share video files
- C# winform, App Crashing after using the Video/Audio classes from the Microsoft.DirectX.AudioVideoPlayback dll
- ColorBox Pause Vido on Close
- How to play a sound while another sound is already playing - VB.NET 2010
- How to fix jittery audio/video on firefox when playback rate set to .5x using javascript?
- Audio disposing problems using AudioVideoPlayback library
- Mute audio/video of the stream track Twilio js
- Android - How do I capture and loop video to the screen?
- Customizable Flash Player?
- c# using Microsoft.DirectX.AudioVideoPlayback how to play next video after one is finished
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For DirectShow, an in-memory source filter may be required. I am not aware of such a filter being available, but one can be based on Async Filter Sample from DirectShow samples. This is in C++ though.
For .NET, DirectShow.NET library can be used. A sample GSSF filter there may be a good start for an in-memory source filter implementation. This library also provides COM Interop for DirectShow that could be used to build a test player application that instantiates this filter.