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

List:       gstreamer-devel
Subject:    Re: Gstremer compatibility with android 10+ devices
From:       Nicolas Dufresne <nicolas () ndufresne ! ca>
Date:       2020-11-25 12:36:51
Message-ID: CAKQmDh-+DOPVm3yDds8HExC-HZ5Lx7+7rgZxgkV_hpv5dkSQvQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Le mer. 18 nov. 2020 10 h 00, Jérôme Laheurte <jerome@jeromelaheurte.net> a
écrit :

>
>
> Le 6 nov. 2020 à 16:21, Jérôme Laheurte <jerome@jeromelaheurte.net> a
> écrit :
>
>
>
> Le 5 nov. 2020 à 16:28, Nicolas Dufresne <nicolas@ndufresne.ca> a écrit :
>
> What is needed is to resurrect this as an MR and finish whatever is
> needed:
>
> https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/618
>
>
> It just so happens that I'm currently investigating this for work. I did a
> quick and dirty merge and some fixes for Meson, but haven't had the
> occasion to test it yet (lack of hardware). Since I'm definitely not an
> Android developer there's not much I could do if it doesn't work but I'll
> keep you informed.
>
>
> Obviously Google already gave up on the  « don't be evil  » stuff when they
> designed Android, that was a PITA. Anyway I made some progress but
> unfortunately the only hardware I have right now (Galaxy Tab S2) does not
> support camera2 so I couldn't test the actual capture. I had to add some
> validation in gst_ahc2_src_get_caps to prevent a SIGSEGV when no compatible
> camera is found; aside from this the plugin registers. I'll ask my boss to
> buy a more recent Android tablet and I'll come back when I have more news.
>
> IIRC a comment in the PR suggested to  « split  » androidmedia and this will
> indeed be necessary. The plugin fails to initialize if it doesn't find the
> Java callback classes needed by ahcsrc, even though ahc2src won't need them…
>

Ideally we can outcompile with the split to avoid the back trace.


> Best regards
> Jérôme Laheurte
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>

[Attachment #5 (text/html)]

<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">Le mer. 18 nov. 2020 10 h 00, Jérôme Laheurte &lt;<a \
href="mailto:jerome@jeromelaheurte.net">jerome@jeromelaheurte.net</a>&gt; a écrit  \
:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div \
style="word-wrap:break-word;line-break:after-white-space"><br><div><br><blockquote \
type="cite"><div>Le 6 nov. 2020 à 16:21, Jérôme Laheurte &lt;<a \
href="mailto:jerome@jeromelaheurte.net" target="_blank" \
rel="noreferrer">jerome@jeromelaheurte.net</a>&gt; a écrit :</div><br><div><div \
style="word-wrap:break-word;line-break:after-white-space"><br><div><br><blockquote \
type="cite"><div>Le 5 nov. 2020 Ã  16:28, Nicolas Dufresne &lt;<a \
href="mailto:nicolas@ndufresne.ca" target="_blank" \
rel="noreferrer">nicolas@ndufresne.ca</a>&gt; a écrit :</div><div><br \
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal \
;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span \
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal \
;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transf \
orm:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">What \
is needed is to resurrect this as an MR and finish whatever is</span><br \
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal \
;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span \
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal \
;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transf \
orm:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">needed:</span><br \
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal \
;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br \
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal \
;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><a \
href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/618" \
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal \
;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" \
target="_blank" rel="noreferrer">https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/618</a><br \
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal \
;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transf \
orm:none;white-space:normal;word-spacing:0px;text-decoration:none"></div></blockquote></div><br><div>It \
just so happens that I'm currently investigating this for work. I did a quick and \
dirty merge and some fixes for Meson, but haven't had the occasion to test it yet \
(lack of hardware). Since I'm definitely not an Android developer there's not much I \
could do if it doesn't work but I'll keep you \
informed.</div></div></div></blockquote><br></div><div>Obviously Google already gave \
up on the  «  don't be evil   » stuff when they designed Android, that was a PITA. \
Anyway I made some progress but unfortunately the only hardware I have right now \
(Galaxy Tab S2) does not support camera2 so I couldn't test the actual capture. I had \
to add some validation in gst_ahc2_src_get_caps to prevent a SIGSEGV when no \
compatible camera is found; aside from this the plugin registers. I'll ask my boss to \
buy a more recent Android tablet and I'll come back when I have more \
news.</div><div><br></div><div>IIRC a comment in the PR suggested to  «  split   » \
androidmedia and this will indeed be necessary. The plugin fails to initialize if it \
doesn't find the Java callback classes needed by ahcsrc, even though ahc2src won't \
need them…</div></div></blockquote></div></div><div dir="auto"><br></div><div \
dir="auto">Ideally we can outcompile with the split to avoid the back \
trace.</div><div dir="auto"><br></div><div dir="auto"><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
style="word-wrap:break-word;line-break:after-white-space"><div><br></div><div>Best \
regards</div><div>Jérôme \
Laheurte</div><div><br></div></div>_______________________________________________<br>
 gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" \
rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br> <a \
href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer \
noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
 </blockquote></div></div></div>



_______________________________________________
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