Gstreamer is not able to play audio stream

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

Gstreamer is not able to play audio stream

1,469 次查看
venkateshm
Contributor I

Hi

     I am trying to intergrate wifi display (or Miracast ) on imx6Q SDP board with ubuntu.My Nexus 4 phone sends data in MPEGTS container,  which consist h264 video and AAC audio, for playing that I am using gstreamer-0.10.35 .My pipeline is

    

     pipeline = gst_parse_launch ("udpsrc port=1028 caps=\"application/x-rtp\" ! gstrtpptdemux  ! decodebin name=demux demux. ! queue  max-size-time=0 max-size-buffers=0 max-size-bytes=0  ! ffmpegcolorspace ! mfw_v4lsink sync=false async=false demux. !  audioconvert ! alsasink sync=false async=false",NULL);

    

    decodebin is able to detect two tracks one for audio and one for video(kindly check below log), but it is not able to play audio most of the times.

    

     Movie Info:

    Seekable  : No

    Live      : Yes

    Duration  : 0:00:00.000000000

    ReadMode  : File

    AutoRetimestamp: 2000ms

    programs    : 1

    Track     : 2

0:00:18.833943341 16507   0x2bca38 INFO               aiurdemux aiurdemux.c:2744:aiurdemux_parse_video: Create video pad video_0011011

Track 00 [video_0011011] Enabled

    ppid: 1, ppid 4113

    Duration: 0:00:00.000000000

    Language: und

    Mime:

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

          (fraction)30/1, codec_data=(buffer)0000016742c01fe900a00b7403c2211a8000

Track 01 [audio_0011100] Enabled

    ppid: 1, ppid 4352

    Duration: 0:00:00.000000000

    Language: und

    Mime:

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

          30500, framed=(boolean)true

标签 (4)
标记 (2)
0 项奖励
回复
2 回复数

1,135 次查看
venkateshm
Contributor I

I tried with faad,but result was same.

0 项奖励
回复

1,135 次查看
joanxie
NXP TechSupport
NXP TechSupport

refer to your message, audio is mpeg audio? did you try to add aac decoder to help decode the audio?

0 项奖励
回复