Comment 0 for bug 50049

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Trying to isolate a bug in <a href="https://launchpad.net/distros/ubuntu/+source/istanbul/">istanbul</a> 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.