1
This commit is contained in:
parent
5b76cd0eb3
commit
602c8075ac
@ -32,7 +32,9 @@ GstRTSPMediaFactory *RTSPManager::create_media_factory(const Camera &cam)
|
||||
|
||||
std::string launch_str =
|
||||
"( v4l2src device=" + cam.device +
|
||||
" ! video/x-raw,format=YUY2,width=" + std::to_string(out_width) +
|
||||
" io-mode=2"
|
||||
" ! video/x-raw,format=YUY2,width=" +
|
||||
std::to_string(out_width) +
|
||||
",height=" + std::to_string(out_height) +
|
||||
",framerate=" + std::to_string(cam.fps) + "/1"
|
||||
" ! videoconvert ! video/x-raw,format=NV12"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user