audiovideoplayback

Could not load file or assembly X or one of its dependencies. is not a valid Win32 application. (HRESULT: 0x800700C1)

浪子不回头ぞ 提交于 2019-12-29 08:16:29
问题 OS: Windows 8.1 64 I tried to play multiple sounds in VB.Net with DirectX, there are no errors in my code. The problem is whenever the event is fired I get this error System.BadImageFormatException was unhandled Message: An unhandled exception of type 'System.BadImageFormatException' occurred in System.Windows.Forms.dll Additional information: Could not load file or assembly 'Microsoft.DirectX.AudioVideoPlayback.dll' or one of its dependencies. is not a valid Win32 application. (Exception

Android - Load video from private folder of app

余生颓废 提交于 2019-12-19 08:22:09
问题 I have a problem that I have been trying to find a solution for a long time. My situation is as follows: I have an app that downloads zipped videos and unzips them at the application's private folder and more specifically at a subfolder. For example at /data/data/my.app.package.name.here/files/assets/assets-955. Inside this folder the video is unzipped. The unzipping process is completed successfully since I can pull and view the video without problems when running the app on the emulator. I

Play video without using media player [Winform]

☆樱花仙子☆ 提交于 2019-12-18 16:10:20
问题 I want to play a video like that guy did [link]. I'm working on C# Windows Form Application (not NXA). But I don't know how. I tried using Microsoft.DirectX.AudioVideoPlayback but no luck. This is what I tried so far : OpenFileDialog rihanna = new OpenFileDialog(); if(rihanna.ShowDialog() == DialogResult.OK) { video = new Video(rihanna.FileName); video.Owner = panel1; video.Stop(); } Now what can i do? I tried using video class but as I said it just did not work. I'm able to compile but when

Activemovie window pop up Microsoft.DirectX.AudioVideoPlayback in C#

∥☆過路亽.° 提交于 2019-12-11 08:39:50
问题 I had create a simple windows form which display a video with Microsoft.DirectX.AudioVideoPlayback. When the video load to the panel, it pop up for milliseconds a activemovie window. How i could fix it because it is annoy every time start playing a video throws this activemovie window. It is like the application have delay. Here is my code : string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"Photos\test.avi"); var ofd = path; var video = new Video

Error playing video using Microsoft.DirectX.AudioVideoPlayback; assembly version error

早过忘川 提交于 2019-12-10 18:13:46
问题 I am trying to embed video on c# windows form based application, using assembly Microsoft.DirectX.AudioVideoPlayback but getting following error Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. I am using Visual Studio 2010 .NET version 4.0 Microsoft DirectX SDK is also installed Any link for updated version of library or any alternative? Code: using Microsoft.DirectX

Play video file from a memory stream

五迷三道 提交于 2019-12-02 10:06:53
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