[gstreamer-bugs] [Bug 541130] [avimux] full and fast recording

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 1 15:13:30 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=541130

  GStreamer | gst-plugins-good | Ver: HEAD CVS




------- Comment #1 from Mark Nauwelaerts  2008-07-01 22:13 UTC -------
Thank you for taking the time to report this.  However:
* running the above pipeline is very likely (and does so on my system) to
produce only a very small amount of audio data, with a lot more video data
(because there will only be 10 small audio buffers).  It is therefore
impossible to have a/v sync (due to lack in audio)
* "replacing with audiotestsrc"; wat does "it works fine" then mean (since it
is hard to judge a/v sync in that case)
* there has been a bug in avimux (into the latest release) that caused a/v
desync in case of uncompressed raw audio; please make sure CVS HEAD is used

In any case, a slightly adjusted pipeline (to cater for hardware and above
comments) produces a fine result (that is; nothing jerky and a/v sync ok (*)):

gst-launch-0.10 v4l2src num-buffers=200 ! "video/x-raw-yuv,
format=(fourcc)YUY2, width=384, height=480, framerate=(fraction)25/1" ! \
queue ! avimux name=mux \
alsasrc buffer-time=500000 provide-clock=1 num-buffers=16 blocksize=48000 !
"audio/x-raw-int, rate=48000, channels=1" ! queue ! mux. \
mux. ! filesink location=record.avi

(*) which is not necessarily the case with other hardware and/or other
circumstances; please also see the use of the videorate element and/or
http://gentrans.sourceforge.net/docs/head/manual/html/howto.html#sect-recording
for a discussion of a/v sync issues (which is out of scope of avimux here).


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=541130.




More information about the Gstreamer-bugs mailing list