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

Josep Torra n770galaxy at gmail.com
Wed Dec 3 06:41:20 CET 2008


axel lin 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
>   
Add queues after alsasrc and before vorbisenc.

Josep Torra




More information about the gstreamer-devel mailing list