After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 662391 - SImple transcoder fails in 0.11
SImple transcoder fails in 0.11
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.11.x
Other Linux
: Normal normal
: 0.10.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-10-21 15:06 UTC by Christian Fredrik Kalager Schaller
Modified: 2012-02-18 20:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Very simple testcase application (6.42 KB, application/x-bzip)
2011-10-21 15:06 UTC, Christian Fredrik Kalager Schaller
Details

Description Christian Fredrik Kalager Schaller 2011-10-21 15:06:58 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
Comment 1 Vincent Penquerc'h 2011-11-10 19:16:26 UTC
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.
Comment 2 Akhil Laddha 2011-12-22 04:54:32 UTC
Christian, are you able to reproduce problem in latest gstreamer ?
Comment 3 Christian Fredrik Kalager Schaller 2011-12-22 10:15:08 UTC
Not able to compile 0.11 git master to verify currently.
Comment 4 Christian Fredrik Kalager Schaller 2012-01-06 13:33:02 UTC
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
Comment 5 Christian Fredrik Kalager Schaller 2012-01-06 13:39:01 UTC
Switched it over to Ogg input and now it works. Closing as fixed.