[gst-devel] Problem with AAC elementary streaming with qt player

amitpandya at itimes.com amitpandya at itimes.com
Wed Oct 6 09:10:23 CEST 2010


Hi all,

I am working on the Elementary aac(with ADTS Header) streaming with qt as a client.

my pipeline is as below,

 gst-launch-0.10 -v gstrtpbin name=rtpbin filesrc location=/home/amit/mono/CH1_48000_mono_16bit.pcm blocksize=2048 ! myaacencoder samplerate=48000 nchannels=1 ! audio/mpeg, mpegversion=4, channels=1, rate=48000 ! rtpmp4gpay ! application/x-rtp, media=audio, payload=96, encoding-name=MPEG4-GENERIC, mode=AAC-hbr ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink host=10.60.5.78 port=5000 rtpbin.send_rtcp_src_1 ! udpsink port=5001 sync=false async=false

I am using following sdp file for playback on qt.

v=0
o=- 137338500 1 IN IP4 10.60.5.226
s=RTSP Server
i=N/A
t=0 0
a=tool:LIVE555 Streaming Media v2008.07.24
a=range:npt=now-
a=source-filter: incl IN IP4 * 10.60.5.226
a=rtcp-unicast: reflection
a=range:npt=now-
c=IN IP4 0.0.0.0
a=x-qt-text-nam:RTSP Server
a=x-qt-text-inf:
m=audio 5000 RTP/AVP 96
a=rtpmap:96 mpeg4-generic/48000/1
a=control:track1
a=fmtp:96 streamtype=5;profile-level-id=15;mode=AAC-hbr;config=1188;sizeLength=13;indexLength=3;indexDeltaLength=3;constantDuration=1024

In qt palyer, I am not able to get the aac playback but timecode bar is moving so qt is getting some data.
I think qt is not able to decode the aac stream.
VLC is also showing the same behavior,but if I make "config=NULL" in sdp with that change VLC is able to play the aac stream.

Can anyone tell me what is going wrong here?

Thanks,
Amit Pandya.




More information about the gstreamer-devel mailing list