[gst-devel] streaming:not getting the audio

sreerenj b bsreerenj at gmail.com
Tue Aug 11 15:27:02 CEST 2009


Hi,

Many streaming issues are solved by the latest commits of Wim.

One more main issue is that,

When streaming with realplayer i am not getting the audio when using
gst-rtsp-server as the streaming server.But for vlc there is no problem for
the audio.
Anyway i am attaching the log in the server side when gst-rtsp-server as the
streaming server and realone player as the streaming clinet.

 ./test-mp4 video.mp4
0:00:00.040282424  6355  0x852d498 ERROR               pyplugin
gstpythonplugin.c:267:pygst_require: the pygst module is not available!
ImportError: No module named pygsts
** Message: listening on port 80
** Message: added new client 0x85332f0 ip 10.0.0.105:1797
** Message: attaching to context 0x8530248
RTSP request message 0x86210fc
 request line:
   method: 'OPTIONS'
   uri:    'rtsp://10.0.0.110:80'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338
(win32)'
   key: 'Supported', value: 'ABD-1.0'
   key: 'ClientChallenge', value: 'cb25d7aff33516370a20a18d4609f590'
   key: 'ClientID', value: 'WinNT_5.1_6.0.14.955_RealPlayer_R41APDF_en_686'
   key: 'CompanyID', value: '4h8TjFJYUf1wuJfhIK7P9Q=='
   key: 'GUID', value: '00000000-0000-0000-0000-000000000000'
   key: 'PlayerStarttime', value: '[11/08/2009:03:51:31 -08:00]'
   key: 'RegionData', value: '0'
 body:
** Message: client 0x85332f0: received a request
RTSP response message 0xbfac1a14
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Public', value: 'OPTIONS, DESCRIBE, GET_PARAMETER, PAUSE, PLAY,
SETUP, SET_PARAMETER, TEARDOWN'
   key: 'Server', value: 'GStreamer RTSP server'
 body: length 0
RTSP request message 0x86210fc
 request line:
   method: 'DESCRIBE'
   uri:    'rtsp://10.0.0.110:80/test.mp4'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Accept', value: 'application/sdp'
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338
(win32)'
   key: 'Bandwidth', value: '524300'
   key: 'ClientID', value: 'WinNT_5.1_6.0.14.955_RealPlayer_R41APDF_en_686'
   key: 'GUID', value: '00000000-0000-0000-0000-000000000000'
   key: 'Language', value: 'en, *'
   key: 'RegionData', value: '0'
   key: 'Require', value: 'com.real.retain-entity-for-setup'
   key: 'SupportsMaximumASMBandwidth', value: '1'
 body:
** Message: client 0x85332f0: received a request
** Message: found media 0x8602640 for url abspath /test.mp4
** Message: enter mainloop
** Message: found stream 0 with payloader 0x865b0e8
** Message: found stream 1 with payloader 0x865f0d0
** Message: constructed media 0x8664000 for url /test.mp4
** Message: preparing media 0x8664000
** Message: 0x8664000: got message type tag
** Message: 0x8664000: got message type tag
** Message: 0x8664000: got message type tag
** Message: stream 0x8664c60 received caps 0x86b6080, application/x-rtp,
media=(string)audio, clock-rate=(int)8000,
encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1,
streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr,
config=(string)0d88, sizelength=(string)13, indexlength=(string)3,
indexdeltalength=(string)3, ssrc=(guint)401391882, payload=(int)97,
clock-base=(guint)532767053, seqnum-base=(guint)36732
** Message: stream 0x8664c60 received caps 0x86b6080, application/x-rtp,
media=(string)audio, clock-rate=(int)8000,
encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1,
streamtype=(string)5, profile-level-id=(string)1, mode=(string)AAC-hbr,
config=(string)0d88, sizelength=(string)13, indexlength=(string)3,
indexdeltalength=(string)3, ssrc=(guint)401391882, payload=(int)97,
clock-base=(guint)532767053, seqnum-base=(guint)36732
** Message: stream 0x865ee50 received caps 0x86a5380, application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
profile-level-id=(string)1,
config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463,
ssrc=(guint)1680269157, payload=(int)96, clock-base=(guint)3055693477,
seqnum-base=(guint)6322
** Message: stream 0x865ee50 received caps 0x86a5380, application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
profile-level-id=(string)1,
config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463,
ssrc=(guint)1680269157, payload=(int)96, clock-base=(guint)3055693477,
seqnum-base=(guint)6322
** Message: 0x8664000: got message type async-done
** Message: stats: position 0:00:00.000000000, duration 0:00:31.533333333
** Message: object 0x8664000 is prerolled
RTSP response message 0xbfac19c0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Base', value: 'rtsp://10.0.0.110:80/test.mp4/'
   key: 'Server', value: 'GStreamer RTSP server'
 body: length 577
