[Libav-user] Error in opening a SDP file using libavcodec
Hadi
hadi.hadizadeh at hotmail.com
Fri Jan 10 20:26:15 CET 2014
Hi, I tried to open a SDP file using the following code using libavcodec:
char *url = "foo.sdp";
AVFormatContext *oc = NULL;
avformat_open_input(&oc, url, NULL , NULL);
where the content of "foo.sdp" is as follows:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 55.22.100
m=video 1234 RTP/AVP 96
b=AS:200
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=1
but when I execute this code, I get the following error:
[udp @ 0049e6e0] bind failed: Error number -10048 occurred
Do you know what is the problem, and how I can solve it? Thanks!
More information about the Libav-user
mailing list