You can convert the raw YUV to RGB and draw it on the surface
yourself. There is no API to send encoded frames directly to an
decoder and have them displayed and there are no plans to support
this.

On Jan 6, 4:34 am, iblues <iblues....@gmail.com> wrote:
> Hi all,
>
> In my application development, there is a requirement where the
> encoded video frame data will be delivered to the library layer on the
> fly over 3G. Is there a possibility of displaying the frame data
> directly to a SurfaceView? I see that the existing media player can
> only take a source from a 3GP or MP4 or http/RTP sources and cannot
> play raw YUV frame data or individual encoded frames.
>
> If not, how can I implement an equivalent video player to meet this
> requirement?
>
> This implementation would be similar to the camera preview except that
> instead of live data from camera, my data will be transmitted via
> network.
>
> Thanks & Regards,
> iblues
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to