#10070 HIGH 1.5-sof: Record only records a few frames of video with Xv on

Zarro Boogs per Child bugtracker at laptop.org
Wed Mar 24 17:23:00 EDT 2010


#10070: Record only records a few frames of video with Xv on
---------------------------------------+------------------------------------
           Reporter:  cjb              |       Owner:  cjb                
               Type:  defect           |      Status:  new                
           Priority:  high             |   Milestone:  1.5-software-update
          Component:  record-activity  |     Version:  not specified      
         Resolution:                   |    Keywords:                     
        Next_action:  diagnose         |    Verified:  0                  
Deployment_affected:                   |   Blockedby:                     
           Blocking:                   |  
---------------------------------------+------------------------------------
Changes (by cjb):

 * cc: corbet, dsd (added)


Comment:

 This one's related to framerate somehow.  After sfrate 1 15:

 `gst-launch v4l2src ! theoraenc ! oggmux ! filesink location=/tmp/foo.ogv`
 lasts two seconds regardless of how long we record for

 `gst-launch v4l2src ! jpegenc ! avimux ! filesink location=/tmp/foo.avi`
 is similar

 `gst-launch v4l2src ! 'video/x-raw-
 yuv,width=640,height=480,framerate=30000/1001', ! videorate ! queue !
 'video/x-raw-yuv,framerate=15/1' ! jpegenc ! avimux ! filesink
 location=/tmp/foo.avi` works pretty well.

 The equivalent of the final pipeline but with theoraenc instead of jpegenc
 doesn't work well, and I don't know why.  It seems that we're somehow
 failing to have gstreamer find the right framerate automatically, *and*
 furthermore theoraenc is failing in a way that mjpeg isn't..

 .. any ideas, anyone?  I wonder if there's a way to try out F12 (or F10)
 gstreamer on F11..

-- 
Ticket URL: <http://dev.laptop.org/ticket/10070#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list