Question regarding gstreamer tee's and vorbis encoder

fahad fahadm.ahmed at gmail.com
Fri Nov 8 19:15:46 PST 2013


I am trying to figure out audio encoding issue with vorbis encoder. The final
goal of the test is to encode incoming audio from default (windows audio in,
using dshowaudiosrc) and save it in an OGG format and then host it using
RTSP/RTMP. I have been experimenting with the conversion scripts using
gst-launch-0.10 and have been mostly successfull however if I tee the
pipeline it breaks the encoding process. e.g.

Following works just fine, either from dhsowaudiosrc or audtiotestsrc
gst-launch-0.10 audiotestsrc wave=sine num-buffers=100 ! audioconvert !
vorbisenc ! oggmux ! filesink location=sine.ogg

Following does not work either way.....
gst-launch-0.10 audiotestsrc wave=sine num-buffers=100 ! audioconvert ! tee
name=t ! queue ! autoaudiosink t. ! queue ! spectrascope ! ffmpegcolorspace
! autovideosink t. ! queue ! vorbisenc ! oggmux ! filesink location=sine.ogg

Following two encoders do not show any erroneous behavior
gst-launch-0.10 audiotestsrc wave=sine num-buffers=100 ! audioconvert ! tee
name=t ! queue ! autoaudiosink t. ! queue ! spectrascope ! ffmpegcolorspace
! autovideosink t. ! queue ! ffenc_mp2 ! filesink location=sine.mp2

gst-launch-0.10 audiotestsrc wave=sine num-buffers=100 ! audioconvert ! tee
name=t ! queue ! autoaudiosink t. ! queue ! spectrascope ! ffmpegcolorspace
! autovideosink t. ! queue ! flacenc ! filesink location=sine.flac

I am think it may have some thing to do with the mux but i am not sure. Can
one of you guys shed some light on the issue?
Thanks!



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Question-regarding-gstreamer-tee-s-and-vorbis-encoder-tp4663194.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list