GNOME Bugzilla – Bug 472959
gst-ffmpeg for Windows mis-compiled
Last modified: 2009-01-23 23:37:35 UTC
The gst-ffmpeg build at http://gstreamer.freedesktop.org/pkg/windows/releases/gst-ffmpeg/ has been compiled incorrectly. On startup, ffmpeg reports: "Compiler did not align stack variables. Libavcodec has been miscompiled and may be very slow or crash. This is not a bug in libavcodec, but in the compiler. Do not report crashes to FFmpeg developers." Any app using the ffmpeg plugins will crash shortly after setting the pipeline to play. Apologies if this is the wrong place for this report!
Sebastien: any idea what's going on here?
Hm yes, I know this problem. As it says I miscompiled ffmpeg and didn't find the problem. Then ffmpeg should be recompiled without this problem and we will just have to rebuild libgstffmpeg to link on. And yes that true, there is some crash with gstreamer+ffmpeg while seeking in divx or xvid files. It will be great to fix that.
*** Bug 467628 has been marked as a duplicate of this bug. ***
Well, I have updated Windows binaries http://gstreamer.freedesktop.org/pkg/windows/cvs/. Now, gst-ffmpeg setup includes ffmpeg win32 built on compatible revision (I was building svn head before :(). So, gst-ffmpeg becomes really stable for me :) Tristan, could you test it please ?
Created attachment 96842 [details] dr watson log file I tried the new binaries, but it still crashes in the same place. I posted the duplicated bug 467628 with the previous version. I attach a dr watson log file.
(In reply to comment #5) > Created an attachment (id=96842) [edit] > dr watson log file > I tried the new binaries, but it still crashes in the same place. I posted the > duplicated bug 467628 with the previous version. > I attach a dr watson log file. For example, with this file it crashes after some seconds. gst-launch-0.10.exe playbin uri="http://gstreamer.freedesktop.org/media/large/matrix.avi"
I am suffering from this crash problem too. The only thing that I am pretty sure is that this crash occurs only when I play divx or xvid files. At first, I suspected the ffmpeg binary and recompiled the gstreamer using gstreamer-0.10.15, gst-plugins-base-0.10.15 and gst-ffmpeg (GST_FFMPEG_NO_MIRROR branch) and ffmpeg-r11112 revision. All libraries are compiled in MSVC 6.0 except for ffmpeg which is compiled in mingw. However, the crash never goes away. Later I suspected the mpeg4 video decoder in ffmpeg (decoding divx and xvid) because only xvid or divx files crashed. and replaced it with libgstxvid and tried again. GStreamer still crashed while playing xvid file. The stack trace showed that there was a crash in xvidcore.dll. And then I suspected the playbin (or decodebin) used to play the video and hand-coded the pipeline. The crash is still there. I am totally lost at this moment guessing what is casuing the crash problem. Any guess?
I also tried gst-ffmpeg-0.10.2.2 with ffmpeg inclued in the release. There was no difference.
sebastien : can you reproduce this with your builds of the pre-release ? Can you get a 'readable' backtrace with that file ?
I checked this probelm again with gstreamer-0.10.17 and gst-ffmpeg CVS HEAD. I think the problem is fixed. I can't no longer crash gst-launch.
Can somebody provide the gst-ffmpeg windows binaries to test if the problem is fixed? Thanks in advance.
*** Bug 509954 has been marked as a duplicate of this bug. ***
I am closing as INCOMPLETE as the Edwards question from comment #9 hasn't been answered yet. Feel free to reopen if you have any news :)