Added ffmpeg check in VideoWriter
This commit is contained in:
parent
c03552383a
commit
b647a774cd
3 changed files with 6 additions and 2 deletions
|
@ -63,6 +63,7 @@ func getCameraData(device string, camera *Camera) {
|
|||
"-i", device,
|
||||
)
|
||||
|
||||
camera.cmd = cmd
|
||||
pipe, err := cmd.StderrPipe()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue