Hi,

I'm trying to understand how ffmpeg works by reading the code of
"ffplay.c". I just noticed that it uses two headers, "audioconvert.h"
and "rtsp.h", which are not installed by "make install", but
"audioconvert.o" and "rtsp.o" are linked into libavcodec and
libavformat respectively. If I try to build ffplay.c outside of ffmpeg
source tree, it fails to compile:

error: libavformat/rtsp.h: No such file or directory
error: libavcodec/audioconvert.h: No such file or directory
error: expected specifier-qualifier-list before 'AVAudioConvert'

For "audioconvert.h", I wonder if either (1) this header is internal
to ffmpeg and apps shouldn't use them; or (2) this header is not
really internal to ffmpeg but isn't part of the API (yet?). Should I
expected something like this:

libavformat/Makefile
-HEADERS = avformat.h avio.h
+HEADERS = avformat.h avio.h audioconvert.h

For "rtsp.h", I don't really get why it is included in "ffplay.c". I
initially though of the flag CONFIG_RTSP_DEMUXER, but this flag is
defined in config.h instead.

I'm quite new to ffmpeg, sorry if these are stupid questions.

-- Giovanni
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to