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

Limin Wang lance.lmwang
Sat Feb 28 04:48:17 CET 2009


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/live.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




More information about the ffmpeg-devel mailing list