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

axel lin axel.lin at gmail.com
Wed Dec 3 03:25:13 CET 2008


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




More information about the gstreamer-devel mailing list