[meta-freescale] audio/video play failed with gstreamer-1.0

Daiane Angolini daiane.list at gmail.com
Fri Feb 13 03:54:14 PST 2015


On Fri, Feb 13, 2015 at 7:47 AM, RayBloodworth <k870818319 at outlook.com> wrote:
> Hi, all
>
>
>
>   I have tested audio/video playback using gstreamer-1.0 plugins with weston
> image, bsp version is 3.10.53_ga. But audio/video play failed.

Have you tried to use a different gst cmd line? For example, one to
with decodebin and only for audio?

Or even better, one explicit cmd line with all hard coded plugins?

(only to make sure, please, don't take me wrong, are you sure the
error is not due to the high debug level?... just in case....)

Daiane
>
>
>   platform:MCIMX6Q-SDP
>
>
>
>     Steps:
>
>     1) setup build env and modify local.conf.
>
>
>
> MACHINE=imx6qsabresd source fsl-setup-release.sh –b
> build-imx6qsabresd-wayland-sfp -e wayland
>
>
>
> local.conf:
>
> +DEFAULTTUNE_mx6 = "cortexa9-neon"
> +DISTRO_FEATURES_remove = "x11 directfb "
> +IMAGE_INSTALL_append = " gstreamer1.0 gst1.0-fsl-plugin libfslcodec
> libfslparser libfslvpuwrap gstreamer1.0-plugins-base
> gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-imx
> packagegroup-fsl-gstreamer1.0 "
>
>
>
>      2)build image:
>
>          bitbake core-image-weston
>
>
>
>     3)deploy image to sdcard and test audio/video playback.
>
>
>
>     result:
>
>     video playback:failed.     audio playback: no sound output.
>
>
>
>      video playback log:
>
>     sh-4.3# GST_DEBUG=*:3 gst-launch-1.0 playbin
> uri=file:///004-ng-bind_.mp4
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
>
> ====== AIUR: 4.0.2 build on Feb 5 2015 18:11:19. ======
> Core: MPEG4PARSER_06.09.08 build on Nov 25 2014 11:46:26
> file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.2
> 0:00:00.118049334 844 0x76546000 ERROR aiurdemux
> aiurdemux.c:1165:aiurdemux_loop_state_init:<aiurdemux0> Failed to create fsl
> parser! ret=-1
> 0:00:00.118234667 844 0x76546000 WARN aiurdemux
> aiurdemux.c:991:aiurdemux_pull_task: pausing task, reason error
> 0:00:00.118343000 844 0x76546000 WARN aiurdemux
> aiurdemux.c:998:aiurdemux_pull_task:<aiurdemux0> error: streaming stopped,
> reason error, state 1
> ERROR: from element
> /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAiurDemux:aiurdemux0:
> GStreamer encountered a general stream error.
> Additional debug info:
> aiurdemux.c(998): aiurdemux_pull_task ():
> /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAiurDemux:aiurdemux0:
> streaming stopped, reason error, state 1
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
>
>
> audio playback log:
>
> sh-4.3# GST_DEBUG=*:3 gst-launch-1.0 playbin uri=file:///2.mp3
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> 0:00:00.235737333 848 0x76626260 WARN pulse
> pulsesink.c:591:gst_pulseringbuffer_open_device:<pulsesink0> error: Failed
> to connect: Connection refused
> 0:00:00.236397667 848 0x76626260 WARN playbin
> gstplaybin2.c:4546:autoplug_select_cb:<playbin0> Could not activate sink
> pulsesink
> 0:00:00.456988333 848 0x76626260 WARN alsa
> /home/klx/work/fsl-imx6/bsp/fsl-arm-offical/build-imx6qsabresd-wayland-sfp/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/conf.c:4694:snd_config_expand:
> alsalib error: Unknown parameters {AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
> 0:00:00.457230000 848 0x76626260 WARN alsa
> /home/klx/work/fsl-imx6/bsp/fsl-arm-offical/build-imx6qsabresd-wayland-sfp/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:snd_pcm_open_noupdate:
> alsalib error: Unknown PCM default:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
> 0:00:00.465039667 848 0x76626260 WARN pulse
> pulsesink.c:591:gst_pulseringbuffer_open_device:<pulsesink1> error: Failed
> to connect: Connection refused
> 0:00:00.465955333 848 0x76626260 WARN playbin
> gstplaybin2.c:4401:autoplug_select_cb:<playbin0> Could not activate sink
> pulsesink
> 0:00:00.487158333 848 0x76626260 WARN alsa
> /home/klx/work/fsl-imx6/bsp/fsl-arm-offical/build-imx6qsabresd-wayland-sfp/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/conf.c:4694:snd_config_expand:
> alsalib error: Unknown parameters {AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
> 0:00:00.487441333 848 0x76626260 WARN alsa
> /home/klx/work/fsl-imx6/bsp/fsl-arm-offical/build-imx6qsabresd-wayland-sfp/tmp/work/cortexa9-vfp-neon-poky-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:snd_pcm_open_noupdate:
> alsalib error: Unknown PCM default:{AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
>
> ====== BEEP: 4.0.2 build on Feb 5 2015 18:11:39. ======
> Core: MP3 decoder Wrapper build on Mar 21 2014 15:04:50
> file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm12_elinux.so.3
> CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.00_CORTEX-A8 build on Apr 10 2014
> 15:26:15.
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstAudioSinkClock
> ^Chandling interrupt.
> Interrupt: Stopping pipeline ...
> Execution ended after 0:00:20.665510669
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
>
>
>
>
>
> ________________________________
> Ray·Bloodworth
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


More information about the meta-freescale mailing list