[Libav-user] stream urls with video/audio modifying parameters

Blake Senftner bsenftner at earthlink.net
Wed Dec 28 19:06:36 EET 2016


Hello,

Working on a video player that should be able to play anything ffmpeg can, I am looking at how VLC accepts stream URLs with all kinds of stream modifying parameters. (I am also reading the VLC developer documentation…)

When a URL of a form similar to this is sent to avformat_open_input(), are the additional URL parameters observed and used?

	rtsp://[camera-ip-address]:554/axis-media/media.amp?videocodec=h264&compression=90 <rtsp://[camera-ip-address]:554/axis-media/media.amp?videocodec=h264&compression=90>

I understand how the camera will use those parameters when generating the stream it generates, but will underlying logic within or called by avformat_open_input() additionally see those parameters and use them during the format probing discovery of the stream? 

Or does my logic need to observe that there are URL parameters, and then generate AVDictionary entries matching the intent of the parameters, passing in the additional URL parameter settings via the AVDictionary parameter to avformat_open_inout()? 

Thanks for any tips,
-Blake Senftner
mad computer scientist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20161228/07b92126/attachment.html>


More information about the Libav-user mailing list