GNOME Bugzilla – Bug 662391
SImple transcoder fails in 0.11
Last modified: 2012-02-18 20:05:19 UTC
Created attachment 199651 [details] Very simple testcase application When trying to port my supersimple transcoder application to 0.11 it fails to run with the following message: (application attached). python supersimple-gtk3.py Gtk-Message: Failed to load module "pk-gtk-module" self.decoder is <__main__.GstDecodeBin object at 0x9917dec (GstDecodeBin at 0x9a57198)> transcoding 0:00:01.166791238 1828 0x9ab6118 ERROR GST_CAPS gstpad.c:2270:caps_with_getcaps:<vorbisenc0:sink> pad returned caps audio/x-raw, format=(string)F32LE, rate=(int)[ 1, 200000 ], channels=(int)1; audio/x-raw, format=(string)F32LE, rate=(int)[ 1, 200000 ], channels=(int)2; audio/x-raw, format=(string)F32LE, rate=(int)[ 1, 200000 ], channels=(int)3, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT >; audio/x-raw, format=(string)F32LE, rate=(int)[ 1, 200000 ], channels=(int)4, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT >; audio/x-raw, format=(string)F32LE, rate=(int)[ 1, 200000 ], channels=(int)5, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT >; audio/x-raw, format=(string)F32LE, rate=(int)[ 1, 200000 ], channels=(int)6, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT, GST_AUDIO_CHANNEL_POSITION_LFE >; audio/x-raw, format=(string)F32LE, rate=(int)[ 1, 200000 ], channels=(int)7, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_CENTER, GST_AUDIO_CHANNEL_POSITION_LFE >; audio/x-raw, format=(string)F32LE, rate=(int)[ 1, 200000 ], channels=(int)8, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT, GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT, GST_AUDIO_CHANNEL_POSITION_LFE >; audio/x-raw, format=(string)F32LE, rate=(int)[ 1, 200000 ], channels=(int)[ 9, 256 ] which are not a real subset of the filter caps audio/x-raw, rate=(int)44100, format=(string){ S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }, channels=(int)[ 1, 2147483647 ] (supersimple-gtk3.py:1828): GStreamer-WARNING **: pad vorbisenc0:sink returned caps which are not a real subset of the filter caps
Oh, hmm. I think I just fixed that earlier today. I can't run that sample (moans about GTK python stuff, which AFAICS I have installed), so can't test it, but can you try with the latest -base, including: e02a164a363a1cfad6f2327ab42e39090b2c0298 7ca4b51b0149ea6463fd130c30288d061f199e0b You might also need the latest core, at least: 86a45f236e713a12e5268353da11a7046a245193.
Christian, are you able to reproduce problem in latest gstreamer ?
Not able to compile 0.11 git master to verify currently.
Testing with current git master gives me this on the console: ** (supersimple-gtk3.py:20192): CRITICAL **: gst_audio_decoder_finish_frame: assertion `buf == NULL || gst_buffer_get_size (buf) > 0' failed
Switched it over to Ogg input and now it works. Closing as fixed.