GStreamer-Winbuilds err
Sergei Vorobyov
sergei.vorobyov at facilitylabs.com
Sat May 5 14:51:17 PDT 2012
Thanks!
I did as you suggested but it asked me to file a bug (below). I installed
GStreamer-WinBuilds-GPL-x86-Beta04-0.10.7.msi
GStreamer-WinBuilds-SDK-GPL-x86-Beta04-0.10.7.msi
and after fiddling with include paths succeeded to compile using the batch file
@set PTH=%ProgramFiles(x86)%\OSSBuild\GStreamer\v0.10.7\sdk
cl.exe /I"%PTH%\include" /I"%PTH%\include\glib-2.0"
/I"%PTH%\include\gstreamer-0.10" /I"%PTH%\include\libxml2" main.c
/link /libpath:"%PTH%\lib" gstreamer-0.10.lib gobject-2.0.lib
gmodule-2.0.lib gthread-2.0.lib glib-2.0.lib intl.lib iconv.lib
(gcc refused to compile: c:/Program Files
(x86)/OSSBuild/GStreamer/v0.10.7/sdk/include/stdint.h:33:2: error:
#error "Use this header only with Microsoft Visual C++ compilers!"
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/
wchar.h:617:0,)
Also, cl.exe with /Wall produced tons of warnings (never seen on Linux with gcc:
...
C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.7\sdk\include\glib-2.0\gobject/g
type.h(1540) : warning C4668: '__GNUC__' is not defined as a preprocessor macro,
replacing with '0' for '#if/#elif'
C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.7\sdk\include\glib-2.0\gobject/g
value.h(124) : warning C4820: '_GValue' : '4' bytes padding added after data mem
ber 'g_type'
C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.7\sdk\include\glib-2.0\gobject/g
param.h(269) : warning C4820: '_GParameter' : '4' bytes padding added after data
member 'name'
C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.7\sdk\include\glib-2.0\gobject/g
paramspecs.h(622) : warning C4820: '_GParamSpecChar' : '1' bytes padding added a
fter data member 'default_value'
C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.7\sdk\include\glib-2.0\gobject/g
paramspecs.h(639) : warning C4820: '_GParamSpecUChar' : '1' bytes padding added
after data member 'default_value'
C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.7\sdk\include\glib-2.0\gobject/g
paramspecs.h(861) : warning C4820: '_GParamSpecString' : '3' bytes padding added
after data member 'substitutor'
...)
Anyway (after some fiddling with environment variables), the compiled
program started to run, with just two complaints:
- "The program cannot start because python2.6.dll is missing" (it
started anyway; I have not requested python; python2.6 is old story,
not available any more; python distributables do not have python*.dll)
- "ImportError: module pygtk" (twice)
And it run pretty well, until (previously it successfully played the
same files numerous times)
*** Iteration 966, playing ad number 5: Smartscreen_default_movie_4.avi
!!!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
*** Iteration 967, playing ad number 18: we_believe_its_about_ny.png
!!!Error in element avidemux1: Internal data stream error.
Debug: ..\..\..\..\..\Source\gst-plugins-good\gst\avi\gstavidemux.c(5143): gst_a
vi_demux_loop (): /GstPipeline:main_pipe/GnlComposition:composition/GnlSource:gs
rc5/GstPipeline:pipe5/GstDecodeBin2:dec5/GstAviDemux:avidemux1:
streaming stopped, reason not-supported
SEGMENT DONE message
My pipe is pretty straightforward: I combine a bunch of gnlsources and
then play them in random order. Under Linux it works OK for weeks,
under Windows the same program fails as described before, just after a
few hundred iterations.
On Fri, May 4, 2012 at 6:08 PM, David Hoyt <dhoyt at guidewire.com> wrote:
>> Any ideas?
>
> Start with using a later build (the beta is pretty stable, actually): http://code.google.com/p/ossbuild/downloads/list
>
> Or you can instead wait for the SDK that's been announced which is likely to be more up-to-date. Could you also please provide your pipeline?
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list