GNOME Bugzilla – Bug 689336
webmmux: can't link webmux to shout2send
Last modified: 2012-11-30 17:46:49 UTC
using gstreamer-1.0.3 (not yet in bugzilla?) oggmux can be connected to shout2send, but webmmux cannot: http://dpaste.com/hold/839341/ Using GST_DEBUG=5 one can see this: http://dpaste.com/hold/839342/ full output is attached
Created attachment 230265 [details] GST_DEBUG=5 logfile, gzipped because of size limitation
Attached logfile is mirrored (umcompressed) for easy viewing here: http://kripton.kripserver.net/n0th1ng/gst.log.txt
pipeline used to create the logfile: gst-launch-1.0 videotestsrc ! vp8enc ! webmmux ! shout2send
Version 1.0.3 added now, sorry (the gnome ftp server upload script should add that automatically). What's the output of dpkg -l libshout* ? Also see bug #669590 .
Since I'm on gentoo, the output is "command not found". Here's what you want to know: kripton@miramis ~/bench $ eix -eI libshout [I] media-libs/libshout Available versions: 2.3.1 {speex static-libs theora} Installed versions: 2.3.1(17:16:43 10/07/12)(speex theora -static-libs) I know the other bug since I wanted to get webm-streaming to work with gstreamer-0.10.35 and for that I had to patch shout2send manually to support webm. I failed since vp8enc-0.10.22 (used with gstreamer-0.10.35) was totally broken and didn't produce any output at all (not related to shout2send). This is the reason I upgraded to gst-1.0. However after I patched shout2send from gst-0.10.35 manually, the pipeline switched to "ROLLING" state. So it means the pads where compatible back then but it didn't work due to the vp8enc-problem. I didn't search too long since the version is really old and upgrading looked like the better solution to me.
Sorry, no idea why I assumed you were on ubuntu/debian. How about this: grep SHOUT_FORMAT_WEBM /usr/include/shout*/*.h ? (or whatever the default prefix for includes is)
Looks good to me: kripton@miramis ~ $ grep SHOUT_FORMAT_WEBM /usr/include/shout*/*.h /usr/include/shout/shout.h:#define SHOUT_FORMAT_WEBM (2) and according to the patch, shout2send shouldn't advertise "video/webm"-capability if it weren't defined in libshout. complete output of "gst-inspect-1.0" is here: http://dpaste.com/hold/839389/
You're right, and there seems to be something else going on according to the log. Will have a look..
Should be fixed in the next release, sorry about that, very subtle bug. commit 81b9e197df07e300daa754f652086f45c7b6395d Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Fri Nov 30 17:22:59 2012 +0000 shout2send: accept audio/webm as well as video/webm https://bugzilla.gnome.org/show_bug.cgi?id=689336 commit 672ab8fb5b653b5b64d8d596b5a5c24819d2ed32 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Fri Nov 30 17:20:18 2012 +0000 webmux: fix linking with shout2send element Shout2send only accepts webm format, not matroska, but due to a bug in matroskamux, webmmux's source pad is also created with the matroska source pad template as pad template, which makes the link function think it can't link webmmux to shout2send. Also add unit test. https://bugzilla.gnome.org/show_bug.cgi?id=689336
Applied locally and verified to fix the issue. Thanks :) No need to excuse, I'm happy that gst exists and bugs are fixed so fast