[libav-tools] sdp file generated by avconv & avserver

Simon Dirlik ahbarnasha at gmail.com
Fri Aug 10 14:42:49 CEST 2012


when I try to restream a RTSP stream, the following sdp file is generated.
Some applications are now complaining that there is no
sprop-parameter-sets field.
The first RTSP stream comes from an ip camera which only stream in
mpeg part2 format, I need h264 which is why I am using avconv.

Here is the command I tried
avconv -i rtsp://ip/file -c:v libx264 -q:v 1 -an -r:v 25 -f rtp

I also tried using avserver, here is the config:
<Stream test.sdp>
Format rtp
Feed feed1.ffm
VideoCodec libx264
VideoFrameRate 25
VideoBitRate 200
VideoSize 640x480

This is the sdp file produced
o=- 0 0 IN IP4
s=No Title
c=IN IP4
t=0 0
a=tool:libavformat 53.21.0
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1

Thanks in advance,

More information about the libav-tools mailing list