开发者

Android how to video record, upload, transcode, download, play

I'm researching the development of an Android (2.2) app/service that will enable users to record short (I do emphasize short, < 30seconds) video on their phones and then upload that video (HTTP) to a server that will then transcode the video to other formats. That same user can download videos from other Android users and play them.

Now, I get a bit lost with everyones recommended approaches to all the issues in doing something like this because I haven't seen any ask this in a cohesive context. Ideally I would like a non commercial solution to this (as in no vendor/service being needed for the the video hosting/transcoding), but, feel free to include those as a recommendation (I've marked this as a wiki) as I know many like to use youtube and vimeo for the middle layer in all this.

The questions are

  • What server technologies do you recommend for hosting and transcoding?
  • What technology do you recommend for streaming the video (it would be nice to offer a high and low quality encoding depending on the users network connection)
  • What video format and software do you recommend for converting the uploaded video on the server to be viewable later by other Android owners.
  • Im assuming it's bad to do any transcoding on the phone prior to upload (battery/proc issues), but, if I'm wrong with that assumption what do you recommend?

    Some things that may help you...

  • The video will only need to render on an Android device, and in the future in a webkit html5 browser.
  • Bandwidth isnt cheap (even with numerous 30 second videos), so a good mix of video quality and video file size is important (streaming if needed to ensure quality vs. download).
  • This is for android 2.2 devices with a video camera of course and medium to high density screen of 800x400 min.
  • Open source solutions (server to receive the uploads, code to do the transcoding, server to do the stream开发者_StackOverflow社区ing) are preferred, but not required.
  • CDN's are an option, but I don't think that really figures in to the picture right now.


    Check out this page to see all the video formats that Android supports for encoding and decoding.

    http://developer.android.com/guide/appendix/media-formats.html

    For encoding use FFmpeg or a service like encoding.com

  • 0

    上一篇:

    下一篇:

    精彩评论

    暂无评论...
    验证码 换一张
    取 消

    最新问答

    问答排行榜