i.MX6Q: gplay OR "playbin" hangs after displaying the first frame

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

i.MX6Q: gplay OR "playbin" hangs after displaying the first frame

1,714 Views
Tarek
Senior Contributor I

Hi,

I have Nitrogen6x board and running BSP version L3.0.35_1.1.0_121218_source, codecs version IMX_MMCODEC_3.0.5_Bundle and LTIB build.

When using gplay or gst-launch (playbin | playbin2) for playing a file the first frame is displayed then the movie stops forever.

The full version of the gstreamer pipeline works fine. "gst-launch filesrc > aiurdemux > vpudec > mfw_v4lsink" is OK!

This is the output of gplay command:

root@freescale ~$ gplay kungfu.flv

playbin2 is employed!

fsl_player_init(): Successfully initialize!

fsl_player_set_media_location(): filename=kungfu.flv

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]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:///root/kungfu.flv

  Idx File:

       /root/.aiur/.root.kungfu.flv.aidx

  Seekable  : Yes

  Size(byte): 48105594

Movie Info:

  Seekable  : Yes

  Live      : No

  Duration  : 0:02:13.666672000

  ReadMode  : File

  Track     : 2

Track 00 [video_000000] Enabled

  Duration: 0:02:13.666672000

  Language: und

  Mime:

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

       (fraction)500/21, codec_data=(buffer)0000000167640028ac2488078067b01100000300010

       0000300300f1832a00000000168ee32c8b0

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

vpudec versions :smileyhappy:

  plugin: 3.0.5

  wrapper: 1.0.28(VPUWRAPPER_ARM_LINUX Build on Feb  7 2013 16:36:46)

  vpulib: 5.4.10

  firmware: 2.1.8.34588

Track 01 [audio_000000] Enabled

  Duration: 0:02:13.606672000

  Language: und

  Mime:

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

       27576, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)1210

FOUND GST_MESSAGE_TAG!

          codec: H.264/AVC

  language code: und

FOUND GST_MESSAGE_TAG!

container format: MOV/MP4/3GP

FOUND GST_MESSAGE_TAG!

          codec: AAC

  language code: und

        bitrate: 127576

MFW_GST_V4LSINK_PLUGIN 3.0.5 build on Feb  7 2013 16:39:17.

[Stopped  ][Vol=01][00:00:00/5124095:34:33][fps:0]Beep: 3.0.5

Core: AAC decoder Wrapper  build on Nov 29 2012 14:46:28

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

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

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

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

FOUND GST_MESSAGE_TAG!

number of channels: 2

        bitrate: 0

sampling frequency (Hz): 44100

    audio codec: AAC decoder

>>V4L_SINK: Actually buffer status:

  hardware buffer : 9

  software buffer : 0

get GST_MESSAGE_ELEMENT playbin2-stream-changed, uri=(string)file:///root/kungfu.flv;

full screen size:1280x720

[V4L Update Display]: left=0, top=0, width=1280, height=720

fsl_player_play()

FSL_PLAYER_01.00_LINUX build on Feb  7 2013 16:40:26

  [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

[Playing  ][Vol=01][00:00:00/00:02:13][fps:0]

Labels (3)
Tags (3)
0 Kudos
2 Replies

559 Views
LeonardoSandova
Specialist I

One way to see what playbin2 is doing is generating .dot files and then converting to png files. With the png image, you can then compare the manual pipeline and at least figure out why the playbin2/gplay is choosing that particular pipeline. Please check the following document GStreamer miscellaneous

559 Views
karina_valencia
NXP Apps Support
NXP Apps Support

Deactivated user can you help on this case?

0 Kudos