audioresample does not works well with appsrc

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

audioresample does not works well with appsrc

leeoxiang

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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel