re: hint to do
$ mv /usr/lib/gstreamer-0.10/libgstcamerabin.so
/usr/lib/gstreamer-0.10/libgstcamerabin.so.bak

WORKSFORME!! Thanks!

...............
meegolem-120-.../Pictures/Camera> td
-rw-r--r-- 1 npm npm 230556 2011-04-05 17:39 Tue-Apr-5-17:39:58-2011.jpg
-rw-r--r-- 1 npm npm 234552 2011-04-05 17:39 Tue-Apr-5-17:39:54-2011.jpg
-rw-r--r-- 1 npm npm 231908 2011-04-05 17:39 Tue-Apr-5-17:39:53-2011.jpg
-rw-r--r-- 1 npm npm 221608 2011-04-05 17:39 Tue-Apr-5-17:39:44-2011.jpg
...............

## NB: recorded video is pretty lurchy/jerky but at least it's
## recognizable ## as video. Does the lurching happen each
##  time the app checks  for free space (see log below)  which
## might be a bad  idea on a uniprocessor/ht like this n455....

meegolem-134-.../Videos/Camera> ffmpeg -i Tue-Apr-5-17:40:04-2011.ogg
FFmpeg version SVN-r24044, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 21 2010 15:07:15 with gcc 4.5.0 20100716 (Red Hat 4.5.0-3)
[...]
  libavutil     50.20. 0 / 50.20. 0
  libavcodec    52.79. 1 / 52.79. 1
  libavformat   52.73. 0 / 52.73. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.20. 1 /  1.20. 1
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[theora @ 0x96d4d00] 7 bits left in packet 82
Input #0, ogg, from 'Tue-Apr-5-17:40:04-2011.ogg':
  Duration: 00:00:35.60, start: 0.000000, bitrate: 418 kb/s
    Stream #0.0: Video: theora, yuv420p, 1280x1024, 5 tbr, 5 tbn, 5 tbc
    Stream #0.1: Audio: vorbis, 44100 Hz, mono, s16, 120 kb/s
...............

meegolem-103-~> meego-qml-launcher --opengl --fullscreen --app meego-app-camera
Adding Master Pointer: Virtual core pointer ( 2 )
Skipping non-Touch device: Virtual core XTEST pointer ( 4 )
Adding ATTACHED touch device: Cando Corporation Cando 10.1 Multi Touch
Panel with Controller ( 11 )
Skipping non-Touch device: SynPS/2 Synaptics TouchPad ( 14 )
loaded the Generic plugin
Loaded the MeeGo sensor plugin
Request for interface not granted...
Request for interface not granted...
Warning: Object::connect: No such signal
QXIMInputContext::inputMethodAreaChanged(QRect)
Warning: Object::connect: No such signal LauncherApp::localeSettingsChanged()
Warning: Object::connect:  (sender name:   'meego-qml-launcher')
Warning: Object::connect: No such signal
LauncherApp::windowListUpdated(QList<WindowInfo>)
Warning: Object::connect:  (sender name:   'meego-qml-launcher')
Debug: Instantiating VolumeControlPrivate
Debug: Settings*************
Debug: Flash Mode:  2
Debug: Capture Mode:  1
Debug: "/dev/video0"   "Lenovo EasyCamera"
Debug: "/dev/video0"   "Lenovo EasyCamera"
Debug: Setting camera to  "/dev/video0"
Debug: Supported maximum optical zoom 1
Debug: Supported maximum digital zoom 1
Debug: Metadata is not available
Debug: Audio input:  "alsa:null"  -  "Discard all samples (playback)
or generate zero samples (capture)"
Debug: Audio input:  "alsa:pulse"  -  "PulseAudio Sound Server"
Debug: Audio input:  "alsa:default"  -  "Default"
Debug: Audio input:  "alsa:front:CARD=Intel,DEV=0"  -  "HDA Intel,
CONEXANT Analog
Front speakers"
Debug: Audio input:  "alsa:surround40:CARD=Intel,DEV=0"  -  "HDA
Intel, CONEXANT Analog
4.0 Surround output to Front and Rear speakers"
Debug: Audio input:  "alsa:surround41:CARD=Intel,DEV=0"  -  "HDA
Intel, CONEXANT Analog
4.1 Surround output to Front, Rear and Subwoofer speakers"
Debug: Audio input:  "alsa:surround50:CARD=Intel,DEV=0"  -  "HDA
Intel, CONEXANT Analog
5.0 Surround output to Front, Center and Rear speakers"
Debug: Audio input:  "alsa:surround51:CARD=Intel,DEV=0"  -  "HDA
Intel, CONEXANT Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers"
Debug: Audio input:  "alsa:surround71:CARD=Intel,DEV=0"  -  "HDA
Intel, CONEXANT Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers"
Debug: Audio input:  "pulseaudio:"  -  "PulseAudio device."
Debug: Default source:  "alsa:null"
Debug: Using default resolution
Debug: Frame rate:  5
Debug: Frame rate:  10
Debug: Frame rate:  15
Debug: Using default FPS
Debug: Video resolution:  160 x 120
Debug: Video resolution:  320 x 240
Debug: Video resolution:  640 x 400
Debug: Video resolution:  640 x 480
Debug: Video resolution:  1280 x 720
Debug: Video resolution:  1280 x 800
Debug: Video resolution:  1280 x 1024
Debug: Codec:  "video/h264"
Debug: Codec:  "video/xvid"
Debug: Codec:  "video/mpeg4"
Debug: Codec:  "video/mpeg1"
Debug: Codec:  "video/mpeg2"
Debug: Codec:  "video/theora"
Debug: Container:  "qtmux"
Debug: Container:  "matroska"
Debug: Container:  "ogg"
Debug: Container:  "mp4"
Debug: Container:  "wav"
Debug: Container:  "quicktime"
Debug: Container:  "avi"
Debug: Container:  "3gpp"
Debug: Container:  "flv"
Debug: Container:  "amr"
Debug: Container:  "asf"
Debug: Container:  "dv"
Debug: Container:  "mpeg"
Debug: Container:  "vob"
Debug: Container:  "mpegts"
Debug: Container:  "3g2"
Debug: Container:  "3gp"
Debug: Container:  "raw"
Debug: Selected container:  "ogg"
Debug: Sorted resolution:  1280 x 1024
Debug: Sorted resolution:  1280 x 800
Debug: Sorted resolution:  1280 x 720
Debug: Sorted resolution:  640 x 480
Debug: Sorted resolution:  640 x 400
Debug: Sorted resolution:  320 x 240
Debug: Sorted resolution:  160 x 120
Debug: Using resolution:  1280 x 1024
Debug: Updated state:  0
Debug: Camera lock changed:  0  (Reason  0 )
Debug: Image ready for capture:  false
Debug: Media recorder state changed:  0
Debug: Updated state:  2
Debug: landscape...
Debug: Geometry changed:  0 x 0  ->  1024 x 0
Warning: The camera doesn't support zooming.
Debug: Setting zoom to: nan
Debug: Geometry changed:  1024 x 0  ->  1024 x 575
Debug: Viewfinder size:  1280 x 1024
Warning: 
file:///usr/lib/qt4/imports/MeeGo/Labs/Components/ApplicationPage.qml:344:13:
QML Row: Cannot specify left, right, horizontalCenter, fill or
centerIn anchors for items inside Row
Warning: The camera doesn't support zooming.
Debug: Setting zoom to: inf
Warning: The camera doesn't support zooming.
Debug: Setting zoom to: 1.07045
Warning: The camera doesn't support zooming.
Debug: Setting zoom to: 0.0704467
Debug: OldZL: 0.070446735395189 ->270.5
Debug: Setting capture mode:  1
Debug: Video capture
Debug:  is now alive!
Debug: application's new type: 0
Debug: Geometry changed:  1024 x 575  ->  1024 x 600
Debug: Viewfinder size:  1280 x 1024
Debug: setting view title to be:
Debug: Raising window
Debug: Found EGL_KHR_image_pixmap & GL_OES_EGL_image extensions
(preferred method)!
Debug: Free space:  791638016 ( 193271  *  4096 )
Debug: PA state:  2
Debug: PA state:  3
Debug: sink callback called.
Debug: sink name:  "alsa_output.pci-0000_00_1b.0.analog-stereo"
Debug: new mute value: 0
Debug: sink callback called.
Debug: pulse gave us a NULL info pointer. fail
Debug: Image ready for capture:  true
Debug: tap: touch begin
Debug: Setting capture mode:  0
Debug: Image capture
Debug: tap: touch begin
Debug: Filename:  "/home/npm/Pictures/Camera/Tue-Apr-5-17:39:44-2011.jpg"
Debug: Image captured:  1
Debug: Image saved:  1  -
"/home/npm/Pictures/Camera/Tue-Apr-5-17:39:44-2011.jpg"
Debug: Image completed:
"/home/npm/Pictures/Camera/Tue-Apr-5-17:39:44-2011.jpg"
Debug: Error loading  "/home/npm/Pictures/Camera/Tue-Apr-5-17:39:44-2011.jpg"
Debug: tap: touch begin
Debug: Filename:  "/home/npm/Pictures/Camera/Tue-Apr-5-17:39:53-2011.jpg"
Debug: Image captured:  2
Debug: Image saved:  2  -
"/home/npm/Pictures/Camera/Tue-Apr-5-17:39:53-2011.jpg"
Debug: Image completed:
"/home/npm/Pictures/Camera/Tue-Apr-5-17:39:53-2011.jpg"
Debug: Error loading  "/home/npm/Pictures/Camera/Tue-Apr-5-17:39:53-2011.jpg"
Debug: tap: touch begin
Debug: Filename:  "/home/npm/Pictures/Camera/Tue-Apr-5-17:39:54-2011.jpg"
Debug: Image captured:  3
Debug: Image saved:  3  -
"/home/npm/Pictures/Camera/Tue-Apr-5-17:39:54-2011.jpg"
Debug: Image completed:
"/home/npm/Pictures/Camera/Tue-Apr-5-17:39:54-2011.jpg"
Debug: Error loading  "/home/npm/Pictures/Camera/Tue-Apr-5-17:39:54-2011.jpg"
Debug: tap: touch begin
Debug: Filename:  "/home/npm/Pictures/Camera/Tue-Apr-5-17:39:58-2011.jpg"
Debug: Image captured:  4
Debug: Image saved:  4  -
"/home/npm/Pictures/Camera/Tue-Apr-5-17:39:58-2011.jpg"
Debug: Image completed:
"/home/npm/Pictures/Camera/Tue-Apr-5-17:39:58-2011.jpg"
Debug: Error loading  "/home/npm/Pictures/Camera/Tue-Apr-5-17:39:58-2011.jpg"
Debug: tap: touch begin
Debug: Setting capture mode:  1
Debug: Video capture
Debug: Image ready for capture:  false
Debug: Image ready for capture:  true
Debug: tap: touch begin
Debug: Starting recording "/home/npm/Videos/Camera/Tue-Apr-5-17:40:04-2011.ogg"
Debug: Free space:  791638016 ( 193271  *  4096 )
Debug: Media recorder state changed:  1
Debug: Image ready for capture:  false
Debug: Duration:  2482
Debug: Duration:  2892
Debug: Duration:  3104
Debug: Duration:  4191
Debug: Free space:  791638016 ( 193271  *  4096 )
Debug: Duration:  4191
Debug: Duration:  7356
Debug: Duration:  9203
Debug: Duration:  9247
Debug: Duration:  10965
Debug: Free space:  791638016 ( 193271  *  4096 )
Debug: Duration:  10990
Debug: Duration:  13044
Debug: Duration:  13085
Debug: Duration:  14890
Debug: Duration:  14915
Debug: Free space:  791638016 ( 193271  *  4096 )
Debug: Duration:  16639
Debug: Duration:  16670
Debug: Duration:  18606
Debug: Duration:  18606
Debug: Duration:  20437
Debug: Free space:  791638016 ( 193271  *  4096 )
Debug: Duration:  20437
Debug: Duration:  22237
Debug: Duration:  24300
Debug: Duration:  24312
Debug: Duration:  26049
Debug: Free space:  791412736 ( 193216  *  4096 )
Debug: Duration:  26082
Debug: Duration:  27793
Debug: Duration:  27804
Debug: Duration:  29856
Debug: Duration:  29887
Debug: Free space:  791412736 ( 193216  *  4096 )
Debug: Duration:  31604
Debug: XISlaveSwitch
Debug: Adding Master Pointer: Virtual core pointer ( 2 )
Debug: Skipping non-Touch device: Virtual core XTEST pointer ( 4 )
Debug: Adding ATTACHED touch device: Cando Corporation Cando 10.1
Multi Touch Panel with Controller ( 11 )
Debug: Skipping non-Touch device: SynPS/2 Synaptics TouchPad ( 14 )
Debug: Duration:  31604
Debug: Duration:  33361
Debug: Ending recording
Debug: Duration:  33361
Debug: Duration:  35495
Debug: Duration:  35495
Debug: Duration:  0
Debug: Duration:  0
Debug: Media recorder state changed:  0
Debug: Image ready for capture:  true
Debug: PA_SUBSCRIPTION_EVENT_SINK event triggered
Debug: updating sink info for:  "alsa_output.pci-0000_00_1b.0.analog-stereo"
Debug: sink callback called.
Debug: new mute value: 0
Debug: sink callback called.
Debug: pulse gave us a NULL info pointer. fail
Debug: PA_SUBSCRIPTION_EVENT_SINK event triggered
Debug: updating sink info for:  "alsa_output.pci-0000_00_1b.0.analog-stereo"
Debug: sink callback called.
Debug: new mute value: 0
Debug: sink callback called.
Debug: pulse gave us a NULL info pointer. fail
Debug: PA_SUBSCRIPTION_EVENT_SINK event triggered
Debug: updating sink info for:  "alsa_output.pci-0000_00_1b.0.analog-stereo"
Debug: sink callback called.
Debug: new mute value: 0
Debug: sink callback called.
Debug: pulse gave us a NULL info pointer. fail
Debug: Image ready for capture:  false
Debug: Updated state:  1
Debug: Updated state:  2
Debug: Updated state:  1
Warning: QGLContext::makeCurrent(): Cannot make invalid context current
Segmentation fault (core dumped)
...............

--- Niels
http://nielsmayer.com

PS: the segmentation fault happens after using window manager close to
kill the app. worksforme , for now. Do meego-ux apps handle
WM_DELETE_WINDOW appropriately? (e.g.
http://www.lemoda.net/x/xlib-wmclose/ )?

PPS: there's also some cool-looking graphics-context borking whenever
the window manager menubar popdown appears.
( Warning: QGLContext::makeCurrent(): Cannot make invalid context current )
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to