[Libav-user] stream urls with video parameters

Blake Senftner bsenftner at cyberextruder.com
Wed Dec 28 18:45:11 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

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




More information about the Libav-user mailing list