[gst-devel] audio choppy issue while recording ogg theora file

sudarshan bisht bisht.sudarshan at gmail.com
Wed Dec 3 06:32:47 CET 2008


Hi Axel ,

           Your log showing that there is some performance issue  when you
record audio/video both ,  as it is dropping the audio samples , and due to
those dropped samples you are listening that choppy sound or no sound at all
.

             Try recording video at lower resolution (176x144) , this may
make things better .


On Wed, Dec 3, 2008 at 7:55 AM, axel lin <axel.lin at gmail.com> wrote:

> hi list,
>
> I use below command to record video/audio.
>
> gst-launch-0.10 v4l2src ! "video/x-raw-yuv,width=320,height=240" ! tee
> name=tee tee. ! ffmpegcolorspace ! theoraenc ! queue ! oggmux name=mux
> mux. ! queue ! filesink location=test.ogg alsasrc ! audiorate !
> audioconvert ! vorbisenc ! queue ! mux. tee. ! ffmpegcolorspace !
> queue ! xvimagesink
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstAudioSrcClock
> WARNING: from element /pipeline0/alsasrc0: Can't record audio fast enough
> Additional debug info:
> gstbaseaudiosrc.c(668): gst_base_audio_src_create (): /pipeline0/alsasrc0:
> dropped 2820 samples
> WARNING: from element /pipeline0/alsasrc0: Can't record audio fast enough
> Additional debug info:
> gstbaseaudiosrc.c(668): gst_base_audio_src_create (): /pipeline0/alsasrc0:
> dropped 57340 samples
> WARNING: from element /pipeline0/alsasrc0: Can't record audio fast enough
> Additional debug info:
> gstbaseaudiosrc.c(668): gst_base_audio_src_create (): /pipeline0/alsasrc0:
> dropped 34780 samples
> WARNING: from element /pipeline0/alsasrc0: Can't record audio fast enough
> Additional debug info:
> gstbaseaudiosrc.c(668): gst_base_audio_src_create (): /pipeline0/alsasrc0:
> dropped 12220 samples
> ...
>
>
> When I playback the test.ogg file.
> I found the audio sounds choppy and sometimes no sound at all.
> Is there any way to fix the audio  issue?
>
> ps. I'm using hardy, and I'm able to record sound by arecord command.
>
> Regards,
> Axel
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081203/bfed32e9/attachment.htm>


More information about the gstreamer-devel mailing list