Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
Hi i developed the application to cast my videos to TV via Chromecast.Now trying to play m3u8 videos via Chromecast is it possible as m3u8 videos buffering is good and control is good compare to mp4 any links will also do i cannot find how to stream m3u8 using Chromecast.
The .m3u8 format is for HLS (HTTP Live Streaming). To play .m3u8 formats you need to host your media content on a server. Make sure CORS is enabled. Then have your sender load the url, where your content is hosted, onto the receiver. This documentation has much more details and sample code. If the problem was with your application, check out the sample apps on GitHub as a reference.
Related
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed yesterday.
Improve this question
I'd like to go live on youtube from android, but audio only and and instead of video feed, I want to display a thumbnail, an image preferably with an audio visualizer (audio bars that increases/decreases with audio frequency). How can I do this?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I am looking for a way to livestream videos from a smartphone camera inside a browser like Chrome or Edge. It should be able to transfer in protocols like RTMP, Fragmented MP4, or RTP/MPEG-2 Transport stream.
(Basically, I like to receive the livestream data on the Azure Media Service Portal)
I found similar solutions but they require downloading an app.
The web solution needs to be open-source or based on Microsoft products/services.
Does anyone know a suitable approach?
I am not expecting code here, but rather naming open-source libraries or microsoft products that can be used to achieve this goal.
You could use WebSockets. These allow for real-time communication where the client doesn't have to constantly check the server for updated information. Check this out: Video streaming over websockets using JavaScript - Stack Overflow. I've done it before, but the code is a bit outdated. You'd also have to either build your own WebSocket server (I used Raspberry Pi) or do the simpler thing and rent a connection.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I see that google drive use a flash player in order to stream uploaded video.
Do you know if google drive api provide an absolute url to the video in order to use an html5 player to stream the video?
The answer will be very similar to this one for embedding images.
So basically to get the URL of the embeddable video you will have to:
In a Drive application you get the ID of the file through a URL parameter when the user clicks on a file and opens it with your app.
Query the file metadata using the Drive API and the ID of the file: the file metadata returned is a JSON object containing a bunch of info.
In the File metadata there is an attribute called "downloadURL" which gives a URL to the actual file.
Samples to get a file metadata are here.
The URL will be directly accessible if your file has been shared publicly. If the file is not public you will have to use OAuth 2.0 to authorize requests to that URL.
Problem: That URL only works momentarily. So it's not usable for every use-case.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Just finished my code to use the default Media Player from Android, pretty pleased with the media player untill I saw the supported file-extensions.
No wmv, no flv etc. etc.
So I'm wondering, does somebody knows a library for Android to view the video's...
If not, could you give me a little advice how to continue...
Vitamio looks pretty good, wmv and flv are on their support format list, though I've never used it myself.
Media formats
Many audio and video codecs are packed into Vitamio beside the default media format built in Android platform, some of them are listed below.
divx/xvid
wmv
flv
ts
rmvb
mkv
mov
m4v
avi
mp4
3gp
Here is the new link for Vitamio: http://vitamio.org/
Edit: as yorkw said you can get (partial) source here
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
The native Media Player coming with the android SDK doesnt play most of the MPEG4 format video files. Is there an alternate 3rd party media players that I can use? If yes how can i use then? Will it be a jar that I can add to my lib directory or shd redirect the users to Android Market and ask them to install the FREE app ? which is the best approach?
Thanks in advance
Vitamio is a library you can use and supports a range of formats. E.g.
divx/xvid
wmv
flv
ts
rmvb
mkv
mov
m4v
avi
mp4
3gp
We use the HLS Android player library from Nexstreaming.
It works pretty well in all android devices. For us, it was too complicated to use FFMPEG and impossible to forecast the future/roadmap of the code so, we gave up on that path.