<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Bitstream Vera Sans Mono">Oddly enough, that makes things
worse :(<br>
<br>
Here is what I have confirmed - the following command will result in a
VERY clear high quality audio-only recording on my configuration:<br>
<br>
> gst-launch-0.10 alsasrc device="hw:1,0" !
audio/x-raw-int,rate=16000,channels=1,depth=16 ! audioconvert !
vorbisenc ! oggmux ! filesink location=audio-only.ogg<br>
<br>
Which you can hear:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.buberel.org/audio-only.ogg">http://www.buberel.org/audio-only.ogg</a><br>
<br>
But when I use Nei's command below, which has essentially the same
audio parameters but with the additional 'queue' element to record
audio and video, I see many of the following error messages:<br>
<br>
WARNING: from element /pipeline0/alsasrc0: Can't record audio fast
enough<br>
Additional debug info:<br>
gstbaseaudiosrc.c(603): gst_base_audio_src_create ():
/pipeline0/alsasrc0:<br>
dropped 13600 samples<br>
WARNING: from element /pipeline0/alsasrc0: Can't record audio fast
enough<br>
Additional debug info:<br>
gstbaseaudiosrc.c(603): gst_base_audio_src_create ():
/pipeline0/alsasrc0:<br>
dropped 12000 samples<br>
WARNING: from element /pipeline0/alsasrc0: Can't record audio fast
enough<br>
Additional debug info:<br>
<br>
I am going to work on an ascii-art diagram of this pipeline in the
hopes that it will help others see the mistake I am making.<br>
<br>
-jason<br>
<br>
</font><br>
Nie Jun wrote:
<blockquote
cite="mid:7c34ac520803040147i7f55253m10c871b470a24b88@mail.gmail.com"
type="cite">
<pre wrap="">gst-launch-0.10 v4l2src ! queue ! videorate !
video/x-raw-yuv,width=800,height=600,framerate=15/1 !
ffmpegcolorspace ! theoraenc ! queue ! oggmux name=mux alsasrc
device="hw:1,0" ! audiorate !
audio/x-raw-int,rate=16000,channels=1,depth=16 ! queue ! audioconvert
! vorbisenc ! QUEUE ! mux. mux. ! queue ! filesink sync=true
location=test.ogg
hope it helps you.
</pre>
</blockquote>
</body>
</html>