GNOME Bugzilla – Bug 330711
[ffmpegcolorspace] problems with palettized RGB (fencounter.avi)
Last modified: 2006-02-24 14:01:43 UTC
Please describe the problem: This file used to play, but currently it doesn't seem to work at all. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 59098 [details] Attaching avi file
it's video codec is video codec: Palettized 8-bit RGB, The following command line works : gst-launch-0.10 -v -t filesrc location=fencounters.avi ! decodebin ! ffmpegcolorspace ! xvimagesink
The above pipeline works for me too, but when played with playbin I get glibc assertion failures. It's usually one of two: Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: audioclock2 *** glibc detected *** free(): invalid next size (normal): 0x08285278 *** Program received signal SIGABRT, Aborted.
+ Trace 66131
Thread 922835888 (LWP 13214)
valgrind isn't much use here either. Christian, are you getting the same as I do, or something different?
I get the same debug as Tim. I can replicate the bug also using: filesrc ! avidemux ! ffmpegcolorspace ! videoscale ! fakesink or filesrc ! avidemux ! ffmpegcolorspace ! videobox ! fakesink (demuxer -> colorspace -> child of basetransform -> sink)
*** Bug 331790 has been marked as a duplicate of this bug. ***
This should fix it again: 2006-02-24 Tim-Philipp Müller <tim at centricular dot net> * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_caps_remove_format_info), (gst_ffmpegcsp_get_unit_size): The 'palette_data' field from incoming RGB caps shouldn't be proxied on outgoing YUV caps; also, restrict unit size adjustment in case of paletted data only to the unit that actually has a palette. Fixes #330711.