Gstremer compatibility with android 10+ devices

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

Gstremer compatibility with android 10+ devices

Purva
I am using gstreamer and I am checking it with android 10 but it's not
workig. I am receiving below error.

<http://gstreamer-devel.966125.n4.nabble.com/file/t379722/Screenshot_2020-10-19-11-58-25-432_org.jpg>

Tried below combination :
ndk 19 and ndk 21 both
Gstreamer version 1.16, 1.18 and 1.18.1




--
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: Gstremer compatibility with android 10+ devices

Nicolas Dufresne-5
Le vendredi 30 octobre 2020 à 08:19 -0500, Ironman einfochips a écrit :
> I am using gstreamer and I am checking it with android 10 but it's not
> workig. I am receiving below error.
>
> <http://gstreamer-devel.966125.n4.nabble.com/file/t379722/Screenshot_2020-10-19-11-58-25-432_org.jpg>
>
> Tried below combination :
> ndk 19 and ndk 21 both
> Gstreamer version 1.16, 1.18 and 1.18.1

"is missing a plugin" is highly dependant on your selected plugins
during compilation time of your application. More details of what you
are trying to achieve is needed.

>
>
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Gstremer compatibility with android 10+ devices

Purva
Thanks for reply but right now I am not aware about how to install those
plugings. I want to achive live streaming. So any idea which plugin is
missing and how to install it ?



--
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: Gstremer compatibility with android 10+ devices

Purva
In reply to this post by Nicolas Dufresne-5
I am not getting any error inwhile compiling it with android 7 devices. My
live streaming functionality works perfectly with android 7 but I am facing
an issue while I am trying to compile it with android 10 version. Below is
the error log cat.

10-12 18:44:32.443  2847  2847 E GStreamer+ahc: 0:00:00.146510989
0x7f7964c500
../sys/androidmedia/gst-android-hardware-camera.c:1616:_init_classes Failed
to initialize android.hardware.Camera classes: Failed to call Java method:
java.lang.ClassNotFoundException: Didn't find class
"org/freedesktop/gstreamer/androidmedia/GstAhcCallback" on path:
DexPathList[[zip file
"/data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/base.apk"],nativeLibraryDirectories=[/data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/lib/arm64,
/data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/base.apk!/lib/arm64-v8a,
/system/lib64, /vendor/lib64]]

Another issue is I am not getting error while initializing gstreamer but it
occors only while I am trying to play and start live streaming . And that is
specifically in android 10. Things are good and find in android 7 devices.



--
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: Gstremer compatibility with android 10+ devices

Nicolas Dufresne-5
Le jeudi 05 novembre 2020 à 07:29 -0600, Purva a écrit :

> I am not getting any error inwhile compiling it with android 7 devices. My
> live streaming functionality works perfectly with android 7 but I am facing
> an issue while I am trying to compile it with android 10 version. Below is
> the error log cat.
>
> 10-12 18:44:32.443  2847  2847 E GStreamer+ahc: 0:00:00.146510989
> 0x7f7964c500
> ../sys/androidmedia/gst-android-hardware-camera.c:1616:_init_classes Failed
> to initialize android.hardware.Camera classes: Failed to call Java method:
> java.lang.ClassNotFoundException: Didn't find class
> "org/freedesktop/gstreamer/androidmedia/GstAhcCallback" on path:
> DexPathList[[zip file
> "/data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/base.apk"],nativeLibraryDirectories=[/data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/lib/arm64,
> /data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/base.apk!/lib/arm64-v8a,
> /system/lib64, /vendor/lib64]]

They must have removed the deprecated Camera API. That's fair game, we
need to update the build system to skip that source. A Camera2 base
implementation is needed. Will you file issues ? or even better submit
MRs ?

>
> Another issue is I am not getting error while initializing gstreamer but it
> occors only while I am trying to play and start live streaming . And that is
> specifically in android 10. Things are good and find in android 7 devices.
>
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Gstremer compatibility with android 10+ devices

Nicolas Dufresne-5
Le jeudi 05 novembre 2020 à 10:12 -0500, Nicolas Dufresne a écrit :

> Le jeudi 05 novembre 2020 à 07:29 -0600, Purva a écrit :
> > I am not getting any error inwhile compiling it with android 7 devices. My
> > live streaming functionality works perfectly with android 7 but I am facing
> > an issue while I am trying to compile it with android 10 version. Below is
> > the error log cat.
> >
> > 10-12 18:44:32.443  2847  2847 E GStreamer+ahc: 0:00:00.146510989
> > 0x7f7964c500
> > ../sys/androidmedia/gst-android-hardware-camera.c:1616:_init_classes Failed
> > to initialize android.hardware.Camera classes: Failed to call Java method:
> > java.lang.ClassNotFoundException: Didn't find class
> > "org/freedesktop/gstreamer/androidmedia/GstAhcCallback" on path:
> > DexPathList[[zip file
> > "/data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/base.apk"],nativeLibraryDirectories=[/data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/lib/arm64,
> > /data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/base.apk!/lib/arm64-v8a,
> > /system/lib64, /vendor/lib64]]
>
> They must have removed the deprecated Camera API. That's fair game, we
> need to update the build system to skip that source. A Camera2 base
> implementation is needed. Will you file issues ? or even better submit
> MRs ?

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

>
> >
> > Another issue is I am not getting error while initializing gstreamer but it
> > occors only while I am trying to play and start live streaming . And that is
> > specifically in android 10. Things are good and find in android 7 devices.
> >
> >
> >
> > --
> > 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
Reply | Threaded
Open this post in threaded view
|

