GNOME Bugzilla – Bug 675553
Internal GStreamer/ffmpegcolorspace error: code not implemented
Last modified: 2012-09-27 21:15:35 UTC
I am getting, after many successful iterations playing the same file, the following error message: *** Iteration 982, playing ad number 16: cafe.png !!!Error in element conversion: Internal GStreamer error: code not implemented. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Debug: ..\..\..\..\..\Source\gst-plugins-base\gst\ffmpegcolorspace\gstffmpegcolo rspace.c(495): gst_ffmpegcsp_transform (): /GstPipeline:main_pipe/GstFFMpegCsp:c onversion: cannot convert between formats The error above is produced by: gst_message_parse_error (msg, &err, &debug); g_print ("\n!!!Error in element %s: %s\n", GST_OBJECT_NAME (msg->src), err->message); g_print ("Debug: %s\n", (debug) ? debug : "none"); The element in question is defined by: conversion = gst_element_factory_make ("ffmpegcolorspace", "conversion"); My program starts by twice complaining ImportError: No module named pygtk The GStreamer is taken from http://code.google.com/p/ossbuild/downloads/list GStreamer-WinBuilds-GPL-x86-Beta04-0.10.7.msi GStreamer-WinBuilds-SDK-GPL-x86-Beta04-0.10.7.msi as recommeded by David Hoyt
ffmpegcolorspace is part of gst-plugins-base. What's your version of ffmpegcolorspace? (see gst-inspect-0.10 ffmpegcolorspace) Could you provide a GST_DEBUG=basetransform:5,ffmpegcolorspace:5 log of the issue?
Created attachment 213594 [details] GST_DEBUG=basetransform:5,ffmpegcolorspace:5 The last half of the log produced with GST_DEBUG=basetransform:5,ffmpegcolorspace:5 Decompress by lzma -d xab.lzma
Actually, it behaves differently when run on 32-bit Windows XP and 64-bit Windows 7. I have version 0.10.31 installed on both XP and 7 from (David Hoyt's) GStreamer-WinBuilds-GPL-x86-Beta04-0.10.7.msi GStreamer-WinBuilds-SDK-GPL-x86-Beta04-0.10.7.msi downloaded from http://code.google.com/p/ossbuild/downloads/list Here's what happens on XP (next comment will be devoted to Win 7): Sergei@fl-dev /cygdrive/c/Program Files/OSSBuild/GStreamer/v0.10.7/bin $ ./gst-inspect.exe ffmpegcolorspace Factory Details: Long name: FFMPEG Colorspace converter Class: Filter/Converter/Video Description: Converts video from one colorspace to another Author(s): GStreamer maintainers <gstreamer-devel@lists.sourceforge.net> Rank: none (0) Plugin Details: Name: ffmpegcolorspace Description: colorspace conversion copied from FFMpeg 0.4.9-pre1 Filename: C:\Program Files\OSSBuild\GStreamer\v0.10.7\lib\gstreamer-0.10\libgstffmpegcolorspace.dll Version: 0.10.31 License: LGPL Source module: gst-plugins-base Source release date: 2010-11-01 16:33 (UTC) Binary package: FFMpeg Origin URL: http://ffmpeg.sourceforge.net/ The same program on 32-bit Windows XP and now it systematically breaks with: Unhandled exception at 0x77c46fa3 in main.exe: 0xC0000005: Access violation writing location 0x197cc000. The address 0x77c46fa3 is always unchanged and it is contained in msvcrt.dll (as the VS debugger reports)
Under Windows 7 (on 2 different installations) it crashes more explicitly with: *** Iteration 488, playing ad number 18: we_believe_its_about_ny.png !!!Error in element conversion: Internal GStreamer error: code not implemented. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Debug: ..\..\..\..\..\Source\gst-plugins-base\gst\ffmpegcolorspace\gstffmpegcolo rspace.c(495): gst_ffmpegcsp_transform (): /GstPipeline:main_pipe/GstFFMpegCsp:c onversion: cannot convert between formats SEGMENT DONE message ffmpegcolorspace is the same: fl@dell /cygdrive/c/Program Files (x86)/OSSBuild/GStreamer/v0.10.7/bin $ gst-inspect.exe ffmpegcolorspace Factory Details: Long name: FFMPEG Colorspace converter Class: Filter/Converter/Video Description: Converts video from one colorspace to another Author(s): GStreamer maintainers <gstreamer-devel@lists.sourceforge.net> Rank: none (0) Plugin Details: Name: ffmpegcolorspace Description: colorspace conversion copied from FFMpeg 0.4.9-pre1 Filename: C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.7\lib\gstreamer-0.10\libgstffmpegcolorspace.dll Version: 0.10.31 License: LGPL Source module: gst-plugins-base Source release date: 2010-11-01 16:33 (UTC) Binary package: FFMpeg Origin URL: http://ffmpeg.sourceforge.net/ The last half of the log will be in the next attachment
Created attachment 213600 [details] Win 7: GST_DEBUG=basetransform:5,ffmpegcolorspace:5 log The last half of the log file on Windows 7 uncompress with lzma -d log7.txt.lzma
Call stack when unhandled exception happens in Windows XP. The address 77c46fa3 is always the same (launched independently from within or outside MS Visual Studio 2010) > msvcrt.dll!77c46fa3() [Frames below may be incorrect and/or missing, no symbols loaded for msvcrt.dll] libgstd3dvideosink.dll!010d4330() libgstvideo-0.10.dll!00cc296f() libgstbase-0.10.dll!00cd8f25() libgstbase-0.10.dll!00cd904e() libgstbase-0.10.dll!00cd9e6f() libgstbase-0.10.dll!00cd9f65() libgstbase-0.10.dll!00cd9fb1() libgstreamer-0.10.dll!1003325d() libgstreamer-0.10.dll!10033aa6() libgstreamer-0.10.dll!10033aff() libgstreamer-0.10.dll!1003325d() libgthread-2.0-0.dll!65c41c54() libgstreamer-0.10.dll!10035401() libgstreamer-0.10.dll!100548ae() libgstreamer-0.10.dll!100553f6() libglib-2.0-0.dll!686147d9() libglib-2.0-0.dll!6861290b() msvcrt.dll!77c2c2de() libgthread-2.0-0.dll!65c4231a() msvcrt.dll!77c3a3b0() kernel32.dll!7c80b729()
Thanks for the debug info. Sorry we never managed to get to the bottom of this. Unfortunately, I think it's unlikely anyone will ever go and look into this, as ffmpegcolorspace has been replaced by a new videoconvert element in GStreamer 1.0. I would suggest you upgrade to 1.0. If you want to file a bug against the GStreamer SDK, you can do this here: https://bugs.freedesktop.org/enter_bug.cgi?product=GStreamer%20SDK