play MPD file of mpeg-dash on android and IOS - ffmpeg

I have used ffmpeg to create a MPD file for my video, and I could play and watch it on my pc using :http://dashplayer.azurewebsites.net/
now I want to make sure it works and plays appropriately on andoid and IOS, could anyone tell me how to test this file on android and IOS?

I'm not sure if you want web-based playback or native apps, so I'll try to cover both:
Android
On Android (depending on the version / browser) this should work fine.
Web
At least Chrome works, but also other browsers might. You will just need a web-player which supports DASH, e.g. Shaka Player, Bitmovin Player or dash.js.
Native apps
For native apps, you could use e.g. Google's ExoPlayer.
iOS
Assuming that you are using fragmented mp4 for your DASH content:
For iOS 10+ you could just create an HLS manifest and re-use the same segments as for DASH. For older iOS versions you will need to create MPEG-2 Transport Stream (.ts) segments plus the HLS manifest:
Web
For a web-based solution, there is currently no way to achieve MPEG-DASH playback on iOS as Safari on iOS does not provide the required JavaScript API, the Media Source Extensions (MSE).
Native apps
It could technically be possible to use MPEG-DASH, but Apple doesn't allow any other streaming format than HLS for content longer than 10 minutes, as stated in the App Store Review Guidelines:
2.5.7 Video streaming content over a cellular network longer than 10 minutes must use HTTP Live Streaming and include a baseline 192 kbps HTTP Live stream.

Related

Xamarin.MediaManager RTP STream

I have a Xamarin app that works using MediaManager and plays video content as needed, however I need to also play RTP/RTSP streams not just Http streams. I have tried and it dosn't seem to work on IOS/iPad (required device), has anyone seen this working?
The github repo says it should work but I can't seem to get it going.
<forms:VideoView x:Name="videoView"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
Source="rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov"
AspectMode="AspectFill" />
Plugin.MediaManager uses the native AVPlayer and thus RTMP/RTSP is not supported.
Apple does not natively support RTMP (Real Time Messaging Protocol) in their OSs (iOS, tvOS, macOS). HTTP Live Streaming (HLS) is natively supported (RFC8216).
Also see: https://stackoverflow.com/a/47596246/4984832
Send live and on‐demand audio and video to iPhone, iPad, Mac, Apple TV, and PC with HTTP Live Streaming (HLS) technology from Apple.
https://developer.apple.com/streaming/

Where can I find ffmpeg codecs for Windows Chromium (h.264, AAC, mp3..)?

In previous version you could copy files from google Chrome's folders and paste them into the Chromium files, but that doesn't work anymore. Apparently all the files have been replaced by 1 file ffmpegsumo.dll, copying that from Chrome changes nothing.
I downloaded codecs for Chromium on linux, but I find it weird that there's no way to get them for Windows.
Why don't they just add h.264 to chromium now that cisco made it royalty free?
Google has little incentive to support H.264 when they have their own, competing format WebM that they are trying to push. (Haven’t you ever wondered why such a relatively unknown format is one of the formats the YouTube, a Google subsidiary, supports natively?)
Unfortunately, as you have learned, they re-structured Chromium so that you cannot easily drop in H.264 support as you could before. What you can try instead, is to use the Microsoft plugin that lets Chromium play H.264 through Windows Media Player. Because it is a plugin, it should still work—unless Google specifically blocked it.

ffmpeg or libav to create audio recording webapp?

Is it possible to create a web application which can record audio or video using ffmpeg or libav?
Or are these only for creating desktop aplications for encoding, decoding, recording audio/video?
It depends what platforms you are interested in.
Only PC? You can use ffmpeg or libav, but you'll need to create separate plugin for different web-browsers. Alternatives are Flash or signed Java applet loading a native module from a server.
On mobile platforms Flash is not an option usually. Usual approach is to provide a stand-alone application.

Windows 8 tablet streaming support

Does anyone know which video streaming delivery methods will be supported natively and within metro style apps on Windows 8 tablets (and also Windows Phone 8)?
I am hoping one of the following will be supported natively:
Apple HLS (Http Live Streaming)
Microsoft Smooth Streaming
RTSP streaming
I know Smooth streaming is supported in metro style apps, but I can't find any way of presenting links on my site which (if clicked) hand off video play back to the native video player.
Any ideas would be greatly appreciated.
Thanks,
There is no default player (like Windows Phone) on Windows 8, you will have to use some libraries.
Try this one:
http://playerframework.codeplex.com/

How to play single ogv file in IE8 and Safari by HTML5 video?

How to play single ogv file in IE8 and Safari by HTML5 video?
I known IE and Safari don't support Ogg Theora, but I have a requirement for that.
Any suggestion to me?
Thanks
OGV.JS: AN OGG THEORA AND VORBIS VIDEO DECODER IN JAVASCRIPT
Targeting Safari 6+ and ie 10+
http://badassjs.com/post/71980473022/ogv-js-an-ogg-theora-and-vorbis-video-decoder-in
IE8 can't play any HTML5 video, let alone specific formats. It simply doesn't support it (or any other HTML5 elements). The best you can do is embedding a Flash video. IE9 does support HTML5 video, but still not the OGG Theora format.
Safari explicitly doesn't support it either. It does support HTML5 video, but not the OGG Theora format.
So the short answer is it can't be done. Sorry.
If the requirement is for an open source video format, you might try switching to WebM, which is supported by both Safari and IE9 (although both require the relevant video driver to be installed separately to the browser) as well as Chrome and Firefox. (See http://caniuse.com/#search=video)
IE8 simply isn't going to work for you though, no matter what format you use. It simply doesn't know what the HTML5 video tag is, and there's not much you can do about that.
Cortado streaming applet
Cortado is an open-source cross-browser and cross-platform video playback solution based upon Java technology. Leveraging the huge installation base of Java it allows web-authors to deliver Ogg Theora content without having to worry about the media playback setup installed on customers' machines. This enables e.g. Wikipedia to deliver Ogg Theora video content embedded into articles to millions of users. Originally developed at Fluendo, Cortado's latest versions are now maintained by Xiph.org. If you're interested in using free media delivery technology, e.g. to avoid the costs adjunctive to non-free technologies like H.264, and want to reach a big potential user base, Cortado may be the solution you've been looking for.
http://theora.org/cortado/

Resources