I am trying to build a music app on a android device with GStreamer ported on it. But when I try mp3 url streaming on http, it failed to handle stream (however, it works perfectly fine on Android devices with base Media Framework, OPENCore). So I wanted to know whether GStreamer supports http url streaming, or is there any other way of doing it.
Thanks in advance
Yes gstreamer can play http, you need to check if there are proper http source plugin install, by gst-inspect | grep http.
There is one souphttpsrc element that does that, check if its there.
Related
I am trying to implement Video on Demand using Azure Media Services on Android.
I have uploaded the video, encoded it to Multi-Bitrate MP4 and then added AES encryption and published it.
I received this MPEG-DASH Url: http://prepladder-inct.streaming.media.azure.net/xxxx-xxxx-xxxx-xxxx-xxxxxxxx/sample-video.ism/manifest(format=mpd-time-csf)
But i am unable to play this video on any MPEG-DASH player (Android or web)
I am even unable to play this video on Azure dash player link: http://dashplayer.azurewebsites.net/
When i enter the stream url, the player is able to show the duration of the video but does not play.
On ExoPlayer on Android, i am able to play all MPEG-DASH streams available online for testing purpose.
Also, i am able to play HLS stream provided by Azure for the same media on ExoPlayer and on iOS.
I have not added any token authorization or DRM during video encryption.
I am missing something? Please help.
The problem is likely that your video file name has unsupported characters. The issue is documented here, where we point out that certain characters should not be used. Try renaming the source video to, say, GM_1st_acid_fast_stain.mp4, upload it to a new Asset, encode, and then create the streaming URL.
For FairPlay/HLS, it is critical to provide the Application Cert (public key only) to the player. Apple's recommended way is to host this App Cert on a web server and pass the URL to player.
SPC/CKC negotiation is performed inside the player.
I would suggest to use this test/diag tool http://aka.ms/amtest which is equipped to support all 3 DRMs (FairPlay, Widevine, PlayReady) and AES-128. If you expand "player_settings" you will see an entry called "FPS AC Path" which is where you paste in your App Cert URL. Also put in "FairPlay" under protectionInfo.type. Of course you need to run the test in Safari on macOS.
Hope this helps.
William
I have already integrated VLC player in my android app in Linux environment.But now the issue is when i try to play the YouTube link .It Unable to stream the YouTube URL and the concerned g-data ".3gp" URL.The error is mentioned below.
"http://www.youtube.com/watch?v=oq1gNicFkeM can not be played." in Toast.
Does anyone have any idea on the same?
I have found a temporary solution.I'm not an expert, but this did the trick for me:
Find a website which can download youtube video's (I suggest keepvid.com)
Paste the url of your youtube video into the designated bar and, although we are not downloading anything, hit the Download button.
Now the website gives you a list with different formats for you to choose from. RIGHT-click the one on top (mp4?) and copy the link's adress.
This link can be played in VLC Android and includes your youtube video.
VLC for Android does not support the lua plugins needed to parse the YT URL.
You need to parse the HTML layout yourself (and feed the resulting URL to VLC) or add support for lua plugins to VLC for Android to solve this issue.
I want to store stream video to the windows azure server from the android camera captured video*.How it possible?
In android i know the use of parcelfiledescriptor class.And i also created a application to stream video to the server.In that application server side controled by java socket programming.that fully successful..
But now i want the server side programming to do with the help of Windows Azure ???please help me.....thanks in advance..
can you just upload the video as blob to Window Azure Blob Storage? More recently, Windows Azure Media Services has been shipped, which is specialized in supporting video.
do not know about windows azure, but there is a way to stream to wowza servers:
https://software.intel.com/en-us/intel-inde
For applications using the Azure storage version 2009-04-14 and newer, you can request Azure to deliver partial content (HTTP 206 responses). You can simply upload the video file and then load it for streaming.
This might be helpful, although now it is rarely necessary to manage the HTTP 206 responses in such a detail, the SDK should do it for you.
I'm trying to load a aac radio stream and play it. For this I'm trying to decode the audio and play it using audiotrack.
I'm trying to use FFMPEG for this purpose. Is it possible to pass in the http url and ask ffmpeg's method av_open_input_file to open the http url? I'm trying to do this but its showing some errors while I'm compiling it.
Has anyone tried this. Is this possible?
Regards,
Hari
I have tested some apps on my droid. See the code for these apps here.
http://code.google.com/p/aacplayer-android/
https://github.com/havlenapetr/android_packages_apps_FMRadio
Which works perfectly well on my droid. Hope this helps.
If found many tips about how to stream from classic url link, but nothing about ftp.
Is it the same way to proced ?
Thanks you.
AL.
Android's media framework only supports HTTP and RTSP for streaming. You will need to download your file and play it back, or use some alternative URL that offers HTTP or RTSP for the media file.
If you are looking for an app in android, there is a player for android which will allow streaming from a ftp server. it's called FIPE Video Player. It's free, neat and stream in high quality.
Update: another brilliant app (again if you are looking for an app) I recommend is ES File Explore, which also allows streaming from ftp server instead of downloading locally and then playing.
Just use VLC for Android and add your FTP as a source.
See : https://play.google.com/store/apps/details?id=org.videolan.vlc&hl=fr&gl=US