Video Playback with DirectX (Direct3D11) - directx

I have been looking over the internet on how to display a video in my Direct3D11 game. In Direct3D9 we could use DirectShow, but I haven't been able to find anything comparable in the new version of Direct3D11.
How would we efficiently display videos in an application in Direct3D11?
I'm targeting Windows 7.

Not sure if you are using Windows 8, there is an sample to display video by using Media Foundation APIs and DirectX 11, you can take a look.
http://code.msdn.microsoft.com/windowsdesktop/DirectX-11-Video-Renderer-0e749100

Related

Do I use AIR or native code for iOS application?

I have been using Flex for desktop development for years. I'm new to mobile development and need to create an app for the iPhone 6 but have no idea whether I should be using Flex/AIR or native code.
The requirements of the iOS app is as follows:
Record video to local storage within app
Playback video from local storage within app
Pause/seek video within app
Overlay controls on top of the video such as TextInput, TextArea and DropDownList so user can make notes as video is being recorded
Data entered via TextInput/TextArea/DropDownList is saved to local storage
Option to upload video and text data to local server
Can I achieve all of this using AIR or should I be using native code?
Can I achieve all of this using AIR?
Yes. Use CameraUI to capture video on the device (using the device's native camera UI), and StageVideo to play the video (using GPU). Overlay your app UIs (Flex or your own) to control video playback. Save local data using File or EncryptedLocalStore or SharedObject. Upload to a server using File/upload().
Or should I be using native code?
That's up to you. There are trade-offs, and everyone will have their own opinion. If you have a lot of experience with Flex/AS3, then you should be able to work out this app in AIR quite easily and see if it meets your needs.
You can achieve this using Adobe AIR but performance will get a hit.
You will need a lot of effort in order to optimize performance especially for video capture functionality.
It is better to do it natively.

RTMP / RTSP (Flash Video Format) support for iOS

I want to do real time streaming of data (in the form of video) which is in Flash Format, I searched and found out that apple do not give support to flash do we have any other third party
library which can be used,
After searching I found http://www.realtimelibs.com/#feature_3 but it is paid also I don't know weather it support flash format
I would love to get any help or any guidance
You might try to implement your app as an AIR app. AIR is the cross platform Flash runtime for iOS and Android.
Look for Apache Flex for a free Eclipse based IDE or use any of the Adobe tools.

Vuforia Live Streaming

I'm using vuforia SDK in IOS for showing video on markers. SDK supports only Local videos because it uses AVAssetReader(it supports only local video) to decode the video. But my requirement is to support live streaming. I'm looking for alternative. How can we decode video without using AVAseetReader??
Can we make use of FFMPeg library to achieve this?? please reply. i'm a new bee.

Video Streaming in iOS through WebRTC

I am trying to build a audio/video streaming app that works cross platform on iOS and Android mobile devices.
No matter how deep I Google, I'm ending up with suggestions that point me towards OpenTok/TokBox API. But this is what I wish to avoid.
I've checked a few demo, but WebRTC/HTML5 do not seem to work with streaming video/audio in iOS browser. For example, the https://apprtc.appspot.com demo does not work in Safari or Opera Mini in iOS.
When I try http://dev.opera.com/articles/media-capture-in-mobile-browsers/demo/ ... I can capture image using the default iOS camera picker from my browser but streaming video fails.
It seems like the getUserMedia() stuff is not supported by any browser in iOS.
Moreover, I am planning to put this on a WebView in a native iOS app. This sounds like a really far cry.
I wish someone could point me towards something that helps me build a video streaming app (hopefully using HTML5), that works uniformly for iOS and android (without TokBox).
You might want to look into Ericsson's Bowser App http://www.ericsson.com/research-blog/context-aware-communication/bowser-openwebrtc-released-open-source. It claims to provide WebRTC on Android and IOS. Apparently the App is currently under review in the App Store so if you wait it may just be a case of downloading the App. However it's also open source so if you can't wait then you can build it yourself https://github.com/ericssonresearch/bowser.
getUserMedia and WebRTC Peer-to-peer connections APIs are not supported in iOS.
One of the reason is that at the moment efforts around WebRTC focus on VP8 video codec which Apple and Microsoft do not support natively. Support in the near future is unlikely with Microsoft pushing for its own standard.
Doing what you want on iOS requires you use a native iOS compatible solution like OpenCV which supports video capture. You can find on Google tutorials on how to implement a solution based on OpenCV.
good news, will be supported at Safari 11.0
https://developer.apple.com/library/content/releasenotes/General/WhatsNewInSafari/Safari_11_0/Safari_11_0.html

Using Windows media center SDK from Builder C++ or Delphi

I have an application done already, it shows images, videos, etc. I just want to add support for TV channels, and I want to use windows media center from my program.
I have downloaded the Windows Media Center SDK but i dont know how to instance the classes ... Microsoft.MediaCenter, Microsoft.MediaCenter.Hosting, etc.
Any help would be welcomed, since i'm a bit lost.
The main target is be able to control WMC, run tv tunner and change tv channels programmatically

Resources