[FFmpeg-devel] FFMPEG RTSP parameters support
Sun Nov 14 17:15:02 CET 2010
It's very normal, e.g. for session IDs or so.
> There is no solution. You can't give parameters a=1 in the URL if the
> server doesn't support that. The ?tcp is a hack and should become a
> commandline option (using AVClass/AVOptions) instead of an appendage
> to the URI, but nobody has done that so far.
Perhaps we can expand the rtsp.c for that, as another option to AVContext?
> > - rtsp://220.127.116.11/stream.sdp?a=1/trackID=1
> > - rtsp://18.104.22.168/stream.sdp/trackID=1?a=1
> > - rtsp://22.214.171.124/stream.sdp/trackID=1
> > The first one is what we do now (as far as I know), I guess one of the
> > other ones is what this server requires. Can you find any standard
> > document saying that this way of handling it (whichever the server wants)
> > really is the one mandated by some standard, too? Otherwise we might
> > encounter some other server wanting the parameters formatted in some
> > way at some point.
> The second one is what we use right now if we want custom options, and
> the third is what it should be if that was the original URI in e.g.
> the playlist.
About 2nd one, is this supported from command line?
I get "460 Only Aggregate Option Allowed" when trying the following form:
ffmpeg -i "rtsp://192.168.0.150/loadtest.sdp/trackID=1?a=1"
ffmpeg -i "rtsp://192.168.0.150/loadtest.sdp/trackID=1?a=1&tcp"
More information about the ffmpeg-devel