Multimedia buffering

by AliBaba » Mon, 09 Feb 2009 23:59:27 GMT


Sponsored Links
 Hi All,

I am trying to run the media player from API Demo by specifying the
http based url of the video. In specific I want to play streaming
Video.

By debugging I found that it is showing the logs for streaming the
video from 1-100 %. But then also it is not playing the video. Can
anybody please help me where(file location) streamed video file get
stored on Android.

-AliBaba

--~--~---------~--~----~------------~-------~--~----~



Multimedia buffering

by Dave Sparks » Tue, 10 Feb 2009 00:56:15 GMT


 The files are not stored, they are streamed into a temporary memory
buffer.

What kind of file are you trying to stream? If it's an MP4 file, you
need to make sure that the 'moov' atom comes before the 'mdat' atom.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Multimedia buffering

by dillirao malipeddi » Tue, 10 Feb 2009 06:40:09 GMT


 Based on the API the video should be progressive download
and the video quality should be low






-- 
Dilli Rao. M
ARIJASOFT
+91 - 9703073540

--~--~---------~--~----~------------~-------~--~----~



Multimedia buffering

by AliBaba » Tue, 10 Feb 2009 14:59:23 GMT


 How to set darwin streaming server on windows ?
from where i can download it for windows ?

-AliBaba
--~--~---------~--~----~------------~-------~--~----~



Multimedia buffering

by AliBaba » Wed, 11 Feb 2009 14:24:47 GMT


 I have downloaded the darwin streaming server but can some one please
help how to install it on Windows XP.

I am trying to install it as per instructions but it is showing an
error that "fatal error C1083: Cannot open include file: 'grp.h' "

Can someone please help me.

-AliBaba
--~--~---------~--~----~------------~-------~--~----~



Multimedia buffering

by AliBaba » Wed, 11 Feb 2009 17:42:25 GMT


 I am still unable to play videos from rtsp server. I have initialised
path variable in API Demo with "rtsp://bfug.rtsp-youtube.l.google.com/
CkgLENy73wIaPwl9ka7Qc5R-0hMYDSANFEIJbXYtZ29vZ2xlSARSB3JlbGF0ZWRaDkNsaWNrVGh1bWJuYWlsYOXNzeO3wMKYfAw=/
0/0/0/video.3gp".
But still it is not playing this video.

Can anybody provide any rtsp link(video on rtsp server), so that I can
assign that value to path variable and it will work ?

-AliBaba
--~--~---------~--~----~------------~-------~--~----~



Multimedia buffering

by Harishkumar V » Wed, 11 Feb 2009 18:34:22 GMT


 Alibaba,

I am also facing the same error.

in the MediaPlayerDemo_Video.java  file given in the api demos, i gave the
url stream path as
rtsp://
bfug.rtsp-youtube.l.google.com/CkYLENy73wIaPQkcSEPa1Fc6nRMYDSANFEIJbXYtZ29vZ2xlSARSBWluZGV4Wg5DbGlja1RodW1ibmFpbGCqqamFtdjqsQkM/0/0/0/video.3gp

then when i executed the mediaplayer, it does not play video it got crashed.

when i try to play youtube video file using browser from m.youtube.com, it
starts to load video, but does not play it.
it gives Error(-1,0).

Thanks and Regards,
HarishKumar.V





--~--~---------~--~----~------------~-------~--~----~



Multimedia buffering

by AliBaba » Wed, 11 Feb 2009 19:10:34 GMT


 Yes Harish, I am also wondering why it is not playing streaming video
even though We are using the standard code of API Demo.

I found below link of video streaming application, but from this link
also source code has been removed.
"ttp://davanum.wordpress.com/2007/12/29/android-videomusic-player-
sample-from-local-disk-as-well-as-remote-urls/"

As per suggestions in earlier responses I am trying to use rstp link,
but failing in that case too.

Can some one please bring out any working rstp link or any work-around
or solution that can be used to play streaming video.

-AliBaba
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How do I get the dialed outgoing call's phone number?

Good day developers,

I am trying to get the phone number of the outgoing call. Used the
following classes. I am not able to print the dialed number :(  Is
there a way how I can extract the dialed number?

Thanks.

package com.call.simulation;

import android.app.Activity;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;

public class PhoneIntent extends Activity {
    private static final String LOG_TAG = "PhoneIntent";

    protected final IntentFilter outCallFilter=new
IntentFilter("android.intent.action.CALL");
    protected final IntentFilter inCallFilter=new
IntentFilter("android.intent.action.ANSWER");
    private MyBroadcastReceiver broadcastRec = new
MyBroadcastReceiver();

    /** Called with the activity is first created. */
    @Override
    public void onCreate(Bundle icicle)
    {
        super.onCreate(icicle);
        setContentView(R.layout.main);

        registerReceiver(this.broadcastRec, outCallFilter);

        Log.e(LOG_TAG, "Preparing to make a call");
        Intent mIntent = new Intent("android.intent.action.DIAL");
        startActivity(mIntent);
    }

        @Override
        public void onDestroy() {
                super.onDestroy();
                unregisterReceiver(this.broadcastRec);
        }
}


// MyBroadcastReceiver class

package com.call.simulation;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class MyBroadcastReceiver extends BroadcastReceiver {
    private static final String LOG_TAG = "BroadcastReceiver";

    @Override
    public void onReceive(Context context, Intent intent) {

        Log.e(LOG_TAG, "myBroadcastReceiver() ...");

        if(intent.getAction() != null) {
                Log.e(LOG_TAG, "Action:" + intent.getAction());
        }

        if(intent.getData() != null) {
                Log.e(LOG_TAG, "Uri:" + intent.getData().toString());
        }
        }
}

--~--~---------~--~----~------------~-------~--~----~

2. Auto check if video is disabled or removed

Hi, I run a website which has 100's of embeded youtube videos show
all
sorts of Hobbies, Interests, Pastimes and Sports on www.hipsfinder.com

It is impossible to keep track of all the videos on the website, so
what I want to do (if possible) is run a piece of php code to check
if
the video is still available - some sort of API?


Any feedback would be greatly appreciated, as we are finding more
videos are having embedding disabled after they have gone up for a
number of months.


Many thanks.

--~--~---------~--~----~------------~-------~--~----~

3. problem when moving image to the sdcard

4. java.lang.VerifyError with 0.9

5. problem with verifier

6. anyone has problem with verifyError?

7. Emulator starts but HelloAndroid doesn't run