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

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


Hello,

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
rtp://127.0.0.1:8554/test.sdp

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
NoAudio
</Stream>

This is the sdp file produced
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Title
c=IN IP4 0.0.0.0
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
a=control:streamid=0

Thanks in advance,
AhBarnasha


More information about the libav-tools mailing list