Difference between revisions of "VideoRecording"

From WebOS Internals
Jump to navigation Jump to search
Line 1: Line 1:
 
At your rooted command line:
 
At your rooted command line:
  
(make sure FS is rw)
+
#(make sure FS is rw)<br>
mount -o remount,rw /
+
mount -o remount,rw /<br>
gst-launch camsrc ! palmvideoencoder ! filesink location=/media/internal/downloads/foo.mts
+
gst-launch camsrc ! palmvideoencoder ! filesink location=/media/internal/downloads/foo.mts<br>
mount -o remount,ro /
+
mount -o remount,ro /<br>
  
- No GUI
+
- No GUI<br>
- No sound (need a muxer plugin? verify alsasrc works)
+
- No sound (need a muxer plugin? verify alsasrc works)<br>
Frame rate seemed pretty decent too.
+
Frame rate seemed pretty decent too.<br>
Video is H.264 at 480x320.
+
Video is H.264 at 480x320.<br>
  
 
other useful gstreamer commands:
 
other useful gstreamer commands:
Line 17: Line 17:
 
Additional reference from XO Laptop site:   
 
Additional reference from XO Laptop site:   
  
http://wiki.laptop.org/go/Programming_the_camera
+
http://wiki.laptop.org/go/Programming_the_camera<br>
http://wiki.laptop.org/go/GStreamer#Using_gst_at_the_command_line
+
http://wiki.laptop.org/go/GStreamer#Using_gst_at_the_command_line<br>
  
 
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.
 
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.

Revision as of 16:50, 6 August 2009

At your rooted command line:

  1. (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