void VideoInput::InitialiseRecorder() { video_recorder.reset(); video_file.reset(); video_recorder = OpenVideoOutput(uri_output); video_recorder->SetStreams( video_src->Streams(), str_uri_input, GetVideoDeviceProperties(video_src.get()) ); }
const json::value& ThreadVideo::DeviceProperties() const { device_properties = GetVideoDeviceProperties(videoin[0]); return device_properties; }