ximagesrc plugin timing off

Bug #50049 reported by Alan Pope 🍺🐧🐱 🦄 on 2006-06-16
14
Affects Status Importance Assigned to Milestone
Istanbul
Confirmed
High
istanbul (Ubuntu)
Medium
Unassigned

Bug Description

Trying to isolate a bug in Istanbul - https://launchpad.net/distros/ubuntu/+source/istanbul/ .
I am using gst-launch-0.10 to capture the screen using the ximagesrc pluging. It appears to capture fine most of the time (segfaulting under circumstances I've not yet identified, but will post separate bug for that), except during playback it runs at more than normal speed.

I performed two tests. One recording the testcard and one recording X. the command lines I used are below along with links to the videos. I made sure the timecode (timeoverlay plugin) was recorded (top left) and the seconds on the PC clock are also displayed (top right) so you can see that it's "off" sync.

gst-launch-0.10 -v videotestsrc num-buffers=1000 ! \
ffmpegcolorspace ! \
timeoverlay ! \
theoraenc,sharpness=2,quality=6 ! \
oggmux ! \
filesink location=testcard.ogg

http://popey.com/gstreamer/testcard.ogg

gst-launch-0.10 -v ximagesrc ! \
video/x-raw-rgb,framerate=\(fraction\)5/1 ! \
ffmpegcolorspace ! \
timeoverlay ! \
theoraenc sharpness=2 quality=6 ! \
oggmux ! \
filesink location=desktop.ogg

http://popey.com/gstreamer/desktop.ogg

Note the testcard.ogg runs okay at normal spped, the desktop.ogg does not.

description: updated
Sebastian Dröge (slomo) wrote :

I can reproduce this here.

You can workaround it in istanbul by choosing a lower resolution. It is caused by theoraenc beeing slow and ximagesrc beeing a live source.

Changed in gst-plugins-good0.10:
importance: Untriaged → Medium
status: Unconfirmed → Confirmed
Changed in istanbul:
status: Unknown → Confirmed
Florian Boucault (fboucault) wrote :

This issue has been fixed upstream in gstreamer 0.10.11. It should theoretically be ok for feisty.

Florian Boucault (fboucault) wrote :

Alan, Sebastian, any news on your side? Are you still experiencing it?

Changed in istanbul:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.