ximagesrc for Android?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ximagesrc for Android?

chichoch
Hi!

I'm quite new to both GStreamer and NDK-development for Android, so have
patience with me please.

I'm currently working with a Android project where the app will stream a
video capture of a (Virtual) display via RTP.

The pipeline I want to implement on Android is something like this:
gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw ! videoconvert ! x264enc
! rtph264pay ! udpsink host=192.168.1.1 port=5000

It seems like it's not possible to use ximagesrc on Android though? What are
my options here? Should I use appsrc as a foundation to create something
myself?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ximagesrc for Android?

Nicolas Dufresne-5
Le vendredi 16 février 2018 à 06:21 -0700, chichoch a écrit :

> Hi!
>
> I'm quite new to both GStreamer and NDK-development for Android, so have
> patience with me please.
>
> I'm currently working with a Android project where the app will stream a
> video capture of a (Virtual) display via RTP.
>
> The pipeline I want to implement on Android is something like this:
> gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw ! videoconvert ! x264enc
> ! rtph264pay ! udpsink host=192.168.1.1 port=5000
>
> It seems like it's not possible to use ximagesrc on Android though? What are
> my options here? Should I use appsrc as a foundation to create something
> myself?
There is no X11 server on Android. Use glimagesink, refer to Android
tutorials for an example.

https://gstreamer.freedesktop.org/documentation/tutorials/android/index.html

>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ximagesrc for Android?

chichoch
Thank you for your help!

I'm not looking for a sink for OpenGL-textures, I wan't to use a Texture as
a source. (I.e. stream the screen of my android device to other devices via
RTP.)




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: ximagesrc for Android?

Nicolas Dufresne-5
Le lundi 19 février 2018 à 02:43 -0700, chichoch a écrit :
> Thank you for your help!
>
> I'm not looking for a sink for OpenGL-textures, I wan't to use a Texture as
> a source. (I.e. stream the screen of my android device to other devices via
> RTP.)
>

Oh, sorry. Half my answer still holds, there is no X11 server on
Android. There is a screenshot extension, but I have doubt you can use
it for screencast. Best it to try it out in Java, and then yes, using
appsrc will do the trick.

Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment