1
This commit is contained in:
parent
a0f6d9ca4b
commit
2357b35ba7
@ -110,11 +110,13 @@ GstElement* RTMPManager::create_pipeline(const Camera& cam)
|
||||
|
||||
std::string pipeline_str = "v4l2src name=src device=" + cam.device +
|
||||
" ! video/x-raw,format=NV12 "
|
||||
" ! videoconvert "
|
||||
" ! videoscale "
|
||||
" ! video/x-raw,width=" +
|
||||
std::to_string(width) + ",height=" + std::to_string(height) +
|
||||
",framerate=" + std::to_string(fps) +
|
||||
"/1 "
|
||||
" ! videoconvert "
|
||||
" ! mpph264enc "
|
||||
"bps=" +
|
||||
std::to_string(bitrate) + " gop=" + std::to_string(fps) +
|
||||
|
||||
Loading…
Reference in New Issue
Block a user