Difference between revisions of "VideoRecording"

From WebOS Internals
Jump to navigation Jump to search
(New page: At your rooted command line: (make sure FS is rw) mount -o remount,rw / gst-launch camsrc ! palmvideoencoder ! filesink location=/media/internal/downloads/foo.mp4 mount -o remount,ro / -...)
 
Line 3: Line 3:
 
(make sure FS is rw)
 
(make sure FS is rw)
 
mount -o remount,rw /
 
mount -o remount,rw /
gst-launch camsrc ! palmvideoencoder ! filesink location=/media/internal/downloads/foo.mp4
+
gst-launch camsrc ! palmvideoencoder ! filesink location=/media/internal/downloads/foo.mts
 
mount -o remount,ro /
 
mount -o remount,ro /
  
Line 9: Line 9:
 
- No sound (need a muxer plugin? verify alsasrc works)
 
- No sound (need a muxer plugin? verify alsasrc works)
 
Frame rate seemed pretty decent too.
 
Frame rate seemed pretty decent too.
 +
Video is H.264 at 480x320.
  
 
other useful gstreamer commands:
 
other useful gstreamer commands:

Revision as of 16:34, 6 August 2009

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