Re: Gstremer compatibility with android 10+ devices

Purva
- I am using gstreamer version 1.18  with ndk version 21. I have downloaded
code from below link
https://gstreamer.freedesktop.org/download/

- Are you suggesting to replace gstreamer with gstreamer-bad plugin or
source code to make it work on Android 10?

- And, also suggest me how can I add gstreamer-bad plugin in my code to
resolve my issue if I need to use my code itself
 
I appreciate your help and looking forward to your response.



--
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: Gstremer compatibility with android 10+ devices

Purva
In reply to this post by Nicolas Dufresne-5
I am not using camera code every thing is handled by library itself.



--
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: Gstremer compatibility with android 10+ devices

Jérôme Laheurte-3
In reply to this post by Nicolas Dufresne-5


Le 5 nov. 2020 à 16:28, Nicolas Dufresne <[hidden email]> 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.

Best regards
Jérôme Laheurte


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

Re: Gstremer compatibility with android 10+ devices

Nicolas Dufresne-5
Le vendredi 06 novembre 2020 à 16:21 +0100, Jérôme Laheurte a écrit :

>
>
> > Le 5 nov. 2020 à 16:28, Nicolas Dufresne <[hidden email]> 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.

Great, at least it will refresh the state of it.

>
> Best regards
> Jérôme Laheurte
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Gstremer compatibility with android 10+ devices

Nicolas Dufresne-5
In reply to this post by Purva
Le vendredi 06 novembre 2020 à 07:58 -0600, Purva a écrit :

> - I am using gstreamer version 1.18  with ndk version 21. I have downloaded
> code from below link
> https://gstreamer.freedesktop.org/download/
>
> - Are you suggesting to replace gstreamer with gstreamer-bad plugin or
> source code to make it work on Android 10?
>
> - And, also suggest me how can I add gstreamer-bad plugin in my code to
> resolve my issue if I need to use my code itself
> I appreciate your help and looking forward to your response.<<


Non of these no. What I'm saying is that the crasher you are getting
happens during initialization of ahcsrc, which is a plugin that calls
the Camera API on the Java side. That API has been deprecated for a
while, in favour of Camera2 API.

From the look of it (because I'm not so up-to-date with Android stack),
Android 10+ removes the deprecated API, so it crash because the API no
longer exist. Of course, Android is all about backward compat, if you
build for 9+, it will work again, and will even work on Android 10.

If for specific reason you must build for Android 10 (because you need
to use new API), then the WIP patches I have posted will be needed to
support camera. If you don't care about camera, you may just out-
compile that plugin and move on.

Nicolas



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

Re: Gstremer compatibility with android 10+ devices

Jérôme Laheurte-3
In reply to this post by Jérôme Laheurte-3


Le 6 nov. 2020 à 16:21, Jérôme Laheurte <[hidden email]> a écrit :



Le 5 nov. 2020 à 16:28, Nicolas Dufresne <[hidden email]> 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…

Best regards
Jérôme Laheurte


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

Re: Gstremer compatibility with android 10+ devices

Nicolas Dufresne-5


Le mer. 18 nov. 2020 10 h 00, Jérôme Laheurte <[hidden email]> a écrit :


Le 6 nov. 2020 à 16:21, Jérôme Laheurte <[hidden email]> a écrit :



Le 5 nov. 2020 à 16:28, Nicolas Dufresne <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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

Re: Gstremer compatibility with android 10+ devices

Jérôme Laheurte-3
In reply to this post by Jérôme Laheurte-3


Le 18 nov. 2020 à 14:48, Jérôme Laheurte <[hidden email]> a écrit :



Le 6 nov. 2020 à 16:21, Jérôme Laheurte <[hidden email]> a écrit :



Le 5 nov. 2020 à 16:28, Nicolas Dufresne <[hidden email]> 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.

Got a Galaxy Tab 2; this is not going well. Things happen but in the end all I get is

2020-12-04 11:59:37.543 395-1395/? W/GStreamer+basesrc: 0:00:02.089663691 0xb6b00b50 ../libs/gst/base/gstbasesrc.c:3127:gst_base_src_loop:<ahc2src0> error: Internal data stream error.
2020-12-04 11:59:37.543 395-1395/? W/GStreamer+basesrc: 0:00:02.090047383 0xb6b00b50 ../libs/gst/base/gstbasesrc.c:3127:gst_base_src_loop:<ahc2src0> error: streaming stopped, reason not-linked (-1)
2020-12-04 11:59:37.544 395-1395/? W/GStreamer+queue: 0:00:02.090575422 0xb6b00b50 ../plugins/elements/gstqueue.c:990:gst_queue_handle_sink_event:<queue0> error: Internal data stream error.
2020-12-04 11:59:37.544 395-1395/? W/GStreamer+queue: 0:00:02.090710383 0xb6b00b50 ../plugins/elements/gstqueue.c:990:gst_queue_handle_sink_event:<queue0> error: streaming stopped, reason not-linked (-1)
2020-12-04 11:59:37.544 395-1365/? E/spdlog: [2020-12-04 11:59:37.544] [GStreamer (instance 0)] [error] GST Error: Internal data stream error.
2020-12-04 11:59:37.544 395-1365/? E/spdlog: [2020-12-04 11:59:37.544] [GStreamer (instance 0)] [error] Additional info: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:QuividiPipeline/GstAHC2Src:ahc2src0:
    streaming stopped, reason not-linked (-1)

and nothing more, even though the logging level is *:7. I couldn’t even test a standalone NDK camera2 sample; I found 2 on Github but opening them in Android Studio leads to a much helpful « NullPointerException (no error message) » error before the project even loads (Google/SO suggest several reasons for that, and associated workarounds, which don’t work). I’m going to poke around some more but I think I’ll give up soon to keep what’s left of my sanity.

Best regards
Jérôme Laheurte


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

Re: Gstremer compatibility with android 10+ devices

Purva
Thanks for looking around to my issue. Bottom line is I am getting error from
some decodebin so any idea how to compile project with missing plugin ?
I am compiling project via ndk-build command.



--
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: Gstremer compatibility with android 10+ devices

Jérôme Laheurte-3
In reply to this post by Jérôme Laheurte-3


Le 4 déc. 2020 à 14:04, Jérôme Laheurte <[hidden email]> a écrit :

and nothing more, even though the logging level is *:7

The plugin was built with a max log level T_T

Now I have more logs but I’m still stuck. Complete log at the end of the mail, some highlights:

set_caps is invoked and the capture starts, so the caps negotiation works, maybe ? The width/height are wrong since the source is followed by a 1280x720 caps filter but whatever

D/GStreamer+ahc2src: 0:00:01.026730577 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1090:gst_ahc2_src_set_caps:<ahc2src0> video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1
    0:00:01.027084269 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1120:gst_ahc2_src_set_caps:<ahc2src0> setting fps range [15, 15]
D/GStreamer+ahc2src: 0:00:01.089396230 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1184:gst_ahc2_src_set_caps:<ahc2src0> Starting capture request

Obviously the capture is started and seems to work

V/GStreamer+ahc2src: 0:00:01.770513191 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1720:image_reader_on_image_available:<ahc2src0> Acquired an image (ts: 0:00:00.763372768)
    0:00:01.770724653 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1728:image_reader_on_image_available:<ahc2src0>   AImage internal ts: 73:00:41.045713643)
    0:00:01.771012884 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:101:gst_wrapped_aimage_ref:<ahc2src0> ref GstWrappedAImage 0xef8adba0, refcount: 1
V/GStreamer+ahc2src: 0:00:01.771222268 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1769:image_reader_on_image_available:<ahc2src0> Created a wrapped memory (ptr: 0xb7898950, length: 4976832)

But then out of the blue

W/GStreamer+basesrc: 0:00:01.838661653 0xb7b2c0f0 ../libs/gst/base/gstbasesrc.c:3127:gst_base_src_loop:<ahc2src0> error: Internal data stream error.
    0:00:01.838787114 0xb7b2c0f0 ../libs/gst/base/gstbasesrc.c:3127:gst_base_src_loop:<ahc2src0> error: streaming stopped, reason not-linked (-1)
W/GStreamer+queue: 0:00:01.839169614 0xb7b2c0f0 ../plugins/elements/gstqueue.c:990:gst_queue_handle_sink_event:<queue0> error: Internal data stream error.
    0:00:01.839276614 0xb7b2c0f0 ../plugins/elements/gstqueue.c:990:gst_queue_handle_sink_event:<queue0> error: streaming stopped, reason not-linked (-1)
E/spdlog: [2020-12-07 12:20:30.680] [GStreamer (instance 0)] [error] GST Error: Internal data stream error.
    [2020-12-07 12:20:30.680] [GStreamer (instance 0)] [error] Additional info: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:QuividiPipeline/GstAHC2Src:ahc2src0:
    streaming stopped, reason not-linked (-1)

There are a number of

D/ACameraDevice: Device error received, code 3, frame number 4, request ID 0, subseq ID 0
D/ACameraDevice: Device error received, code 3, frame number 5, request ID 0, subseq ID 0

but a quick Google search makes me think this is a red herring. Not much more I can do right now, if somebody has an idea…

Full log:

D/GStreamer+ahc2src: 0:00:00.946717769 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:2094:gst_ahc2_src_init:<GstAHC2Src@0xb6dd6170> detected 2 cameras
    0:00:00.946779307 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:2097:gst_ahc2_src_init:<GstAHC2Src@0xb6dd6170>   camera device[0]: 0
    0:00:00.946800269 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:2097:gst_ahc2_src_init:<GstAHC2Src@0xb6dd6170>   camera device[1]: 1
E/ACameraMetadata: filterDurations: malformed duration key 851980! count 0, type 3
    filterDurations: malformed duration key 1638402! count 0, type 3
    filterDurations: malformed duration key 1638403! count 0, type 3
    filterDurations: malformed duration key 1835009! count 0, type 3
    filterDurations: malformed duration key 1835010! count 0, type 3
    filterDurations: malformed duration key 1638407! count 0, type 3
    filterDurations: malformed duration key 1638408! count 0, type 3
