[streaming] How can I use my own SDP file in Darwin Server?
邓辉 <[email protected]> Mon, 3 Aug 2009 17:47:11 +0800 (CST)
| Newsgroups | gmane.comp.video.videolan.vls.general |
|---|---|
| Message-ID | <[email protected]> |
I am new to stream media development, and I hava a problem confused me so long. I need RTP packets to do some analysis, so I use DarwinServer 5.5.5 to play a mp4 file on my computer, and use VLC on another computer to open a rtsp address like rtsp://192.168.1.65/sample_h264_1mbit.mp4, the VLC can paly the file well. I find a SDP file in directory C:\Program Files\Darwin Streaming Server\Movies, it is like this: v=0 o=QTSS_Play_List 3751694215 3751712641 IN IP4 169.254.25.142 s=C:\Program Files\Darwin Streaming Server\Playlists\untitled\unti@ c=IN IP4 127.0.0.1 b=AS:2097279 t=0 0 a=x-broadcastcontrol:RTSP a=isma-compliance:2,2.0,2 m=video 0 RTP/AVP 96 b=AS:2097151 a=rtpmap:96 H264/90000 a=control:trackID=1 a=cliprect:0,0,480,380 a=framesize:96 380-480 a=fmtp:96 packetization-mode=1;profile-level-id=4D401E;sprop-parameter-sets=J01AHqkYMB73oA==,KM4C+IA= a=mpeg4-esid:201 m=audio 0 RTP/AVP 97 b=AS:127 a=rtpmap:97 mpeg4-generic/48000/2 a=control:trackID=2 a=fmtp:97 profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1190 a=mpeg4-esid:101 As I need audio data encapsulated with LATM format, so i change the line "a=rtpmap:97 mpeg4-generic/48000/2" to "a=rtpmap:97 mp4a-latm/48000/2" and save it. But I find that when I restart the server, the file changes to its former content.! It seems that Darwin Server would generate a SDP file in /movies/ directory, and overwrite it if there was a SDP file in this directory with the same name. When stop the server, the SDP file will be deleted in few seconds. SO, what should I do to encapsulate the audio data in this mp4 file with LATM format in RTP packets? Thanks a lot. _______________________________________________ streaming mailing list To unsubscribe or modify your subscription options: http://mailman.videolan.org/listinfo/streaming