[FFmpeg-devel] SDP file generated from ffmpeg RTP muxer does not work with DSS, why?

habla man st3amco0ker
Sat Feb 28 10:35:29 CET 2009


I can confirm that the test.sdp file works perfectly with ffplay or totem
locally. However, the audio does not work. When the sdp is fetched to DSS,
remote QT player and VLC cannot reach it @ rstp://x.x.x.x/test.sdp

On Fri, Feb 27, 2009 at 8:42 PM, habla man <st3amco0ker at gmail.com> wrote:

> With the "SDP:" line on top, QT or VLC could attempt to "negotiate" with
> DSS but disconnect eventually. Without the "SDP:" line, QT or VLC cannot
> connect at all. If I try to play the /media/video/test.sdp file with FFPLAY
> locally, it works BUT sometimes it doesn't. Thanks.
>
> On Fri, Feb 27, 2009 at 7:48 PM, Limin Wang <lance.lmwang at gmail.com>wrote:
>
>> Hi,
>>
>> * habla man <st3amco0ker at gmail.com> [2009-02-27 11:00:31 -0800]:
>>
>> > ffmpeg -re -an -i $input $res $video \
>> > -flags +global_header -vglobal 1 -title "TEST" \
>> > -f rtp rtp://127.0.0.1:55555 \
>> > -vn $audio \
>> > -f rtp rtp://127.0.0.1:44444 -newaudio \
>> > > "/media/video/test.sdp"
>>
>> >
>> >
>> > SDP:
>> > v=0
>> > o=- 0 0 IN IP4 127.0.0.1
>> > t=0 0
>> > s=TEST
>> > a=tool:libavformat 52.30.1
>> > m=video 55555 RTP/AVP 96
>> > c=IN IP4 127.0.0.1
>> > b=AS:512
>> > a=rtpmap:96 H264/90000
>> > a=fmtp:96 packetization-mode=1;
>> >
>> sprop-parameter-sets=BgX//wbcRem95tlIt5Ys2CDZI+7veDI2NCAtIGNvcmUgNjYgcjExMTUgMTE4NjNhYyAtIEgu
>> > [LENGTH CUTOFF]
>> > m=audio 44444 RTP/AVP 96
>> > c=IN IP4 127.0.0.1
>> > b=AS:96
>> > a=rtpmap:96 MPEG4-GENERIC/48000/2
>> > a=fmtp:96
>> >
>> profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;
>> > config=1190
>> >
>> > no response from rstp://192.168.1.50/test.sdp. What's the problem here?
>>
>> Please remove the first line "SDP:" from your sdp file. It'll confuse
>> DSS.
>>
>>
>> Thanks,
>> Limin
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>>
>
>




More information about the ffmpeg-devel mailing list