D/GStreamer+ahc2src: 0:00:00.949411230 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1251:gst_ahc2_src_get_caps:<ahc2src0> Hardware supported level: limited
    0:00:00.949447077 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1255:gst_ahc2_src_get_caps:<ahc2src0> List of capabilities:
    0:00:00.949465500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     backward compatible(0)
    0:00:00.949483154 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     burst capture(6)
    0:00:00.949500077 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1294:gst_ahc2_src_get_caps:<ahc2src0> Checking available FPS ranges:
    0:00:00.949514154 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 15)
    0:00:00.949530346 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 20)
    0:00:00.949544730 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 20, max: 20)
    0:00:00.949558577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 24, max: 24)
    0:00:00.949572884 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 8, max: 30)
    0:00:00.949587230 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 10, max: 30)
    0:00:00.949602154 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 30)
    0:00:00.949616769 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 30, max: 30)
    0:00:00.949641846 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1307:gst_ahc2_src_get_caps:<ahc2src0> Supported available stream configurations:
    0:00:00.949661500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2576, h: 1932)
    0:00:00.949712307 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1440)
    0:00:00.949750423 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1600)
    0:00:00.949786307 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1536)
    0:00:00.949833038 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1152)
    0:00:00.949876192 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1920)
    0:00:00.949911961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1080)
    0:00:00.949948577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1728, h: 1080)
    0:00:00.949982423 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1440, h: 1080)
    0:00:00.950024654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1280, h: 720)
    0:00:00.950060654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1088, h: 1088)
    0:00:00.950094577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1072, h: 1072)
    0:00:00.950134154 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 960, h: 720)
    0:00:00.950172500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 880, h: 720)
    0:00:00.950206538 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 720)
D/GStreamer+ahc2src: 0:00:00.950243154 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 480)
    0:00:00.950275807 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 480)
    0:00:00.950327769 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 360)
    0:00:00.950366269 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 352, h: 288)
    0:00:00.950399654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 320, h: 240)
    0:00:00.950437654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 256, h: 144)
    0:00:00.950473769 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 176, h: 144)
D/GStreamer+ahc2src: 0:00:00.950511307 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1355:gst_ahc2_src_get_caps:<ahc2src0> video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 15/1, 20/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)20/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 8/1, 30/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction
E/ACameraMetadata: filterDurations: malformed duration key 851980! count 0, type 3
    filterDurations: malformed duration key 1638402! count 0, type 3
    filterDurations: malformed duration key 1638403! count 0, type 3
    filterDurations: malformed duration key 1835009! count 0, type 3
    filterDurations: malformed duration key 1835010! count 0, type 3
    filterDurations: malformed duration key 1638407! count 0, type 3
    filterDurations: malformed duration key 1638408! count 0, type 3
D/GStreamer+ahc2src: 0:00:00.954655115 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1251:gst_ahc2_src_get_caps:<ahc2src0> Hardware supported level: limited
    0:00:00.954691730 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1255:gst_ahc2_src_get_caps:<ahc2src0> List of capabilities:
    0:00:00.954710346 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     backward compatible(0)
    0:00:00.954728461 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     burst capture(6)
    0:00:00.954744115 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1294:gst_ahc2_src_get_caps:<ahc2src0> Checking available FPS ranges:
    0:00:00.954760000 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 15)
    0:00:00.954775654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 20)
    0:00:00.954791077 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 20, max: 20)
    0:00:00.954806615 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 24, max: 24)
    0:00:00.954822500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 8, max: 30)
    0:00:00.954837384 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 10, max: 30)
    0:00:00.954852192 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 30)
    0:00:00.954867115 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 30, max: 30)
    0:00:00.954892730 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1307:gst_ahc2_src_get_caps:<ahc2src0> Supported available stream configurations:
    0:00:00.954910884 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2576, h: 1932)
    0:00:00.954955346 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1440)
    0:00:00.954991423 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1600)
    0:00:00.955025115 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1536)
    0:00:00.955058769 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1152)
    0:00:00.955093423 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1920)
    0:00:00.955126961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1080)
    0:00:00.955164807 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1728, h: 1080)
    0:00:00.955200961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1440, h: 1080)
D/GStreamer+ahc2src: 0:00:00.955235730 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1280, h: 720)
    0:00:00.955274577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1088, h: 1088)
    0:00:00.955307500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1072, h: 1072)
    0:00:00.955348961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 960, h: 720)
    0:00:00.955382615 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 880, h: 720)
    0:00:00.955415346 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 720)
    0:00:00.955448884 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 480)
    0:00:00.955482577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 480)
    0:00:00.955517807 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 360)
    0:00:00.955551077 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 352, h: 288)
    0:00:00.955636154 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 320, h: 240)
    0:00:00.955676961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 256, h: 144)
    0:00:00.955724500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 176, h: 144)
D/GStreamer+ahc2src: 0:00:00.955763654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1355:gst_ahc2_src_get_caps:<ahc2src0> video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 15/1, 20/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)20/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 8/1, 30/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction
E/ACameraMetadata: filterDurations: malformed duration key 851980! count 0, type 3
    filterDurations: malformed duration key 1638402! count 0, type 3
    filterDurations: malformed duration key 1638403! count 0, type 3
    filterDurations: malformed duration key 1835009! count 0, type 3
    filterDurations: malformed duration key 1835010! count 0, type 3
    filterDurations: malformed duration key 1638407! count 0, type 3
    filterDurations: malformed duration key 1638408! count 0, type 3
D/GStreamer+ahc2src: 0:00:00.959432654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1251:gst_ahc2_src_get_caps:<ahc2src0> Hardware supported level: limited
    0:00:00.959474346 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1255:gst_ahc2_src_get_caps:<ahc2src0> List of capabilities:
    0:00:00.959494115 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     backward compatible(0)
    0:00:00.959513884 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     burst capture(6)
    0:00:00.959530500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1294:gst_ahc2_src_get_caps:<ahc2src0> Checking available FPS ranges:
    0:00:00.959548692 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 15)
    0:00:00.959565884 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 20)
    0:00:00.959581923 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 20, max: 20)
    0:00:00.959657423 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 24, max: 24)
    0:00:00.959673461 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 8, max: 30)
    0:00:00.959688269 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 10, max: 30)
    0:00:00.959702538 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 30)
    0:00:00.959717615 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 30, max: 30)
    0:00:00.959741923 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1307:gst_ahc2_src_get_caps:<ahc2src0> Supported available stream configurations:
    0:00:00.959761769 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2576, h: 1932)
    0:00:00.959806307 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1440)
    0:00:00.959843423 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1600)
    0:00:00.959877615 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1536)
    0:00:00.959911961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1152)
    0:00:00.959949307 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1920)
    0:00:00.959983230 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1080)
    0:00:00.960017500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1728, h: 1080)
    0:00:00.960050961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1440, h: 1080)
    0:00:00.960085423 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1280, h: 720)
    0:00:00.960120192 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1088, h: 1088)
    0:00:00.960153269 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1072, h: 1072)
    0:00:00.960186577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 960, h: 720)
