Issue with playing audio or video from Remote URL (RTSP/HTTP)

by Mark Murphy » Thu, 05 Nov 2009 00:31:56 GMT

Sponsored Links

At least for HTTP streaming of MP4 content, you need to have your 'moov'
atom before your 'mdat' atom. This may happen automatically when you
create your MP4 files, or you may need to lightly twiddle them (e.g.,
MP4Box -hint on Linux).

vidtry handles HTTP streaming: 

I wrote that in part as a proof of concept for an app I wrote for a
consulting customer. They have a large library of MP4 files which they
needed to touch up for the issue listed above, and playback basically
did not work in the emulator, but it works fine on devices. The vidtry
sample does more than just play back video, and it uses MediaPlayer
rather than VideoView, but hopefully it will help.

You may be interested in viewing the following presentation from the
2009 Google I/O conference: 

Mark Murphy (a Commons Guy)  | 

Android Development Wiki: 


Other Threads

1. ProgressDialog BackGround

Hello All,
  I would like to know the possibilities of changing the background
Image/color of aProgressDialog?

  I already tried it with a class that extends ProgressDialog and
tried to set the background, but it did not do it for the whole
Dialog(Window), only the part that has the Message get painted and not
the Bigger Container(Title+Message).

  Here is the Code Snippet

                                           mDefaultDialog = new
                mDefaultDialog.setTitle("Custom Dialog");
                TextView text = (TextView) 
                text.setText("Hello, this is a custom dialog!");

     Layout file

                               <TextView android:id="@+id/text"
                        android:textAppearance="@style/ScreenTitle" />

V. Ramkumar.


2. About ListView filter

Hi every one,
    i want to know how to filter list view that have an custom



3. Use of AIDL Interfaces for IPC with List of AIDL Interface

4. Retrieve "My contact card" data

5. Dynamically obtaining several instance of a view item defined in layout/xml file

6. MapView displays pages different than launching via ACTION_VIEW

7. how to delete groups in android 2.1