[FFmpeg-devel] [PATCH] Realmedia / RTSP (RDT)

Ronald S. Bultje rsbultje
Sun Dec 30 10:57:03 CET 2007


Hi Francois,

On Dec 29, 2007 6:03 PM, Aurelien Jacobs <aurel at gnuage.org> wrote:

> Linking won't fail, because there is no way to enable/build the
> non-existing rtp demuxer.


Sorry, it's called CONFIG_RTSP_DEMUXER (it's the line under CONFIG_RTP_MUXER
in your Makefile), and that requires code from rtp.c and (in case of h264
rtp streams inside the rtsp stream) rtp_h264.c stream. If not, linking fails
because rtp_parse_packet() (referenced from rtsp.c, code in rtp.c) is
missing. rtp_parse_packet() can (via the dynamic rtsp handlers) reference
the parse_packet() impl in rtp_h264.c.

Somehow rtsp doesn't work at all in the default config (I get "no such file
or directory" on stuff that works just fine with my own binaries), so no
problem yet. But here's another nice one in allformats.c:

#ifdef CONFIG_RTP_MUXER
    av_register_rtp_dynamic_payload_handlers();
#endif

Those dynamic payload handlers are used in the demuxer also, so this is yet
another bug. Who wrote this stuff?

Ronald




More information about the ffmpeg-devel mailing list