Esempio n. 1
0
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())
    );
}
Esempio n. 2
0
const json::value& ThreadVideo::DeviceProperties() const
{
    device_properties = GetVideoDeviceProperties(videoin[0]);
    return device_properties;
}