Caps propagation problem : my audio gets resampled !

Hoggins! fuckspam at wheres5.com
Wed Dec 7 22:20:40 UTC 2016


Hello,

I have an issue I can't understand, and I'm sure my pipeline is wrong.
It used to work under 0.10 but there's something odd with the same
pipeline under 1.0. Here it is :

gst-launch-1.0 -v \
    udpsrc address=192.168.55.222 port=5000 \
    caps='application/x-rtp, media=(string)audio, clock-rate=(int)48000,
encoding-name=(string)X-GST-OPUS-DRAFT-SPITTKA-00, payload=(int)96,
ssrc=(uint)10' \
    ! rtpopusdepay ! opusdec \
    ! tee name=t \
    t. ! queue ! audioconvert ! 'audio/x-raw,channels=2' ! lamemp3enc
bitrate=320 ! shout2send public=0 mount=/live320.mp3 port=80
password=HAHA ip=192.168.55.3 streamname="" description="" url="" genre="" \
    t. ! queue ! audioconvert ! 'audio/x-raw,channels=2' ! lamemp3enc
bitrate=192 ! shout2send public=0 mount=/live192.mp3 port=80
password=HAHA ip=192.168.55.3 streamname="" description="" url="" genre="" \
    t. ! queue ! audioresample ! 'audio/x-raw,rate=32000' ! audioconvert
! 'audio/x-raw,channels=1' ! lamemp3enc bitrate=64 ! shout2send public=0
mount=/live064.mp3 port=80 password=HAHA ip=192.168.55.3 streamname=""
description="" url="" genre="" \
    t. ! queue ! audioresample ! 'audio/x-raw,rate=16000' ! audioconvert
! 'audio/x-raw,channels=1' ! lamemp3enc bitrate=24 ! shout2send public=0
mount=/live024.mp3 port=80 password=HAHA ip=192.168.55.3 streamname=""
description="" url="" genre="" \
    t. ! queue ! audioconvert ! vorbisenc quality=1 ! oggmux !
shout2send public=0 mount=/live500.ogg port=80 password=HAHA
ip=192.168.55.3 streamname="" description="" url="" genre=""


Problem : ALL of my streams are resampled at 16khz, it is the smallest
(third tee) that is applied to the whole pipeline !
Where is my mistake ?

Thanks !

    Hoggins!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161207/cf927139/attachment.sig>


More information about the gstreamer-devel mailing list