Quantcast

Problem in G726 pipeline

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem in G726 pipeline

Puneeth
Hi All,
   
   I m facing some problem with g726 pipeline when i m trying to encode PCM audio data to G726 format and decode and playback. I m not able to hear anything with the below pipeline, i m just able to listen some noise with this pipeline, what changes i have to do to listen the captured PCM data.

sudo gst-launch alsasrc ! 'audio/x-raw-int,channels=1,rate=8000,width=16,depth=16,signed=true,endianness=1234' ! ffenc_g726 bitrate=16000 ! ffdec_g726 ! alsasink --gst-debug=2

Following are the warnings i m getting when i run this pipeline....I would really appreciate if anyone could find me the solution..Thank you in advance.

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.095488564  4790  0x804e070 WARN                     bin gstbin.c:2330:gst_bin_do_latency_func:<pipeline0> failed to query latency
New clock: GstAudioSrcClock
0:00:00.141162049  4790  0x81f6d60 WARN                  ffmpeg gstffmpegcodecmap.c:138:gst_ff_channel_layout_to_gst: Unknown channels in channel layout - assuming NONE layout
0:00:00.151231337  4790  0x81f6d60 WARN                  ffmpeg gstffmpegcodecmap.c:138:gst_ff_channel_layout_to_gst: Unknown channels in channel layout - assuming NONE layout
0:00:00.151599848  4790  0x81f6d60 WARN                    alsa gstalsa.c:124:gst_alsa_detect_formats:<alsasink0> skipping non-int format
0:00:02.096117547  4790  0x81f6d60 WARN            baseaudiosrc gstbaseaudiosrc.c:817:gst_base_audio_src_create:<alsasrc0> create DISCONT of 15300 samples at sample 15470
0:00:02.096295799  4790  0x81f6d60 WARN            baseaudiosrc gstbaseaudiosrc.c:822:gst_base_audio_src_create:<alsasrc0> warning: Can't record audio fast enough
0:00:02.096340610  4790  0x81f6d60 WARN            baseaudiosrc gstbaseaudiosrc.c:822:gst_base_audio_src_create:<alsasrc0> warning: Dropped 15300 samples. This is most likely because downstream can't keep up and is consuming samples too slowly.
WARNING: from element /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Can't record audio fast enough
Additional debug info:
gstbaseaudiosrc.c(822): gst_base_audio_src_create (): /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0:
Dropped 15300 samples. This is most likely because downstream can't keep up and is consuming samples too slowly.
Loading...