D/GStreamer+ahc2src: 0:00:00.960220154 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 880, h: 720)
    0:00:00.960253500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 720)
    0:00:00.960287961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 480)
    0:00:00.960321384 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 480)
    0:00:00.960357423 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 360)
    0:00:00.960390884 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 352, h: 288)
    0:00:00.960437615 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 320, h: 240)
    0:00:00.960483692 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 256, h: 144)
    0:00:00.960520884 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 176, h: 144)
D/GStreamer+ahc2src: 0:00:00.960559307 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1355:gst_ahc2_src_get_caps:<ahc2src0> video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 15/1, 20/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)20/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 8/1, 30/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction
E/ACameraMetadata: filterDurations: malformed duration key 851980! count 0, type 3
    filterDurations: malformed duration key 1638402! count 0, type 3
    filterDurations: malformed duration key 1638403! count 0, type 3
    filterDurations: malformed duration key 1835009! count 0, type 3
    filterDurations: malformed duration key 1835010! count 0, type 3
    filterDurations: malformed duration key 1638407! count 0, type 3
    filterDurations: malformed duration key 1638408! count 0, type 3
D/GStreamer+ahc2src: 0:00:00.964363654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1251:gst_ahc2_src_get_caps:<ahc2src0> Hardware supported level: limited
    0:00:00.964412807 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1255:gst_ahc2_src_get_caps:<ahc2src0> List of capabilities:
    0:00:00.964432961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     backward compatible(0)
    0:00:00.964453384 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     burst capture(6)
    0:00:00.964469654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1294:gst_ahc2_src_get_caps:<ahc2src0> Checking available FPS ranges:
    0:00:00.964486346 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 15)
    0:00:00.964503807 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 20)
    0:00:00.964520269 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 20, max: 20)
    0:00:00.964535577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 24, max: 24)
    0:00:00.964549730 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 8, max: 30)
    0:00:00.964563884 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 10, max: 30)
    0:00:00.964578230 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 30)
    0:00:00.964593346 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 30, max: 30)
    0:00:00.964622500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1307:gst_ahc2_src_get_caps:<ahc2src0> Supported available stream configurations:
    0:00:00.964643538 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2576, h: 1932)
    0:00:00.964695807 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1440)
    0:00:00.964768077 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1600)
    0:00:00.964804500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1536)
    0:00:00.964841115 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1152)
    0:00:00.964878654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1920)
    0:00:00.964913577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1080)
    0:00:00.964947346 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1728, h: 1080)
    0:00:00.964980461 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1440, h: 1080)
    0:00:00.965014461 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1280, h: 720)
    0:00:00.965047654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1088, h: 1088)
    0:00:00.965080884 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1072, h: 1072)
    0:00:00.965115500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 960, h: 720)
    0:00:00.965149000 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 880, h: 720)
    0:00:00.965183500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 720)
D/GStreamer+ahc2src: 0:00:00.965217500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 480)
    0:00:00.965250577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 480)
    0:00:00.965286230 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 360)
    0:00:00.965319461 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 352, h: 288)
    0:00:00.965352846 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 320, h: 240)
    0:00:00.965385577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 256, h: 144)
    0:00:00.965417461 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 176, h: 144)
D/GStreamer+ahc2src: 0:00:00.965452769 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1355:gst_ahc2_src_get_caps:<ahc2src0> video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 15/1, 20/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)20/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 8/1, 30/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction
E/ACameraMetadata: filterDurations: malformed duration key 851980! count 0, type 3
    filterDurations: malformed duration key 1638402! count 0, type 3
    filterDurations: malformed duration key 1638403! count 0, type 3
    filterDurations: malformed duration key 1835009! count 0, type 3
    filterDurations: malformed duration key 1835010! count 0, type 3
    filterDurations: malformed duration key 1638407! count 0, type 3
    filterDurations: malformed duration key 1638408! count 0, type 3
D/GStreamer+ahc2src: 0:00:00.969338961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1251:gst_ahc2_src_get_caps:<ahc2src0> Hardware supported level: limited
    0:00:00.969388923 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1255:gst_ahc2_src_get_caps:<ahc2src0> List of capabilities:
    0:00:00.969408154 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     backward compatible(0)
    0:00:00.969426577 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     burst capture(6)
    0:00:00.969442807 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1294:gst_ahc2_src_get_caps:<ahc2src0> Checking available FPS ranges:
    0:00:00.969457538 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 15)
    0:00:00.969473692 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 20)
    0:00:00.969489115 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 20, max: 20)
    0:00:00.969503500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 24, max: 24)
    0:00:00.969518230 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 8, max: 30)
    0:00:00.969533730 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 10, max: 30)
    0:00:00.969548269 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 30)
    0:00:00.969562384 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 30, max: 30)
    0:00:00.969591269 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1307:gst_ahc2_src_get_caps:<ahc2src0> Supported available stream configurations:
    0:00:00.969611615 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2576, h: 1932)
    0:00:00.969663077 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1440)
    0:00:00.969701846 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1600)
    0:00:00.969737615 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1536)
    0:00:00.969774423 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1152)
    0:00:00.969808769 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1920)
    0:00:00.969843269 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1080)
    0:00:00.969875384 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1728, h: 1080)
    0:00:00.969908884 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1440, h: 1080)
    0:00:00.969941500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1280, h: 720)
    0:00:00.969975654 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1088, h: 1088)
    0:00:00.970008923 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1072, h: 1072)
    0:00:00.970042807 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 960, h: 720)
    0:00:00.970075961 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 880, h: 720)
    0:00:00.970109000 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 720)
    0:00:00.970155538 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 480)
    0:00:00.970192192 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 480)
