currently im able to play .wmv videos from my application using shell execute which plays it in the windowsmedia player. However I need to be able to play .3gp videos which unfortunately the windows meadia player does not support. Is it possible via api etc to play 3gp videos on win mobile 5 and 6 devices?
You can check out CorePlayer, though you need to purchase a license. I am not familiar with a free solution to play this media unless the device's OEM provides it.
Related
I use one music player and I'd like to develop a plugin for it in C#.
The plugin should stop playing, when others programs start playing, for example youtube in Chrome or Skype.
Is it possible to monitor all sound sources in Windows via C# or any other language?
I would like to know how to detect if current windows is playing any kind of media (video, music, etc) similar to what energy settings do to decide if the computer can enter sleep/hibernate mode?
I'm trying to detect how long the computer is idle. I'm currently using the GetLastInputInfo from user32.dll but it just take in consideration the user input, but not if there is any media playing which should not consider the computer idle.
I tried to find C# APIs or native invocations but can't find the information. I'm using latest version of .NET Framework.
Generally speaking, programs don't declare that they are playing media - instead they call SetThreadExecutionState to tell Windows that the computer should not sleep.
That said - Windows 10 recently added support for programs to declare to the OS that they are currently playing media so that they're integrated with Windows' media controls (like how on iOS any program playing video or audio can be controlled from the Control Center).
Here's what appears on my screen when I nudge my volume control:
...however Chrome is being buggy here because I'm not actually playing any media in Chrome but it's telling Windows that it is.
I don't know what Windows API is used to set this - or which API is used to check it - but it isn't very widely used - even Windows' built-in Windows Media Player 12 doesn't use it.
I am writing a Windows Phone application with ability to play video. I have found a lot of custom video players, but I want to find out, is there a standard video player in Windows Phone and what I need to do for using it?
http://msdn.microsoft.com/en-us/library/ff769551(v=VS.92).aspx
The MediaElement is the standard control for playing video files in WP7 apps.
You can use default media player with the help of MediaElement and MediaPlayerLauncher.
You can play local videos and urls with video.
I hope this link will help you
*http://www.developer.nokia.com/Community/Wiki/Video_Playback_with_MediaElement*
Well i have a htc diamond 2 which run on wm6.5, I would like to access the built in camera to capture image.
I am not building wm app, i want to build a c#(or any other .NET) winform app that run on windows 7 platform.
Is that possible?
I found some articles about directshow.net,wia,windowsmobile camera capture dialog etc.But i really have no idea on how to start it.
So my question is:
How do i establish a connection to my phone(i have to initiate a connection between my pc and phone's camera first right?),do i need to download any windows mobile sdk?
To control the camera, do i need any driver installed?
Do i use htc camera api/sdk(which i can't find) or windows mobile api/sdk to control the camera?
For HTC devices DirectShow cannot be used. The problem is that HTC provides only basic DirectShow API, and you will be able only use very small resolution from camera 320x240. HTC doen't provide any SDK. But I found very useful components for Windows Mobile Direct Show on this page. They are paid but quite good. I think it is worth to check. I'm using Player Control for DirectShow video playing. And there HCTCamera component (Some raw version I think still free) which I didn't check but you can:
HTCCamera Control
I want to add a video player in my Windows Form that would be able to stream videos (flv) from internet (web-server). So far i've tried Microsoft Windows Media Player and it's working but I don't like it because of its lags and bugs and etc.
So are there any other video players that can be easily embedded in a Windows Form and that support video streaming? (by streaming I don't mean something like live TV streaming, but just downloading (buffering) and playing at the same time the video)
Perhaps you can embed VLC as an ActiveX component?
There is a Flash ActiveX control which (I expect) would handle these natively.