00000000 (0x86c64c8): 76 3d 30 0d 0a 6f 3d 2d 20 31 31 38 38 33 34 30
v=0..o=- 1188340
00000010 (0x86c64d8): 36 35 36 31 38 30 38 38 33 20 31 20 49 4e 20 49
656180883 1 IN I
00000020 (0x86c64e8): 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73 3d  P4
127.0.0.1..s=
00000030 (0x86c64f8): 53 65 73 73 69 6f 6e 20 73 74 72 65 61 6d 65 64
Session streamed
00000040 (0x86c6508): 20 77 69 74 68 20 47 53 74 72 65 61 6d 65 72 0d   with
GStreamer.
00000050 (0x86c6518): 0a 69 3d 72 74 73 70 2d 73 65 72 76 65 72 0d 0a
.i=rtsp-server..
00000060 (0x86c6528): 65 3d 4e 4f 4e 45 0d 0a 74 3d 30 20 30 0d 0a 61
e=NONE..t=0 0..a
00000070 (0x86c6538): 3d 74 6f 6f 6c 3a 47 53 74 72 65 61 6d 65 72 0d
=tool:GStreamer.
00000080 (0x86c6548): 0a 61 3d 74 79 70 65 3a 62 72 6f 61 64 63 61 73
.a=type:broadcas
00000090 (0x86c6558): 74 0d 0a 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 30
t..a=range:npt=0
000000a0 (0x86c6568): 2e 30 30 30 30 30 30 2d 33 31 2e 35 33 33 33 33
.000000-31.53333
000000b0 (0x86c6578): 33 0d 0a 6d 3d 76 69 64 65 6f 20 30 20 52 54 50
3..m=video 0 RTP
000000c0 (0x86c6588): 2f 41 56 50 20 39 36 0d 0a 63 3d 49 4e 20 49 50  /AVP
96..c=IN IP
000000d0 (0x86c6598): 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 61 3d 72  4
127.0.0.1..a=r
000000e0 (0x86c65a8): 74 70 6d 61 70 3a 39 36 20 4d 50 34 56 2d 45 53
tpmap:96 MP4V-ES
000000f0 (0x86c65b8): 2f 39 30 30 30 30 0d 0a 61 3d 63 6f 6e 74 72 6f
/90000..a=contro
00000100 (0x86c65c8): 6c 3a 73 74 72 65 61 6d 3d 30 0d 0a 61 3d 66 6d
l:stream=0..a=fm
00000110 (0x86c65d8): 74 70 3a 39 36 20 70 72 6f 66 69 6c 65 2d 6c 65  tp:96
profile-le
00000120 (0x86c65e8): 76 65 6c 2d 69 64 3d 31 3b 63 6f 6e 66 69 67 3d
vel-id=1;config=
00000130 (0x86c65f8): 30 30 30 30 30 31 62 30 30 31 30 30 30 30 30 31
000001b001000001
00000140 (0x86c6608): 62 35 38 39 31 33 30 30 30 30 30 31 30 30 30 30
b589130000010000
00000150 (0x86c6618): 30 30 30 31 32 30 30 30 63 34 38 64 38 38 30 30
00012000c48d8800
00000160 (0x86c6628): 66 35 30 61 30 34 31 65 31 34 36 33 0d 0a 6d 3d
f50a041e1463..m=
00000170 (0x86c6638): 61 75 64 69 6f 20 30 20 52 54 50 2f 41 56 50 20  audio
0 RTP/AVP
00000180 (0x86c6648): 39 37 0d 0a 63 3d 49 4e 20 49 50 34 20 31 32 37
97..c=IN IP4 127
00000190 (0x86c6658): 2e 30 2e 30 2e 31 0d 0a 61 3d 72 74 70 6d 61 70
.0.0.1..a=rtpmap
000001a0 (0x86c6668): 3a 39 37 20 4d 50 45 47 34 2d 47 45 4e 45 52 49  :97
MPEG4-GENERI
000001b0 (0x86c6678): 43 2f 38 30 30 30 2f 31 0d 0a 61 3d 63 6f 6e 74
C/8000/1..a=cont
000001c0 (0x86c6688): 72 6f 6c 3a 73 74 72 65 61 6d 3d 31 0d 0a 61 3d
rol:stream=1..a=
000001d0 (0x86c6698): 66 6d 74 70 3a 39 37 20 73 74 72 65 61 6d 74 79
fmtp:97 streamty
000001e0 (0x86c66a8): 70 65 3d 35 3b 70 72 6f 66 69 6c 65 2d 6c 65 76
pe=5;profile-lev
000001f0 (0x86c66b8): 65 6c 2d 69 64 3d 31 3b 6d 6f 64 65 3d 41 41 43
el-id=1;mode=AAC
00000200 (0x86c66c8): 2d 68 62 72 3b 63 6f 6e 66 69 67 3d 30 64 38 38
-hbr;config=0d88
00000210 (0x86c66d8): 3b 73 69 7a 65 6c 65 6e 67 74 68 3d 31 33 3b 69
;sizelength=13;i
00000220 (0x86c66e8): 6e 64 65 78 6c 65 6e 67 74 68 3d 33 3b 69 6e 64
ndexlength=3;ind
00000230 (0x86c66f8): 65 78 64 65 6c 74 61 6c 65 6e 67 74 68 3d 33 0d
exdeltalength=3.
00000240 (0x86c6708): 0a
.
RTSP request message 0x86210fc
 request line:
   method: 'SETUP'
   uri:    'rtsp://10.0.0.110:80/test.mp4/stream=0'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode=play'
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338
(win32)'
 body:
