Looking for the best way to play Audio live stream such as http://radiocast-rr-d.vidnt.com/ipbc_IPBC80-90LA
On Samsung Tizen TV.
I tried some ways the best way was with JW Player and the streaming load very slow.
Thanks
Samsung's example content is quite thorough. Have a look here:
https://developer.tizen.org/development/training/native-application/creating-applications-multimedia/audio-playback-and-recording
https://developer.tizen.org/development/sample/native/Multimedia
The file you supplied is aac so it should play fine.
From memory you should also be able to use the HTML5 audio tag:
<audio controls>
<source src="xxx.aac" type="audio/aac">
</audio>
There's Samsung Product API: AVPlay
You may check this one,
This Guide shares how an application can play media content using the AVPlay API:
Using AVPlay Guide
AVPlay API References
you might try using NexPlayer, it has a very nice streaming performance for Tizen TV apps!
https://github.com/NexPlayer/TizenWebOS
https://www.nexplayersdk.com/tizen-player/
Related
How do I get the subtitles of an Xtream code playing mp4?
Avplayer on Tizen supports subtitles but how to get it? Maybe by API of a website or an extract of link?
I am currently trying to embed the m4v videos in my html webpage.
using the following code
<video controls="" height="360" width="480">
<source src="path/to/my/m4v/video" type="video/mp4">
<source src="path/to/my/m4v/video" type="video/ogg">
</source></source></video>
its working perfectly in google chrome.and it demands for an ogv video for mozilla browser.as we cant get an ogv video from our client.Also I am using it in hero framework.
I also tried to use the iframe tag used by youtube embed code.that works with webkit browser(google chrome).
but not able to play in mozilla firefox browser.I need to play m4v video in cross browsers.Is there any way or any html tag I am missing here?I explored alot but couldn't find an efficient solution.
m4v format files are not supporting by browsers, these format need player support. these files directly cannot run in browser.
like chrome, firefox, ie...etc.
Because these file format belongs to iOS operating system, developed by apple.
Read the instructions given by below link Wikipedia.
http://en.wikipedia.org/wiki/M4V
M4V - Video Supporting Features
these are the possibilities to
upload m4v files in the you tube that link we can use.
need to convert in to mp4 format all files and use in server.
need to write any script that converts the m4v files to mp4 fomat from server side.
need any builder that directly converts that m4v to mp4 formats files but it may be payable it.
You will probably need some external plugin or servcice support for your codec (m4v) since is not supported by all the browsers out there.
For a list of supported cross-browser video and audio formats I suggest you to check this documentation by MDN
Media formats supported by the HTML audio and video elements
In just a few Words, the formats you need to be 99% bross-browser are:
H.264 and AAC in MP4
Theora and Vorbis in Ogg
VP8 and Vorbis in WebM
HTML5 Video is just a convention to play a certain video formats with a new element for which browsers will implement an own player. HTML5 won’t provide players or something like that.
You have to look for the codecs and contained supported by most browsers, which, if I remember well, are mostly Theora for Video and Vorbis for audio, in an OGG container.
Then I remember that Webkit browsers will support Matroska (MKV) containers using V8 as video codec and Vorbis for audio.
My recommendation: provide an OGG file with Theora and Vorbis as video and audio codecs respectively. Inside provide a fallback using an MKV file with V8 and Vorbis and then, if you can, inside an MPG video file using Mpeg2 and MP2 (couldn’t think on something better) as video and audio codecs, fallback. Then as the last fallback, a Flash player playing a FLV video file.
<video src="thevideo.ogg">
<video src="firstFallback.mkv">
<object type="video/mpeg" src="secondFallback.mpeg">
<object
type="application/x-shockwave-flash"
src="player.swf?etc...">
<p>Download the video etc...<br />
or use a more modern browser to watch online, etc...</p>
</object>
</object>
</video>
</video>
Etc... ;-)
With this configuration, most (if not all) browsers should be able to play your video, preferring the most supported (and most modern) format. “Fallbacking” until they find a Flash Player.
For hints on what formats to support: take a look at the HTML5 Video part in Wikipedia.
Important: In your code you are refering to an absolute filesystem path, which is totally not-accesible for a web visitor. Maybe in the src you meant /video/file2.m4v.
You can use HTML5 video tag.
or
jplayer.org
or https://github.com/html5-ninja/Bootstrap-video-player-jQuery-plugin/blob/master/index.html
view about url you got complete reference .
If you're not forced to use Quicktime, the Flash based JW Player NOT free
can do Quicktime encoded MV4 if the client has Flash 10 installed.
Hence tried using the JWPlayer from the official site of jwplayer.
Will have to purchase it to get a licence key.
Enables to play .m4v video on cross browsers.
Works perfectly.
I'am looking for some javascript player that could play hds or rtmp stream. Can't find it still.
We have a wowza, that is sending to end users a video stream in rtmp, and it is being played with Flowplayer. Now people want to watch this stream on iPad/Android devices. We have succesfully played it on Android 4.0 tablet because I've installed a flash player there. It plays right in the browser. But I cannot find similiar player for iPad. I heared that it does not exist. So the best solution would be some kind of JavaScript player.
You won't be able to play an RTMP stream on a plain webpage in iOS. HDS appears to be closely tied to Flash Player, so you might not be able to use it either, but given that it has HTTP in its name, it might be usable.
If you have some video that you stream the normal way, just use the video tag:
<video width="800" height="600" src="some-video.mp4">
Your browser does not support HTML5 video. Sorry.
</video>
If your video is available in multiple formats, you can drop the src attribute on the video element and instead have multiple source elements with src and type attributes.
If your web server is configured correctly, video can be streamed this way.
I have video which is delivered over HLS. Now I'd like to test in JavaScript if the device actually can play HLS video in HTML5.
Usually in Javascript I did something like
document.createElement('video').canPlayType('video/mp4')
However I can't figure out which 'type' is the right one for HLS.
Apple's Safari HTML5 Audio and Video Guide seems to suggest "vnd.apple.mpegURL" ("Listing 1-7 Falling back to a plug-in for IE")
<video controls>
<source src="HttpLiveStream.m3u8" type="vnd.apple.mpegURL">
<source src="ProgressiveDowload.mp4" type="video/mp4">
....
but canPlayType("vnd.apple.mpegURL") return an empty string even on iOS devices which can play actual HLS streams perfectly fine.
Is there any way to check for playback capabilities without 'external knowledge' (e.g. "check for iOS user agent and assume it can play hls")?
I know I can specify multiple sources in a element and the browser will use the first playable source. However in my case I need feed a single URL to JW Player which I can't modify. So somehow I need to find the "best playable URL" from a set of video encodings. (An open source JS library which handles source selection would be a nice workaround though.)
I haven't tested this across the board, but it looks like you should be testing for the full HLS mimetype application/vnd.apple.mpegURL instead of just just vnd.apple.mpegURL.
application/x-mpegURL and audio/mpegurl are also suitable mimetypes for the HLS m3u8 file. audio/x-mpegurl is also listed as an acceptable mimetype according to Apple, but it doesn't appear to be mentioned in the actual HLS draft spec.
In Safari on iOS and OS X,
document.createElement('video').canPlayType('application/vnd.apple.mpegURL')
returns maybe. I'm not sure if there are any other browsers that support HLS -- Android doesn't seem to like this syntax (despite some assertions I've seen to the contrary), and I believe that it may be due to the fact that the actual video playback is delegated to an external application, rather than the browser itself.
References:
http://developer.apple.com/library/ios/#technotes/tn2235/_index.html
http://www.longtailvideo.com/html5/hls
https://datatracker.ietf.org/doc/html/draft-pantos-http-live-streaming-03
http://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Using_HTML5_Audio_Video.pdf
I need to play videos from Youtube as MP4.
My system (an Android Phone) does not support Flash.
It can play MP4 videos.
So I'm thinking of creating a web page that plays videos from Youtube.
I need to get MP4 videos to play in my page.
What approaches are there?
Take a look at this related question, where the OP has figured out a hacky way to get the necessary ID and checksum parameters for the get_video "API".
Streaming Youtube Videos
He successfully played back the stream in the VideoView component.
You can use the fmt parameter for choosing which format you want, see wikipedia for a list: http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs
Good luck.
Did you actually try viewing videos? I have the Droid Eris, which shipped with a YouTube app. Try going to the mobile version of YouTube and see if that works out.
Google created Android. Google owns YouTube. Transitivity says you shouldn't have any problems.
Why not consider using Mobile youtube interface
Youtube provides alternative RTSP(real time streaming protocol) links for all existing videos.. dig into youtube api and try to get it.
once you get it you can try code playing the video invoking the inbuilt player to play those videos
Cheers.