audioresample does not works well with appsrc

leeoxiang leeoxiang at gmail.com
Mon Jul 8 06:45:30 UTC 2019


Hi, 

I am try to using audioresample to do a audio resample from 44100 to 48000, 
the audio is from rtmp stream.

```
gst-launch-1.0  uridecodebin
uri=rtmp://ali.wangxiao.eaydu.com/live_bak/x_100_rtc_test ! audioconvert !
audioresample ! audio/x-raw,rate=48000 ! autoaudiosink
```

it works fine.

then i use appsrc  with audioresample  


the works fine pipeline 

```
appsrc do-timestamp=true is-live=true name=audiosrc ! decodebin !
audioconvert  ! autoaudiosink
```


but this pipeline does not work,  it will have some noise 

```
appsrc do-timestamp=true is-live=true name=audiosrc ! decodebin !
audioconvert  ! audioresample !  audio/x-raw, rate=48000 ! autoaudiosink
```


It seems the problem happens  when use appsrc and audioresample,  am i doing
somehting wrong.





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list