hi, after almost finish all gstreamer rebuild:
- gstreamer-plugins-base add rtsp patch without it rstp not usable on windows. already upstream: https://bugzilla.gnome.org/show_bug.cgi?id=610916
- mingw-gstreamer-plugins-bad add gst-plugins-bad-d3d.patch the new d3dvideosink. already upstream: https://bugzilla.gnome.org/show_bug.cgi?id=651782 https://bugzilla.gnome.org/show_bug.cgi?id=652035 unfortunately it's not compile with mingw-64 trunk, just only 1.0, but the fix is on the way into mingw64 trunk.
- mingw-gstreamer-ffmpeg not in the svn repo since not in fedora, but a good conclusion that before the new marcos this was working (ie with %_mingw32_configure): --------------------------- %mingw_configure "--enable-shared" "--disable-static" "--with-ffmpeg-extra-configure='--disable-pthreads --enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska'" --------------------------- see the last parameter has "''", but it's no longer works. the only workaround i found is: --------------------------- export with_ffmpeg_extra_configure='--disable-pthreads --enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska' %mingw_configure "--enable-shared" "--disable-static" --------------------------- do i add mingw-gstreamer-ffmpeg to the svn?
Farkas Levente schreef op wo 22-06-2011 om 18:12 [+0200]:
- mingw-gstreamer-ffmpeg
not in the svn repo since not in fedora, but a good conclusion that before the new marcos this was working (ie with %_mingw32_configure):
%mingw_configure "--enable-shared" "--disable-static" "--with-ffmpeg-extra-configure='--disable-pthreads --enable-w32threads
--disable-muxer=matroska --disable-demuxer=matroska'"
see the last parameter has "''", but it's no longer works. the only workaround i found is:
export with_ffmpeg_extra_configure='--disable-pthreads --enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska' %mingw_configure "--enable-shared" "--disable-static"
do i add mingw-gstreamer-ffmpeg to the svn?
There's also another solution to this. You can set the environment variables MINGW32_CONFIGURE_ARGS and MINGW64_CONFIGURE_ARGS. With this you end up with something like this:
%build export MINGW32_CONFIGURE_ARGS="--with-ffmpeg-extra-configure='--disable-pthreads --enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska'" export MINGW64_CONFIGURE_ARGS="--with-ffmpeg-extra-configure='--disable-pthreads --enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska'" %mingw_configure "--enable-shared" "--disable-static"
It's not really that much more readable but it's just another method to achieve the same goal. It's strange anyway that you have to supply extra ffmpeg configure arguments wrapped inside a configure argument.
Go ahead with adding this package to the svn.
Kind regards,
Erik van Pienbroek
On 06/22/2011 07:45 PM, Erik van Pienbroek wrote:
achieve the same goal. It's strange anyway that you have to supply extra ffmpeg configure arguments wrapped inside a configure argument.
this's how the gstreamer-ffmpeg have to build if using the included ffmpeg and not the system ffmpeg (until we made a mingw-ffmpeg:-)
Go ahead with adding this package to the svn.
done.
On Wed, Jun 22, 2011 at 19:45, Erik van Pienbroek erik@vanpienbroek.nl wrote:
There's also another solution to this. You can set the environment variables MINGW32_CONFIGURE_ARGS and MINGW64_CONFIGURE_ARGS. With this you end up with something like this:
%build export MINGW32_CONFIGURE_ARGS="--with-ffmpeg-extra-configure='--disable-pthreads --enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska'" export MINGW64_CONFIGURE_ARGS="--with-ffmpeg-extra-configure='--disable-pthreads --enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska'" %mingw_configure "--enable-shared" "--disable-static"
it's be useful to add another define MINGW_CONFIGURE_ARGS which apply to all build target (which is the case in most cases). i'll just include this patch in my next mail for review...