[meta-freescale] video playback failed with "app" user

Ray·Bloodworth k870818319 at outlook.com
Sat Dec 27 02:07:50 PST 2014


Hi, Alexander

  I got some logs with "GST_DEBUG=*:3" and these are test case:

  1)sh-4.3$ GST_DEBUG=*:3 gst-launch-1.0 playbin uri=file:///test.mp3 audio-sink="pulsesink"   -->audio output: ok
  2)sh-4.3$ GST_DEBUG=*:3 gst-launch-1.0 playbin uri=file:///test.ogv audio-sink="pulsesink"   -->audio output: ok, video output:ok
  3)sh-4.3$ GST_DEBUG=*:3 gst-launch-1.0 playbin uri=file:///test.mp4 audio-sink="pulsesink"   -->audio output: ng, video output:ok
  4)Using these command with "root" user  -->audio output: ok, video output:ok

  This issue is so weird...

sh-4.3$ GST_DEBUG=*:3 gst-launch-1.0 playbin uri=file:///004-ng-bind_.mp4 audio-sink="pulsesink" 
Setting pipeline to PAUSED ... 
0:00:00.112480666 740 0x4cc0e0 WARN basesrc imx6/bsp/fsl-community-bsp-master/build-wayland/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.1-r0/gstreamer-1.4.1/libs/gst/base/gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet 
0:00:00.115873000 740 0x4cc0e0 WARN basesrc imx6/bsp/fsl-community-bsp-master/build-wayland/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.1-r0/gstreamer-1.4.1/libs/gst/base/gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet 
Pipeline is PREROLLING ... 
Aiur: 4.0.1 
Core: MPEG4PARSER_06.09.00 build on Apr 16 2014 02:12:18 
file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.2 
Track 00 [video_0] Enabled 
Duration: 0:03:47.483008000 
Language: und 
Mime video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)1104, height=(int)622, framerate=(fraction)30/1, codec_data=(buffer)0164001fffe1001f6764001facc86011413febff0451045010000003001000000303c8f18319e001000568e9bb2c8b0000001462747274 
Track 01 [audio_0] Enabled 
Duration: 0:03:47.694000000 
Language: und 
Mime audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)0, stream-format=(string)raw, codec_data=(buffer)139056e5a54800 
0:00:00.457089000 740 0x71428cc0 WARN aiurdemux imx6/bsp/fsl-community-bsp-master/build-wayland/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst1.0-fsl-plugin/4.0.1-r0/gst1.0-fsl-plugins-4.0.1/plugins/aiurdemux/aiurdemux.c:2865:aiurdemux_send_stream_newsegment: Pad video: Send newseg 0:00:00.000000000 first buffer 0:00:00.000000000 
0:00:00.459851000 740 0x71428cc0 WARN aiurdemux imx6/bsp/fsl-community-bsp-master/build-wayland/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst1.0-fsl-plugin/4.0.1-r0/gst1.0-fsl-plugins-4.0.1/plugins/aiurdemux/aiurdemux.c:2865:aiurdemux_send_stream_newsegment: Pad audio: Send newseg 0:00:00.000000000 first buffer 0:00:00.000000000 
Beep: 4.0.1 
Core: AAC decoder Wrapper build on Apr 22 2014 09:43:50 
file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm12_elinux.so.3 
CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_CORTEX-A8 build on Jun 19 2014 18:30:32. 
[INFO] Product Info: i.MX6Q/D/S 
[INFO] bitstreamMode 1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0 
0:00:00.812515000 740 0x70b03000 FIXME playbin imx6/bsp/fsl-community-bsp-master/build-wayland/tmp/work/cortexa9-vfp-neon-mx6qdl-poky-linux-gnueabi/gstreamer1.0-plugins-base/1.4.1-r0/gst-plugins-base-1.4.1/gst/playback/gstplaybin2.c:2942:_uridecodebin_event_probe:<uridecodebin0:src_1> Consider implementing group-id handling on stream-start event 
0:00:00.813396000 740 0x70b02cf0 FIXME playbin imx6/bsp/fsl-community-bsp-master/build-wayland/tmp/work/cortexa9-vfp-neon-mx6qdl-poky-linux-gnueabi/gstreamer1.0-plugins-base/1.4.1-r0/gst-plugins-base-1.4.1/gst/playback/gstplaybin2.c:2942:_uridecodebin_event_probe:<uridecodebin0:src_0> Consider implementing group-id handling on stream-start event 
Pipeline is PREROLLED ... 
Setting pipeline to PLAYING ... 
New clock: GstPulseSinkClock 
0:00:01.303078000 740 0x70b02cf0 WARN videodecoder imx6/bsp/fsl-community-bsp-master/build-wayland/tmp/work/cortexa9-vfp-neon-mx6qdl-poky-linux-gnueabi/gstreamer1.0-plugins-base/1.4.1-r0/gst-plugins-base-1.4.1/gst-libs/gst/video/gstvideodecoder.c:2505:gst_video_decoder_prepare_finish_frame:<imxvpudec0> decreasing timestamp (0:00:00.200000000 < 0:00:00.233333000) 
^Chandling interrupt. 
Interrupt: Stopping pipeline ... 
Execution ended after 0:00:09.722289001 
Setting pipeline to PAUSED ...





Ray·Bloodworth

 
From: Alexander Shashkevych
Date: 2014-12-24 18:14
To: Ray·Bloodworth
CC: Otavio Salvador; meta-freescale at yoctoproject.org
Subject: Re: Re: [meta-freescale] video playback failed with "app" user
> Hi, Alexander
>     Thanks for you help!
>
>     Video playback is ok now. After adding 'app' user to 'audio' group,
> audio output is still not working with user "app"...
>
>     Audio stream is routed to pulseaudio sink by media player.
>
>     Could you give me any advise?
 
We need more info about what you are doing and observing. It's hard to
help you without knowing that. Describe your setup (software you are
using, versions, running processes), steps, commands and what is on
output when you run gstreamer, so we could try to help you.
 
For example you can get running processes with 'ps' command. To get
warnings/errors from any gstreamer based app run them with set
GST_DEBUG variable like this:
 
  GST_DEBUG=*:3 gst-play-1.0 myaudio.mp3
 
And provide outputs to us.
 
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20141227/fdea635a/attachment.html>


More information about the meta-freescale mailing list