Line 7: |
Line 7: |
| | | |
| ===Usage=== | | ===Usage=== |
− | | + | {{Iframe|[http://en.flossmanuals.net/record Record Activity Manual] | http://en.flossmanuals.net/record| 940|800|1}} |
| ====Environment variables==== | | ====Environment variables==== |
| | | |
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 may need check using Terminal. |
| + | The internal device is usually /dev/video0, but this is not guaranteed. |
| + | |
| + | 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> |
| + | |
| + | Supporting more than one camera without a patch is the subject of ticket [http://bugs.sugarlabs.org/ticket/4859 #4859]. |
| | | |
| ===Resources=== | | ===Resources=== |
| | | |
− | * [http://git.sugarlabs.org/projects/record Sources] | + | * [https://github.com/godiard/record-activity.git Sources] |
| * [http://activities.sugarlabs.org/en-US/sugar/addon/4081 Sugar Activity Library page] | | * [http://activities.sugarlabs.org/en-US/sugar/addon/4081 Sugar Activity Library page] |
| * [[OLPC:Record]] | | * [[OLPC:Record]] |
| * Trac tickets: [http://dev.laptop.org/query?component=record-activity&col=id&col=summary&col=type&col=status&col=priority&col=milestone&col=time&col=changetime&order=priority OLPC record-activity], [http://dev.laptop.org/query?status=assigned&status=new&status=reopened&component=camera-activity&order=id&col=id&col=summary&col=status&col=type&col=priority&col=milestone OLPC camera-activity], [http://bugs.sugarlabs.org/query?component=Record&col=id&col=summary&col=component&col=type&col=status&col=priority&col=milestone&col=time&col=changetime&order=priority Sugar Labs] | | * Trac tickets: [http://dev.laptop.org/query?component=record-activity&col=id&col=summary&col=type&col=status&col=priority&col=milestone&col=time&col=changetime&order=priority OLPC record-activity], [http://dev.laptop.org/query?status=assigned&status=new&status=reopened&component=camera-activity&order=id&col=id&col=summary&col=status&col=type&col=priority&col=milestone OLPC camera-activity], [http://bugs.sugarlabs.org/query?component=Record&col=id&col=summary&col=component&col=type&col=status&col=priority&col=milestone&col=time&col=changetime&order=priority Sugar Labs] |