Changes

Jump to navigation Jump to search
589 bytes added ,  08:30, 29 May 2015
no edit summary
Line 17: Line 17:  
** ''4'' DEBUG
 
** ''4'' DEBUG
 
** ''5'' LOG
 
** ''5'' LOG
 +
 +
=== Using Record with external cameras ===
 +
 +
If the camera is recognized, a device /dev/video1 will be created (you need check in your Terminal.
 +
The internal device is /dev/video0
 +
 +
To use a external camera, you can apply this patch
 +
 +
<nowiki>
 +
diff --git a/glive.py b/glive.py
 +
index 9f8c5fa..d2207e7 100644
 +
--- a/glive.py
 +
+++ b/glive.py
 +
@@ -83,6 +83,7 @@ class Glive:
 +
 +
    def _detect_camera(self):
 +
        v4l2src = gst.element_factory_make('v4l2src')
 +
+        v4l2src.set_property('device', '/dev/video1')
 +
        if v4l2src.props.device_name is None:
 +
            return
 +
</nowiki>
    
===Resources===
 
===Resources===
628

edits

Navigation menu