Problem with Vorbis and Theora file on Android

doon don-prog at mail.ru
Wed May 4 02:15:28 UTC 2016


Sebastian Dröge-3 wrote
> On So, 2016-05-01 at 18:34 -0700, doon wrote:
>> This string describes how I get a window handle:
>>  gst_video_overlay_set_window_handle(GST_VIDEO_OVERLAY(video_sink),
>> this->ui->playback_widget->winId()); 
>> //playback_widget - QOpenGLWidget, I also tried some other output widgets
>> 
>> And same code works on all other platforms, but not on Android.
>> I know, I need to get the pointer to ANativeWindow, but how can I get
>> this
>> with Qt on Android? Any help or tip will be very usefull.
> 
> This does not describe anything really and your question is more a Qt
> question than a GStreamer one. You need an ANativeWindow in any case.
> 
> You'll have to understand what winId exactly returns on Android, it
> might for example be a Java Surface object, from which you can then get
> the ANativeWindow via NDK API.
> 
> -- 
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
> 
> 
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> signature.asc (968 bytes)
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4677278/0/signature.asc>

Moderator on Qt forum told me that I need to "build Qt's GStreamer backend
for Android"(you can check the dialog
https://forum.qt.io/topic/66624/display-gstreamer-video-on-android/) but I
even don't know what is it and how I can build it and connect with
GStreamer. Can you help with this?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Problem-with-Vorbis-and-Theora-file-on-Android-tp4677085p4677318.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list