[Libav-user] C-Sample code for an RTP Video streaming Server
robotanarchy at bingo-ev.de
Sat Apr 4 01:36:10 CEST 2015
I'm just getting started with using libav and it is hard to find any
sample code, except for what is in the doc/examples folder of the
source tree .
More specifically, I'd like to create a RTP video streaming server in C.
The closest thing to an example code was this  on stackoverflow -
but it is said not to work well and also it doesn't compile with the
I've also tried to fork ffserver, but it also won't compile outside of
the ffmpeg source tree. Its main file, ffserver.c , has this infront
of most of the header files:
// FIXME those are internal headers, ffserver _really_
shouldn't use them
...so this also doesn't seem to be a good starting point either. I'm
wondering if such an RTP server is even possible without these internal
If it is, can someone please provide some readable example code, that
does nothing but serve a video over RTP?
More information about the Libav-user