VideoRecording

From WebOS Internals
Revision as of 16:34, 6 August 2009 by Muchtall (talk | contribs)
Jump to navigation Jump to search

At your rooted command line:

(make sure FS is rw) mount -o remount,rw / gst-launch camsrc ! palmvideoencoder ! filesink location=/media/internal/downloads/foo.mts mount -o remount,ro /

- No GUI - No sound (need a muxer plugin? verify alsasrc works) Frame rate seemed pretty decent too. Video is H.264 at 480x320.

other useful gstreamer commands:

gst-inspect (shows list of sources to pipe through, mostly decoders/demuxers)

Additional reference from XO Laptop site:

http://wiki.laptop.org/go/Programming_the_camera http://wiki.laptop.org/go/GStreamer#Using_gst_at_the_command_line

Currently looking at ways to use the camera preview pipe as a method of video recording through the WebOS GUI by diverting it to the filesystem.

File of interest: /usr/lib/luna/luna-media/palmInitMedia.js


More on the camera module: http://www.st.com/stonline/products/literature/bd/14404/vx6852.htm