iMX6Q Ubuntu - can not create threadmfw_gst_isink_setcap:1489

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6Q Ubuntu - can not create threadmfw_gst_isink_setcap:1489

Jump to solution
2,460 Views
Tarek
Senior Contributor I

Hi all,

The mfw_isink is not working on Ubuntu as well as OE Yocto. It's only working on LTIB!

Is there any intention for fix this important element?

Command line and output:

linaro@linaro-ubuntu-desktop:~/Videos$ gst-launch playbin2 uri=file:/home/linaro/Videos/bunny.mp4 video-sink=mfw_isink

set color key

MFW_GST_ISINK_PLUGIN 3.0.5 build on Dec 14 2012 14:02:16.

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

Aiur: 3.0.5

Core: MPEG4PARSER_06.04.25  build on Dec 10 2012 16:29:48

  mime: video/quicktime; audio/x-m4a; application/x-3gp

  file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.1

Content Info:

  URI:

       file:///home/linaro/Videos/bunny.mp4

  Idx File:

       /home/linaro/.aiur/.home.linaro.Videos.bunny.mp4.aidx

  Seekable  : Yes

  Size(byte): 5103296

Movie Info:

  Seekable  : Yes

  Live      : No

  Duration  : 0:00:33.041668000

  ReadMode  : File

  Track     : 2

Track 00 [video_000000] Enabled

  Duration: 0:00:32.480000000

  Language: und

  Mime:

       video/x-h264, parsed=(boolean)true, width=(int)720, height=(int)406, framerate=(

       fraction)25/1, codec_data=(buffer)000000016742c01e9a7381686bf3602200000300020000

       0300651e2c5cf00000000168ce32c8

[INFO] Product Info: i.MX6Q/D/S

vpudec versions :smileyhappy:

  plugin: 3.0.5

  wrapper: 1.0.28(VPUWRAPPER_ARM_LINUX Build on Dec 14 2012 12:23:57)

  vpulib: 5.4.10

  firmware: 2.1.8.34588

Track 01 [audio_000000] Enabled

  Duration: 0:00:33.041668000

  Language: und

  Mime:

       audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)8

       3680, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)121056

       e500

Cannot connect to server socket err = No such file or directory

Cannot connect to server socket

jack server is not running or cannot be started

/usr/bin/pulseaudio: error while loading shared libraries: libpulsecommon-1.0.so: cannot open shared object file: No such file or directory

Beep: 3.0.5

Core: AAC-Plus decoder Wrapper  build on Nov 29 2012 14:46:30

  mime: audio/mpeg, mpegversion=(int){2,4}

  file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacplusd_wrap_arm12_elinux.so.3

CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.07.00  build on Jul 17 2012 17:47:46.

BLN_MAD-MMCODECS_AACPD_ARM_03.07.00_ARM11  build on Jul 17 2012 17:58:59.

[INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0

hwbuf allocator zone(450560) created

can not create threadmfw_gst_isink_setcaps:1489

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

VS0 created. in fmt[NV12] win(0,0-720,400:720x400) out win(0,0-1280,720:1280x720)

set deinterlace mode 0

New clock: GstAudioSinkClock

hwbuf allocator zone(614400) created

hwbuf allocator zone(614400) destroied.

hwbuf allocator zone(614400) created

hwbuf allocator zone(614400) destroied.

hwbuf allocator zone(614400) created

hwbuf allocator zone(614400) destroied.

Labels (3)
Tags (1)
0 Kudos
1 Solution
1,191 Views
MT
NXP Employee
NXP Employee

Tarek, I just tried this on an i.MX6SDP board with the following command-line.

export VSALPHA=1

gst-launch playbin2 uri=file:///

home/linaro/Videos/sample.mp4 video-sink="mfw_isink device=/dev/video16"


I get the same error:


can not create threadmfw_gst_isink_setcaps:1489

but it still plays.

BR

Mark

View solution in original post

0 Kudos
6 Replies
1,192 Views
MT
NXP Employee
NXP Employee

Tarek, I just tried this on an i.MX6SDP board with the following command-line.

export VSALPHA=1

gst-launch playbin2 uri=file:///

home/linaro/Videos/sample.mp4 video-sink="mfw_isink device=/dev/video16"


I get the same error:


can not create threadmfw_gst_isink_setcaps:1489

but it still plays.

BR

Mark

0 Kudos
1,191 Views
Tarek
Senior Contributor I

Hi Mark,

Thank you very much. When I used the same command line you provided it's working fine. I was missing the  export VSALPHA=1

Now I would like to understand which fbdev it's drawing to and which fbdev i should draw my GUI to?

The video is played in the FG plane while I need it be in the BG plane.

That's going to help me a lot.

BR,

Tarek

0 Kudos
1,192 Views
MT
NXP Employee
NXP Employee

Hi Tarek

Have a look at the vssconfig file in /usr/share

The default setting is fb_num =1 which is fb1. If you change this to fb0 it has the interesting effect making the Ubuntu desktop disappear.

Mark

0 Kudos
1,192 Views
LeonardoSandova
Specialist I

You have already reported in

https://bugzilla.yoctoproject.org/show_bug.cgi?id=3781

Send a email to the meta-fsl list for an update.

Leo

0 Kudos
1,192 Views
Tarek
Senior Contributor I

Hi Leonardo,

Yes, I'm still waiting for a solution on Yocto but this post is for Ubuntu.

Unless it's going to be fixed  automatically for both.

Please let me know so I can close this one.

Thanks,

Tarek

0 Kudos
1,192 Views
LeonardoSandova
Specialist I

Oh! Sorry, you are right. No idea why video isink is broken. Perhaps enabling gst debug logs can point us to the problem.

Leo

0 Kudos