[FFmpeg-devel] [PATCH] RTSP/RDT: subscriptions

Ronald S. Bultje rsbultje
Mon Jan 5 00:04:09 CET 2009


Hi,

On Sun, Jan 4, 2009 at 5:57 PM, Luca Barbato <lu_zero at gentoo.org> wrote:
> Ronald S. Bultje wrote:
>> last patch in my series, this one does RTSP/RDT subscriptions. It
>> basically means that if you select -ast 0, it subscribes to stream 0,
>> and -ast 1 only stream 1. If you map all streams for transcoding /
>> backupping in ffmpeg, it will subscribe to all of them, etc, all based
>> on AVFormatContext.discard.
>
> The patch looks ok, how you tested it?

ffplay rtsp://bla -ast 0
ffplay rtsp://bla -ast 1
ffplay rtsp://bla -ast 2
etc.

If you want to see what it sends to the server or what data it
receives, "un#if0" (?) the relevant printf()s in rtsp.c, that's what I
usually use for testing (plus of course audible sound quality).

Ronald




More information about the ffmpeg-devel mailing list