[Sugar-devel] The stacktrace for the Pippy camera example error
laurent bernabe
laurent.bernabe at gmail.com
Mon Dec 5 19:59:52 EST 2011
I've installed the gst utility, then run your command => no error
I went in /tmp folder and see a "strange" capture from my webcam named
pippypic.jpg
But camera example still return the same problem (sorry but the copy
command from the toolbar did not copied content to clipboard) : cannot
recognize the file type
2011/12/6 laurent bernabe <laurent.bernabe at gmail.com>
> From your new command error, i know now that I need to install gst-launch
> : i'll retry after having installed it
>
>
> 2011/12/6 James Cameron <quozl at laptop.org>
>
>> On Tue, Dec 06, 2011 at 01:19:13AM +0100, laurent bernabe wrote:
>> > Here the stack trace for the camera example
>> > File "<<myhome>>/.sugar/default/org.laptop.Pippy/tmp/pippy_app.py" line
>> 35, in <module>
>> > image = pygame.image.load('/tmp/pippypic.jpg')
>> > pygame.error : Unsupported image format
>>
>> Thanks! This means the gst did not save an image from the camera.
>>
>> Please try in a Terminal shell:
>>
>> gst-launch v4l2src ! ffmpegcolorspace ! jpegenc ! filesink
>> location=/tmp/pippypic.jpg
>>
>> and show me any error output.
>>
>> If there is no error output, wait a second, then press Control/C. (If
>> the command is left to run, /tmp/pippypic.jpg grows continuously as
>> frames are stored in the file.)
>>
>> Please check you have adequate free space in /tmp directory.
>>
>> --
>> James Cameron
>> http://quozl.linux.org.au/
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111206/6d400733/attachment.html>
More information about the Sugar-devel
mailing list