Audio does not work on spaker jack using playbin

Discussion in 'UDOO QUAD' started by siva rajesh, Nov 23, 2017.

  1. siva rajesh

    siva rajesh New Member

    Joined:
    Nov 23, 2017
    Messages:
    1
    Likes Received:
    0
    I am trying to play an audio/video file using gstreamer using downloaded images for udoo quad:
    https://www.udoo.org/docs/Cookbook_Linux/Playing_video_with_GStreamer.html

    I am able to play video and audio through hdmi where as I connect the speakers to the UDoo board speaker jack, audio does not work.
    gst commands I tried:
    gst-launch-1.0 -v -m audiotestsrc ! audioconvert ! audioresample ! autoaudiosink
    gst-launch-1.0 playbin uri=file:/media/SampleVideo_1280x720_5mb.mp4 audio-sink="alsasink device=hw:0,0"

    in any of the above cases, if audio is connected to the HDMI monitor, it works, where as the audio is connected to the Udoo board, it does not work.


    udooer@udoo:/media$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: imxvt1613audio [imx-vt1613-audio], device 0: AC97-analog vt1613-hifi-analog-0 []
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: imxhdmisoc [imx-hdmi-soc], device 0: i.MX HDMI Audio Tx hdmi-hifi-0 []
    Subdevices: 1/1
    Subdevice #0: subdevice #0


    Thanks in Advance
    Jsr
     

Share This Page