iMX6 hardware decode issue on Android

Eric-BTG eric.chaloin at bt-ground.com
Tue Sep 8 09:14:12 PDT 2015


Hi,

Here are my imxeglvivsink experiments.

Since I have no framebuffer I have to stub 4 eglvivsink/egl_platform_fb.c
functions: fbGetDisplayByIndex,  fbCreateWindow, fbGetWindowGeometry and
fbDestroyWindow to build imxeglvivsink for android.

Here is my stub patch (test purpose, hardcoded values):

On top of 898e51dbdb01926d6423d0d31a9530ec6deb5192 (Version 0.10.1) (can't
build further)


I have to use injected window_handle instead of creating it throught
framebuffer. Carlos why did you used fbCreateWindow to create the window
instead of using given window_handle?		

My configure output:


I can use the sink with videotestsrc:
"videotestsrc ! imxeglvivsink" works as expected.

But I can't link imxvpudec to imxeglvivsink.

"filesrc location=/sdcard/Movies/trailer_1080p.mov ! qtdemux ! h264parse !
imxvpudec ! imxeglvivsink"

Outputs:
09-08 14:21:54.529    2888-2952/com.test.test E/GStreamer+GST_PIPELINE﹕
0:00:06.859754001 0x53530d80 ./grammar.y:617:gst_parse_perform_link could
not link imxvpudec0 to imxeglvivsink0
09-08 14:21:54.529    2888-2952/com.test.test E/GStreamer+default﹕
0:00:06.860123334 0x53530d80
src/main/jni/GStreamerPipeline.cpp:49:createGstPipeline Failed to build
gstreamer pipeline: could not link imxvpudec0 to imxeglvivsink0


So, I tried to use color space conversion from IPU with
imxipuvideotransform:

"filesrc location=/sdcard/Movies/trailer_1080p.mov ! qtdemux ! h264parse !
imxvpudec ! imxipuvideotransform ! imxeglvivsink"

I have a lot of IPU blitter errors:
E/GStreamer+imxipublitter﹕ 0:00:20.097881669 0x5352eb20
../src/ipu/blitter.c:482:gst_imx_ipu_blitter_blit_frame:<imxipublitter0>
queuing IPU task failed: Invalid argument
E/GStreamer+imxipublitter﹕ 0:00:20.104503001 0x5352eb20
../src/ipu/blitter.c:504:gst_imx_ipu_blitter_blit_frame:<imxipublitter0>
queuing IPU task failed: Invalid argument

Full log:  ipu_blitter-full-log.log
<http://gstreamer-devel.966125.n4.nabble.com/file/n4673535/ipu_blitter-full-log.log>  

As there was a lot work done on ipu blitter since 0.10.1 I will try to build
0.11.1 and let you know. 


Regards,

Eric



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/iMX6-hardware-decode-issue-on-Android-tp4673449p4673535.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list