Note: we're on the road toward shutting down android-framework, you
might find better support if you move this thread into the
android-platform list.

Thanks,
JBQ

On Tue, Jul 21, 2009 at 8:12 PM, Krishna<gopalakrishna...@gmail.com> wrote:
>
> Dear All,
>
>  Please let me know if the MediaMetadataRetriever.java class can be
> used to retrieve the metadata for RTSP link like this :
> rtsp://208.29.16.222:554/test/neww_pw_MPEG4_128k_10fps_AAC_32k.mp4.
>
> I am getting a runtime exception when I try to use it like this.
>
> retriever = new MediaMetadataRetriever();
> retriever.setMode(MediaMetadataRetriever.MODE_GET_METADATA_ONLY);
> retriever.setDataSource(this, mUri);
> //mUri = rtsp://208.29.16.222:554/test/neww_pw_MPEG4_128k_10fps_AAC_32k.mp4
> retriever.extractMetadata
> ( MediaMetadataRetriever.METADATA_KEY_FRAME_RATE );
> retriever.extractMetadata
> ( MediaMetadataRetriever.METADATA_KEY_VIDEO_FORMAT );
> retriever.extractMetadata( MediaMetadataRetriever.METADATA_KEY_CODEC);
> retriever.release();
>
> My objective is to find the FrameRate, CodecType for the media file
> which we are streaming.  Please guide me if there is any other way to
> accomplish this.
>
>
> Regards,
> Gopalakrishnan.
>
> >
>



-- 
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to