Ask Your Question

dbernard456's profile - activity

2014-11-04 14:11:24 -0600 asked a question Set ffmpeg capture properties with cv::VideoCapture

With the last versions of OpenCV compiled with ffmpeg.

How do I set ffmpeg capture properties with cv::VideoCapture?

I know there is the method bool VideoCapture::set(int propId, double value); But there are no "propId" for ffmpeg.

I am particularly interested in forcing ffmpeg to use TCP/IP instead of UDP when using RTSP.

I know ffmpeg allow it. For example : av_dict_set(&opts, "rtsp_transport", "tcp", 0);

Thank you