I want to read a video stream from a UDP address using libavcodec functions. To
do so, I use the following code:
char *url = udp://127.0.0.1:1000;
AVFormatContext *oc = NULL;
avformat_open_input(oc, url, NULL , NULL);
If we run this code, then function avformat_open_input starts listening on
functions?
From: gri...@yandex.ru
To: libav-user@ffmpeg.org
Date: Sun, 12 Jan 2014 22:38:51 +0600
Subject: Re: [Libav-user] Check an address to see if there is any video
stream on it or not
12.01.2014, 22:23, Hadi hadi.hadiza...@hotmail.com:
I
Hi,
I am trying to open a video stream at a RTP address using the following command:
char *url = rtp://127.0.0.1:1234;
AVFormatContext *oc = NULL;
avformat_open_input(oc, url, NULL , NULL);
But I get the following error:
[rtp @ 028568e0] Unable to receive RTP payload type 96 without an SDP
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