[FFmpeg-devel] [PATCH] rtsp - alternate protocol
Luca Abeni
lucabe72
Sat Dec 29 12:35:57 CET 2007
Hi Michael,
Michael Niedermayer wrote:
[...]
>> Ok. Looking at the rest of the code, I suspect a good solution would be
>> something like rtsp://localhost:5454?tcp/test1-rtsp.mpg... And we will
>> have to overwrite s->filename for removing the "?..." options that are
>> between port number and path.
>
> or just add a field to AVFormatContext specifying the preferred protocol
Yes, that would work too. And it would be simpler.
But... Is it a good idea to add a new field to AVFormatContext every
time that a format requires some new information, which is not used by
other formats? Just trying to evaluate all the possible advantages and
disadvantages...
Or maybe we can use a new AVFormatContext's flag? (this would avoid
changing AVFormatContext).
Thanks,
Luca
More information about the ffmpeg-devel
mailing list