** Message: client 0x85332f0: received a request
** Message: reusing cached media 0x8664000
** Message: manage new media 0x8664000 in session 0x86b51b0
RTSP response message 0xbfac19a4
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Transport', value:
'RTP/AVP/TCP;unicast;interleaved=0-1;mode="PLAY"'
   key: 'Server', value: 'GStreamer RTSP server'
   key: 'Session', value: 'qtgoaffusblnljgu'
 body: length 0
RTSP request message 0x86210fc
 request line:
   method: 'SETUP'
   uri:    'rtsp://10.0.0.110:80/test.mp4/stream=1'
   version: '1.0'
 headers:
   key: 'CSeq', value: '4'
   key: 'Transport', value: 'RTP/AVP/TCP;unicast;mode=play'
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338
(win32)'
   key: 'Session', value: 'qtgoaffusblnljgu'
 body:
** Message: client 0x85332f0: received a request
** Message: watching session 0x8697390
RTSP response message 0xbfac19a4
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '4'
   key: 'Transport', value:
'RTP/AVP/TCP;unicast;interleaved=2-3;mode="PLAY"'
   key: 'Server', value: 'GStreamer RTSP server'
   key: 'Session', value: 'qtgoaffusblnljgu'
 body: length 0
RTSP request message 0x86210fc
 request line:
   method: 'SET_PARAMETER'
   uri:    'rtsp://10.0.0.110:80/test.mp4'
   version: '1.0'
 headers:
   key: 'CSeq', value: '5'
   key: 'Subscribe', value:
'stream=0;rule=0,stream=0;rule=1,stream=1;rule=0,stream=1;rule=1'
   key: 'Session', value: 'qtgoaffusblnljgu'
 body:
** Message: client 0x85332f0: received a request
RTSP response message 0xbfac18a0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '5'
   key: 'Server', value: 'GStreamer RTSP server'
 body: length 0
RTSP request message 0x86210fc
 request line:
   method: 'PLAY'
   uri:    'rtsp://10.0.0.110:80/test.mp4'
   version: '1.0'
 headers:
   key: 'CSeq', value: '6'
   key: 'User-Agent', value: 'RealMedia Player HelixDNAClient/10.0.1.338
(win32)'
   key: 'Session', value: 'qtgoaffusblnljgu'
   key: 'Range', value: 'npt=0-31.533000'
   key: 'Bandwidth', value: '524300'
 body:
** Message: client 0x85332f0: received a request
** Message: seeking to 99:99:99.999999999 - 0:00:31.533000946
** Message: done seeking 1
** Message: prerolled again
** Message: stats: position 0:00:01.000000000, duration 0:00:31.533333333
RTSP response message 0xbfac1988
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '6'
   key: 'RTP-Info', value: 'url=rtsp://
10.0.0.110:80/test.mp4/stream=0;seq=6329;rtptime=3055693477, url=rtsp://
10.0.0.110:80/test.mp4/stream=1;seq=36733;rtptime=3704033465'
   key: 'Range', value: 'npt=1.000000-31.533333'
   key: 'Server', value: 'GStreamer RTSP server'
   key: 'Session', value: 'qtgoaffusblnljgu'
 body: length 0
** Message: going to state PLAYING media 0x8664000
** Message: adding TCP 10.0.0.105
** Message: adding TCP 10.0.0.105
** Message: active 2 media 0x8664000
** Message: state PLAYING media 0x8664000
** Message: 0x8664000: got message type async-done
** Message: 0x8664000: got message type new-clock
RTSP request message 0x86210fc
 request line:
   method: 'SET_PARAMETER'
   uri:    'rtsp://10.0.0.110:80/test.mp4'
   version: '1.0'
 headers:
   key: 'CSeq', value: '7'
   key: 'Session', value: 'qtgoaffusblnljgu'
 body:
** Message: client 0x85332f0: received a request
RTSP response message 0xbfac18a0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '7'
   key: 'Server', value: 'GStreamer RTSP server'
 body: length 0
^C
[root at localhost examples]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090811/693e95bd/attachment.htm>


More information about the gstreamer-devel mailing list