[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    Re: How to make androidmedia support direct output on surface
From:       lucky chou <luckychsj () gmail ! com>
Date:       2017-03-31 2:21:49
Message-ID: 1490926909117-4682465.post () n4 ! nabble ! com
[Download RAW message or body]

Matthew Waters wrote
> On 09/01/17 23:59, lucky chou wrote:
> > Hi,
> > As far as I know, it seems that  androidmedia plugin can only use OpenGL
> > output video, right?
> > I hope similar to nuplayer, Video frame  be displayed on surface which is
> > passed down by MediaPlayer, how to do it? 
> > AMediaCodec_configure (codec,format, surface,
> > NULL, flags)
> > 
> > Because in some devices,  especially on TV device, 
> > direct surface output video usually has hardware acceleration.
> 
> > The other possibility (that's not currently implemented) is to pass a
> > SurfaceView based Surface into MediaCodec for decoding to render the
> > resulting video frames.  To do so, one would need a special sink element
> > as well as modifications to the androidmedia decoder to allow setting
> > the Surface from outside.  All doable though :)
> 
> Sounds great.Indeed, I think if support  surfaceview in Android, it should
> be more friendly for app developers.
> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel@.freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> signature.asc (527 bytes)
> &lt;http://gstreamer-devel.966125.n4.nabble.com/attachment/4681385/0/signature.asc&gt;
> 





--
View this message in context: \
http://gstreamer-devel.966125.n4.nabble.com/How-to-make-androidmedia-support-direct-output-on-surfaceview-tp4681374p4682465.html
 Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic