gplay errors on i.mx6q (Min Profile from LTIB)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

gplay errors on i.mx6q (Min Profile from LTIB)

跳至解决方案
2,281 次查看
subodhharmalkar
Contributor II

Hello,

 

I used LTIB to create Min Profile along with IMX_ codecs for gst* and libfsl*. Build went fine.

 

My display was working with "FSL Gnome profile". It doesn't show anything with Min profile.

"/unit_tests/autorun-vpu.sh" was running with "FSL Gnome", it runs well with "Min Profile"

 

But in Min Profile, "gplay ./akiyo.mp4" does not display anything and gives error "autovideosink is missing"?

I have attached the complete log here. Please help.

 

Thanks a lot.

Original Attachment has been moved to: minicom.cap.zip

标签 (2)
1 解答
1,534 次查看
daiane_angolini
NXP Employee
NXP Employee

autovideosink is from gst-plugin-good.

Please select it from LTIB package list

在原帖中查看解决方案

4 回复数
1,534 次查看
FranciscoCarril
Contributor V

Hello!

Could you post your file? if it is not too big.

or send a link where we can access it.

0 项奖励
回复
1,534 次查看
subodhharmalkar
Contributor II

Hi Fransisco,

I attached minicom.cap (which got zipped for some reason) to the original post. I am including output here (hope it shows well). The mp4 file is /unit_tests/akiyo.mp4, so if you may have it already. Looks like "autovideosink" plugin is missing. I don't know where / how to get it.

Thanks for looking into this.

Subodh

--

arm-none-linux-gnueabi-gcc (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) 4.6.2 20110630 (prerelease)

root filesystem built on Wed, 28 Nov 2012 21:25:17 -0500

Freescale Semiconductor, Inc.

freescale login: root

login[2691]: root login on 'ttymxc1'

root@freescale ~$ cd /unit_tests

root@freescale /unit_tests$ ./autorun-vpu.sh

Checking for devnode: /dev/mxc_vpu

autorun-vpu.sh: PASS devnode found: /dev/mxc_vpu

Running test case: ./mxc_vpu_test.out -C config_dec

[INFO]    VPU test program built on Nov 28 2012 21:23:10

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

[INFO]    VPU firmware version: 2.1.5_r32515

[INFO]    VPU library version: 5.4.6

[INFO]    Format: STD_MPEG4

[INFO]    MPEG4 class: MPEG4

[INFO]    Input file "akiyo.mp4" opened.

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

[INFO]    Mpeg4 Profile: 0 Level: 3 Interlaced: 0

[INFO]    Aspect Ratio Table index: 1

[INFO]    Decoder: width = 176, height = 144, frameRateRes = -1, frameRateDiv = -1, count = 4

[INFO]    CROP left/top/right/bottom 0 0 0 0

[INFO]    Display fps will be 0

[INFO]    v4l output to /dev/video17

[INFO]    Display to 1152 864, top offset 0, left offset 0

[INFO]    150 frames took 4904829 microseconds

[INFO]    dec fps = 2502.13

[INFO]    total fps= 30.58

autorun-vpu.sh: PASS test case: ./mxc_vpu_test.out -C config_dec

autorun-vpu.sh: Exiting PASS

root@freescale /unit_tests$ gplay ./akiyo.mp4

playbin2 is employed!

fsl_player_init(): Successfully initialize!

fsl_player_set_media_location(): filename=./akiyo.mp4

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0][INFO]    Product Info: i.MX6Q/D/S

vpudec versions :)

    plugin: 3.0.1

    wrapper: 1.0.24(VPUWRAPPER_ARM_LINUX Build on Nov 28 2012 21:23:44)

    vpulib: 5.4.6

    firmware: 2.1.5.32515

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

state change failed from 2 to 4

try to play failed

get GST_MESSAGE_ELEMENT missing-plugin, type=(string)element, detail=(string)autovideosink, name=(string)"GStreamer\ element\ autovideosink";

Debug: gstplaysink.c(1340): gen_video_chain (): /GstPlayBin2:playbin0/GstPlaySink:playsink0

Error: The autovideosink element is missing.

FSL_PLAYER_01.00_LINUX build on Nov 28 2012 21:25:07

    [h]display the operation Help

    [p]Play

    [s]Stop

    [e]Seek

    [a]Pause when playing, play when paused

    [v]Volume

    [m]Switch to mute or not

    [>]Play next file

    [<]Play previous file

    [r]Switch to repeated mode or not

    [f]Set full screen or not

    [z]resize the width and height

    [t]Rotate

    [c]Setting play rate

    [i]Display the metadata

    [x]eXit

fsl_player_stop()

FSL_PLAYER_UI_MSG_INTERNAL_ERROR: internal error message received.

fsl_player_stop()

player_exit(): No more multimedia files, exit.

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]g_main_loop_thread_fun() quit!

fsl_player_deinit

root@freescale /unit_tests$


0 项奖励
回复
1,535 次查看
daiane_angolini
NXP Employee
NXP Employee

autovideosink is from gst-plugin-good.

Please select it from LTIB package list

1,534 次查看
subodhharmalkar
Contributor II

Daiane, thanks a bunch. My mistake that I missed that step. Subodh