WinRT: displaying video frames - windows-runtime

What's the proper way to display video in WinRT?
I'm receiving video over RTP and I need to display video to some component or surface.
I can decode and/or convert video to YUV or any RGB format myself, I simply want to know what component I should use for video display.

You can use MediaElement to play the video. Check out MSDN sample for playing media.
For Windows 8.1
For Windows 8
If you want full fledged media player then check out Player Framework: an open source component of the Microsoft Media Platform

Related

HTML5 video player showing to enable flash in browser. How can I play stream video without enable the flash?

I made a streaming server and a website to show the Video. I have tried with many HTML5 player. But problem is no player working without enable flash on browser. There are a website http://jagobd.com and its playing video even I block flash on this site. How they did it? and How can I get this kind of player open source? could you please give me any solution?
My streaming link is Rtmp
RTMP is a Flash technology, and only plays in Flash or other players that support it. No browser supports RTMP, and it's unlikely that any will in the future.
If you want to use a regular HTML5 player, you need to use a compatible streaming format. Consider DASH. While it doesn't have native support in-browser, it doesn't need it as it can be handled with MediaSource Extensions. Most modern browsers support MSE. Many encoders do as well, and you can use whatever static web hosting or CDN you want.
There are other options for video distribution as well, if you have special streaming requirements.

Is it possible to put JW Player alongside a video gallery?

Ok, I have on my joomla site a videogallery (Name: Apptha contus hd video share). The problem of this video gallery is that is not html5. So the videos of the gallery can not be played by mobile device. So I want to add a button at the bottom (available only for mobile device ) of the player that open the JW Player that must contain the same video information (Thumb url, Video url) of the player above him.
I know how to script the button, but my problem is how to change the JW Player code to get video and thumb information from the database. Any tips?
By default mobile devices does not support flash players and supports only HTML5 player. If you have flash player in your mobile, then it is possible to play the videos. Also HTML5 players does not support except .mp4 with H264 (HD) format videos. We can play embed videos like YouTube, Vimeo etc., So to replace the video share player with JW player, you need to customize the code. You need to replace the code with JW Player embed code in default_player.php in components/com_contushdvideoshare/views/player/tmpl/ path. You can find $this->htmlVideoDetails variable in that file. this will return the current video detail from database. You can pass the required detail from this array variable to JW Player embed code. Also make sure to place the HTML5 player code. So that it will work in mobile device too.

MediaElement and native video player shows videos in wrong orientation

I have a problem while using MediaElement to play video. The video isn't shown in correct orientation if its VideoProperties.Orientation is different from VideoOrientation.Normal (e.g. VideoOrientation.Rotate90). Those videos can be recorded by native camera app while holding the phone vertically. It's strange that Windows Phone native video player also has the same problem and is always locked in landscape mode (this doesn't happen with IOS or Android video player). My question is : Does Windows Phone native video player use the same API to play video like MediaElement? In that case, is it possible that that API will be updated to fix this problem in future Windows Phone update? I need to confirm those things to make a suitable workaround for this problem.

Capturing video stream to <canvas> on iOS

I want to capture Ipad's video output into a browser using html5 tag(may be canvas or some other)..
How is that possible??
Also i assume that iPad streams video as component output format.
There exist an API called getUserMedia() to open streams of webcams, microphone, screencast and such fort streaming.
However Apple does not provide this API for iOS yet, so you basically cannot do it with web app. I am not sure if ti is even possible with a native app.

Optimizing video playback in AIR for iOS

Developing an AIR for iOS app that involves video playback. Are there any best practices for optimizing video content for use in AIR applications?
Best route for video through AIR on iOS is to use an h.264 encoded video. These will be hardware accelerated and be better on battery than FLV (the other usual type for Flash).
The problem, of course, is that most h.264 videos cannot be played back using standard Flash video players on iOS. To get around that, you'll want to try one of two things:
Use StageWebView. This will open the video in the standard iOS video player, which is purpose-built to play h.264 videos. The downside here is you have absolutely no control over the video other than unloading the StageWebView. You also have no control over the GUI and the video will display over the entire application and can be difficult to position in Flex.
Use StageVideo which will allow for hardware accelerated h.264 videos and use the built in video playback mechanisms. It works fantastically, you have full control over your video, and it is just the video, so you can skin it as you see fit. The only downside is this displays the exact opposite of StageWebView and displays under your app. You will have to create a mask to see the video.
It's unfortunate that the two best options for playing video on iOS do not reside in the Display List, but that is what we have to deal with.
Hopefully that helps.
You can use component FPVideoPlayer from ane library FPNativeUI, which displays video over display list: http://www.youtube.com/watch?v=G5IdHnms2Dc. http://flashpress.ru/blog/ane/native-ui/?lang=en