Video support in Android

Today (Oct. 8, 2009), I started playing around with a new phone, an HTC hero, which runs Android (v. 1.5). I tested the video support and here are the preliminary results.

Streaming

Summary

Generic support for

  • RTSP (DESCRIBE, SETUP, PLAY) and reception of SDP, including with MPEG-4 IOD

Stream types supported

  • video/MP4V-ES
  • video/H263-1998
  • audio/AMR
  • audio/mpeg4-generic

Stream types not supported

  • video/H264
  • video/mpeg4-generic
  • video/X-SV3V-ES
  • audio/X-QDM

Darwin Streaming Server Details

sample_100kbit.mov: Media type not supported.

sample_300kbit.mov: Media type not supported.

sample_50kbit.3gp: Success audio+video

sample.mp3: Fail

sample_100kbit.mp4: Success audio+video

sample_300kbit.mp4: Success audio+video

sample_h264_100kbit.mp4: Impossible to read this video

sample_h264_300kbit.mp4: Impossible to read this video

sample_h264_1mbit.mp4: Impossible to read this video

movie_av_hint.mp4: Media file type not supported

counter.mp4: Media file type not supported

cvid.mp4: Media file type not supported

test.3gp: Success – Video only

GPAC MP4Streamer Details

SDP Multicast session

  • local: not reckognised
  • remote, served as text/plain: not supported
  • remote, served as application/sdp: recognized but cannot connect ? Multicast problem ?

SDP Multicast session (simplified):

HTTP or local files Details

Video 1

  • local: success
  • remote, served as text/plain: not supported
  • remote, served as video/mp4: cannot open this file ??