[Trac #1337] unable to record multiple ogg theora with v4l2 using gstreamer
Zarro Boogs per Child
bugtracker at laptop.org
Sat Apr 14 15:52:56 EDT 2007
#1337: unable to record multiple ogg theora with v4l2 using gstreamer
-----------------------------+----------------------------------------------
Reporter: erikb | Owner: blizzard
Type: defect | Status: new
Priority: high | Milestone: Untriaged
Component: camera-activity | Keywords:
-----------------------------+----------------------------------------------
'''Description:'''
Using gstreamer, it is not possible to record multiple ogg theora movies
with v4l2 as the source. The first ogg theora file records successfully,
and subsequent attempts can cause segmentation faults; the occurance of
segmentation faults is random, but ofteb happens by the third try. This
problem has been verified on the b1, b2, and on an ibm thinkpad with v4l2
webcam.
Other gstreamer video sources do not cause this problem. For example, it
is possible to record multiple ogg theora movies using videotestsrc on the
b1, b2, and ibm. Also, it is possible to record multiple ogg theora
movies using v4lsrc on the ibm.
'''Suggestions:'''
The v4l2 XO Cafe driver does not seem to be the problem, as we recieve
identical results with a different v4l2 driver using a webcam and ibm
thinkpad.
The problem seems to lie in the interaction between the gstreamer
component v4l2src. Debugging where the problem lies in this framework
would be a good long term investment.
In the short term, making the xo camera work with a v4l driver would
probably solve the multiple gstreamer video recordings problem.
As a workaround, the camera activity only allows for one video to be
recorded and then displays a note asking children to restart the camera
activity if they would like to record more video files.
'''Attachments:'''
Attached to this bug report is a python file which can demonstrate the
problem. Line 73 can be modified to swap v4l2src with videotestsrc or
v4lsrc to demonstrate expected behavior.
--
Ticket URL: <http://dev.laptop.org/ticket/1337>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list