D/GStreamer+ahc2src: 0:00:00.970227307 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 360)
    0:00:00.970262500 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 352, h: 288)
    0:00:00.970308154 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 320, h: 240)
    0:00:00.970344807 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 256, h: 144)
    0:00:00.970378615 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 176, h: 144)
D/GStreamer+ahc2src: 0:00:00.970415538 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1355:gst_ahc2_src_get_caps:<ahc2src0> video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 15/1, 20/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)20/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 8/1, 30/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction
D/GStreamer+ahc2src: 0:00:00.974151346 0xb7b2b580 ../sys/androidmedia/gstahc2src.c:1440:gst_ahc2_src_camera_open:<ahc2src0> Trying to open camera device (id: 1)
E/ACameraMetadata: filterDurations: malformed duration key 851980! count 0, type 3
    filterDurations: malformed duration key 1638402! count 0, type 3
    filterDurations: malformed duration key 1638403! count 0, type 3
    filterDurations: malformed duration key 1835009! count 0, type 3
    filterDurations: malformed duration key 1835010! count 0, type 3
    filterDurations: malformed duration key 1638407! count 0, type 3
    filterDurations: malformed duration key 1638408! count 0, type 3
V/GStreamer+default: 0:00:01.007355423 0xb7b2c0f0 ../gst/gstutils.c:4026:gst_pad_create_stream_id_internal:<ahc2src0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
E/ACameraMetadata: filterDurations: malformed duration key 851980! count 0, type 3
    filterDurations: malformed duration key 1638402! count 0, type 3
    filterDurations: malformed duration key 1638403! count 0, type 3
E/ACameraMetadata: filterDurations: malformed duration key 1835009! count 0, type 3
    filterDurations: malformed duration key 1835010! count 0, type 3
    filterDurations: malformed duration key 1638407! count 0, type 3
    filterDurations: malformed duration key 1638408! count 0, type 3
D/GStreamer+ahc2src: 0:00:01.009319423 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1251:gst_ahc2_src_get_caps:<ahc2src0> Hardware supported level: limited
    0:00:01.009415230 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1255:gst_ahc2_src_get_caps:<ahc2src0> List of capabilities:
    0:00:01.009460077 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     backward compatible(0)
    0:00:01.009506269 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1288:gst_ahc2_src_get_caps:<ahc2src0>     burst capture(6)
    0:00:01.009551192 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1294:gst_ahc2_src_get_caps:<ahc2src0> Checking available FPS ranges:
    0:00:01.009593115 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 15)
    0:00:01.009636692 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 20)
    0:00:01.009679077 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 20, max: 20)
    0:00:01.009721192 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 24, max: 24)
    0:00:01.009762961 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 8, max: 30)
    0:00:01.009803961 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 10, max: 30)
    0:00:01.009845615 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 15, max: 30)
    0:00:01.009887346 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1299:gst_ahc2_src_get_caps:<ahc2src0>   (min: 30, max: 30)
    0:00:01.009954692 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1307:gst_ahc2_src_get_caps:<ahc2src0> Supported available stream configurations:
    0:00:01.010021807 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2576, h: 1932)
    0:00:01.010158346 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1440)
D/GStreamer+ahc2src: 0:00:01.010269154 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2560, h: 1600)
    0:00:01.010371154 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1536)
    0:00:01.010479154 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 2048, h: 1152)
    0:00:01.010576230 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1920)
    0:00:01.010678115 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1920, h: 1080)
    0:00:01.010784461 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1728, h: 1080)
    0:00:01.010898730 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1440, h: 1080)
    0:00:01.011013307 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1280, h: 720)
    0:00:01.011158500 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1088, h: 1088)
D/GStreamer+ahc2src: 0:00:01.011320500 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 1072, h: 1072)
    0:00:01.011474115 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 960, h: 720)
    0:00:01.011701769 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 880, h: 720)
    0:00:01.011892769 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 720)
    0:00:01.012056500 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 720, h: 480)
D/GStreamer+ahc2src: 0:00:01.012222346 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 480)
    0:00:01.012454769 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 640, h: 360)
    0:00:01.012618615 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 352, h: 288)
    0:00:01.012752269 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 320, h: 240)
    0:00:01.012899846 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 256, h: 144)
    0:00:01.013041307 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1325:gst_ahc2_src_get_caps:<ahc2src0>   (w: 176, h: 144)
D/GStreamer+ahc2src: 0:00:01.013206192 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1355:gst_ahc2_src_get_caps:<ahc2src0> video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 15/1, 20/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)20/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 8/1, 30/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction
D/GStreamer+ahc2src: 0:00:01.019995077 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1056:gst_ahc2_src_fixate:<ahc2src0> Fixating : video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 15/1, 20/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)20/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24/1; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 8/1, 30/1 ]; video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=
D/GStreamer+ahc2src: 0:00:01.026730577 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1090:gst_ahc2_src_set_caps:<ahc2src0> video/x-raw, format=(string)NV12, width=(int)2576, height=(int)1932, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1
    0:00:01.027084269 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1120:gst_ahc2_src_set_caps:<ahc2src0> setting fps range [15, 15]
D/GStreamer+ahc2src: 0:00:01.089396230 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:1184:gst_ahc2_src_set_caps:<ahc2src0> Starting capture request
D/GStreamer+ahc2src: 0:00:01.093451384 0xb789e920 ../sys/androidmedia/gstahc2src.c:1832:capture_session_on_active:<ahc2src0> Camera[1] capture session is activated
W/Gralloc3: allocator 3.x is not supported
V/GStreamer+ahc2src: 0:00:01.706394422 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1720:image_reader_on_image_available:<ahc2src0> Acquired an image (ts: 0:00:00.699142114)
    0:00:01.706757153 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1728:image_reader_on_image_available:<ahc2src0>   AImage internal ts: 73:00:40.979482913)
D/GStreamer+ahc2src: 0:00:01.706974422 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1740:image_reader_on_image_available:<ahc2src0> Droping image (reason: first frame)
V/GStreamer+ahc2src: 0:00:01.770513191 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1720:image_reader_on_image_available:<ahc2src0> Acquired an image (ts: 0:00:00.763372768)
    0:00:01.770724653 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1728:image_reader_on_image_available:<ahc2src0>   AImage internal ts: 73:00:41.045713643)
    0:00:01.771012884 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:101:gst_wrapped_aimage_ref:<ahc2src0> ref GstWrappedAImage 0xef8adba0, refcount: 1
V/GStreamer+ahc2src: 0:00:01.771222268 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1769:image_reader_on_image_available:<ahc2src0> Created a wrapped memory (ptr: 0xb7898950, length: 4976832)
    0:00:01.771363807 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:101:gst_wrapped_aimage_ref:<ahc2src0> ref GstWrappedAImage 0xef8adba0, refcount: 2
    0:00:01.771506461 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1769:image_reader_on_image_available:<ahc2src0> Created a wrapped memory (ptr: 0xb78989a0, length: 2488415)
    0:00:01.771701384 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:101:gst_wrapped_aimage_ref:<ahc2src0> ref GstWrappedAImage 0xef8adba0, refcount: 3
    0:00:01.771805153 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1769:image_reader_on_image_available:<ahc2src0> Created a wrapped memory (ptr: 0xb78989f0, length: 2488415)
    0:00:01.771931730 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:117:gst_wrapped_aimage_unref:<ahc2src0> unref GstWrappedAImage 0xef8adba0, refcount: 4
    0:00:01.772023922 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1794:image_reader_on_image_available:<ahc2src0> created buffer from image callback 9953662, ts 0:00:00.763372768, dur 0:00:00.064230654, offset -1, offset_end -1
V/GStreamer+ahc2src: 0:00:01.772336153 0xb6c524f0 ../sys/androidmedia/gstahc2src.c:117:gst_wrapped_aimage_unref:<ahc2src0> unref GstWrappedAImage 0xef8adba0, refcount: 3
    0:00:01.772514653 0xb6c524f0 ../sys/androidmedia/gstahc2src.c:117:gst_wrapped_aimage_unref:<ahc2src0> unref GstWrappedAImage 0xef8adba0, refcount: 2
    0:00:01.772620345 0xb6c524f0 ../sys/androidmedia/gstahc2src.c:117:gst_wrapped_aimage_unref:<ahc2src0> unref GstWrappedAImage 0xef8adba0, refcount: 1
V/GStreamer+ahc2src: 0:00:01.836712422 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1720:image_reader_on_image_available:<ahc2src0> Acquired an image (ts: 0:00:00.829563345)
    0:00:01.836975345 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1728:image_reader_on_image_available:<ahc2src0>   AImage internal ts: 73:00:41.112168374)
V/GStreamer+ahc2src: 0:00:01.837159307 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:101:gst_wrapped_aimage_ref:<ahc2src0> ref GstWrappedAImage 0xba096250, refcount: 1
    0:00:01.837268999 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1769:image_reader_on_image_available:<ahc2src0> Created a wrapped memory (ptr: 0xb7898a40, length: 4976832)
    0:00:01.837360384 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:101:gst_wrapped_aimage_ref:<ahc2src0> ref GstWrappedAImage 0xba096250, refcount: 2
    0:00:01.837441268 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1769:image_reader_on_image_available:<ahc2src0> Created a wrapped memory (ptr: 0xb7898a90, length: 2488415)
    0:00:01.837559538 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:101:gst_wrapped_aimage_ref:<ahc2src0> ref GstWrappedAImage 0xba096250, refcount: 3
    0:00:01.837662307 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1769:image_reader_on_image_available:<ahc2src0> Created a wrapped memory (ptr: 0xb7898ae0, length: 2488415)
    0:00:01.837805807 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:117:gst_wrapped_aimage_unref:<ahc2src0> unref GstWrappedAImage 0xba096250, refcount: 4
    0:00:01.837950576 0xb776e4c0 ../sys/androidmedia/gstahc2src.c:1794:image_reader_on_image_available:<ahc2src0> created buffer from image callback 9953662, ts 0:00:00.829563345, dur 0:00:00.066190577, offset -1, offset_end -1
V/GStreamer+ahc2src: 0:00:01.838191807 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:117:gst_wrapped_aimage_unref:<ahc2src0> unref GstWrappedAImage 0xba096250, refcount: 3
    0:00:01.838361614 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:117:gst_wrapped_aimage_unref:<ahc2src0> unref GstWrappedAImage 0xba096250, refcount: 2
    0:00:01.838454691 0xb7b2c0f0 ../sys/androidmedia/gstahc2src.c:117:gst_wrapped_aimage_unref:<ahc2src0> unref GstWrappedAImage 0xba096250, refcount: 1
W/GStreamer+basesrc: 0:00:01.838661653 0xb7b2c0f0 ../libs/gst/base/gstbasesrc.c:3127:gst_base_src_loop:<ahc2src0> error: Internal data stream error.
    0:00:01.838787114 0xb7b2c0f0 ../libs/gst/base/gstbasesrc.c:3127:gst_base_src_loop:<ahc2src0> error: streaming stopped, reason not-linked (-1)
W/GStreamer+queue: 0:00:01.839169614 0xb7b2c0f0 ../plugins/elements/gstqueue.c:990:gst_queue_handle_sink_event:<queue0> error: Internal data stream error.
    0:00:01.839276614 0xb7b2c0f0 ../plugins/elements/gstqueue.c:990:gst_queue_handle_sink_event:<queue0> error: streaming stopped, reason not-linked (-1)
E/spdlog: [2020-12-07 12:20:30.680] [GStreamer (instance 0)] [error] GST Error: Internal data stream error.
    [2020-12-07 12:20:30.680] [GStreamer (instance 0)] [error] Additional info: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:QuividiPipeline/GstAHC2Src:ahc2src0:
    streaming stopped, reason not-linked (-1)
D/GStreamer+ahc2src: 0:00:01.840335884 0xb7a03700 ../sys/androidmedia/gstahc2src.c:1368:gst_ahc2_src_unlock:<ahc2src0> unlocking create
    0:00:01.840674845 0xb7a03700 ../sys/androidmedia/gstahc2src.c:1380:gst_ahc2_src_unlock_stop:<ahc2src0> stopping unlock
D/GStreamer+ahc2src: 0:00:01.840951999 0xb789e920 ../sys/androidmedia/gstahc2src.c:1832:capture_session_on_active:<ahc2src0> Camera[1] capture session is activated
D/ACameraDevice: Device error received, code 3, frame number 3, request ID 0, subseq ID 0
D/GStreamer+ahc2src: 0:00:01.972964999 0xb7a03700 ../sys/androidmedia/gstahc2src.c:1409:gst_ahc2_src_camera_close:<ahc2src0> Closing Camera
D/ACameraDevice: Device error received, code 3, frame number 4, request ID 0, subseq ID 0
D/ACameraDevice: Device error received, code 3, frame number 5, request ID 0, subseq ID 0
D/ACameraDevice: Device error received, code 3, frame number 6, request ID 0, subseq ID 0
D/ACameraDevice: Device error received, code 3, frame number 7, request ID 0, subseq ID 0
    Device error received, code 3, frame number 8, request ID 0, subseq ID 0
D/ACameraDevice: Device error received, code 3, frame number 9, request ID 0, subseq ID 0


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

Re: Gstremer compatibility with android 10+ devices

Purva
Any idea how to apply plugin ? Do i need to download any source and compile
ndk steps or anything ?



--
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: Gstremer compatibility with android 10+ devices

Jérôme Laheurte-3


Le 7 déc. 2020 à 14:55, Purva <[hidden email]> a écrit :

Any idea how to apply plugin ? Do i need to download any source and compile
ndk steps or anything ?

As Nicolas said, your problem is probably that Android 10 removed the API used by the current source element (ahcsrc). You won’t be able to make it work. What I’m doing is trying to use a different element, which uses a newer API, but was never incorporated into gstreamer, so it involves merging and fixing the branch from the ahc2src repository (https://gitlab.collabora.com/joykim/gst-plugins-bad/tree/899ca9f8317839eb2ce513b5e84ee9f253d1edb8/sys/androidmedia) which is not exactly easy. This does not work right now.

As for now I guess you can’t capture from the camera on Android 10 and later.

Best regards
Jérôme Laheurte


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

Re: Gstremer compatibility with android 10+ devices

Nicolas Dufresne-5
Le lundi 07 décembre 2020 à 16:09 +0100, Jérôme Laheurte a écrit :

>
>
> > Le 7 déc. 2020 à 14:55, Purva <[hidden email]> a écrit :
> >
> > Any idea how to apply plugin ? Do i need to download any source and compile
> > ndk steps or anything ?
>
> As Nicolas said, your problem is probably that Android 10 removed the API used
> by the current source element (ahcsrc). You won’t be able to make it work.
> What I’m doing is trying to use a different element, which uses a newer API,
> but was never incorporated into gstreamer, so it involves merging and fixing
> the branch from the ahc2src repository (
> https://gitlab.collabora.com/joykim/gst-plugins-bad/tree/899ca9f8317839eb2ce513b5e84ee9f253d1edb8/sys/androidmedia
> ) which is not exactly easy. This does not work right now.
>
> As for now I guess you can’t capture from the camera on Android 10 and later.

Normally you should be able to target an older version of Android, like 9, and
use the legacy HAL (it's being emulated on top of the new one).

>
> Best regards
> Jérôme Laheurte
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Gstremer compatibility with android 10+ devices

Purva
In reply to this post by Jérôme Laheurte-3
Thanks got your point.



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