where to place videos to stream android - android

i want my android app to stream video. I have a website stored in a web server. The question is: where should i put the video files? Can i put them in my website's root directory, or do i need a Streaming Server too? I hope this question is not out of topic.
Thanks in advance!!

If they are MP4s marked as "safe for streaming" (MOOV atom is before the first MDAT atom, such as via MP4Box -hint), you can host them on any Web server.

Related

In Android, possible to save video directly in Amazon server while recording

While uploading the videos/audio files from my application,mostly i followed the following ways,
Record the file (video/audio)
Save into Internal/External Storage (inside application folder)
Then upload in server.
here my question is, whether its possible to save directly in the server (Amazon s3 or others). Why i'm asking this, while i using Periscope application they streaming the video as well as stored the video in their server.
Checkout LibStreaming : https://github.com/fyhertz/libstreaming or some of the suggestion in : Streaming video from Android camera to server
You can see this github or use ffmpeg
I think that it all depends on the importance of your video. When you use your original approach you guarantee that you have the full video in hand (device) and you can make sure it will be fully uploaded to your server. On the other hand, streaming it directly to the server can make you lose frames (connectivity hiccups and such) and hurt the video. I'm sure that streaming is done using UDP which makes loosing packages a really good option.

How to play streaming media via SMB protocol?

I want to make an application to visit resources on Samba server. We can suppose that the server and Android device are in a LAN. I cache image files and text files before displaying them. But I think downloading videos to local storage isn't a good idea. Is there any way to play streaming media via SMB protocol? Please give me some tips.

Playing m3u8 form local storage

We want to play m3u8 with ts files stored locally on SD card in Android 4.0 and above devices.
I tried using video TAG inside HTML residing locally on the SD card and android native media player.
Both the codes are failing with the error. The same set of ts and m3u8 files are working fine when played from online when served from a webserver connected through http.
Can we play m3u8 using native support for files stored offline or do we need to use 3rd party libraries. I searched in internet and didn’t find article about not supporting the same.
Any help or recommendation would help my work.
Thanks a lot
Issue Solved
we used nano http server to serve m3u8 file to with all videos parts. Very simple and easy way to play m3u8 video file.

Android video streaming to windows azure

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.

How to play video from ftp streaming file?

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

Categories

Resources