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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> wrote: hi list, -- Regards, Sudarshan Bisht ------------------------------------------------------------------------- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by axel lin
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 > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > Josep Torra ------------------------------------------------------------------------- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |