Hello, is it possible to use another library than quicktme, something rather open-source, in gem and griflow, and other externals like this?
I was thinking about gmerlin for example.
Colet Patrice
hello
what OS are you on? I got gmerlin working (sort of) on OSX 10.7 with the 64bit version of extended... this was the easy (although it wasn't) alternative to writing a qtkit gem plugin....
m
On Sat, Mar 17, 2012 at 9:41 AM, Patrice Colet colet.patrice@free.fr wrote:
Hello, is it possible to use another library than quicktme, something rather open-source, in gem and griflow, and other externals like this?
I was thinking about gmerlin for example.
Colet Patrice
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I'm giving a try on msys, the build system can compile a working version of Gem but without media plugins, what is the procedure for having the usual gem object using gmerlin library?
Colet Patrice
----- Mail original -----
De: "m.e.grimm" megrimm@gmail.com
what OS are you on? I got gmerlin working (sort of) on OSX 10.7 with the 64bit version of extended... this was the easy (although it wasn't) alternative to writing a qtkit gem plugin....
On 03/17/12 21:59, Patrice Colet wrote:
I'm giving a try on msys, the build system can compile a working version of Gem but without media plugins, what is the procedure for having the usual gem object using gmerlin library?
i don't thiunk anybody gave the gmerlin plugin a try on w32/mingw yet (though e.g. vlc is known to work)
the usual procedure is to tell Gem's configure where to find gmerlin (PKG_GMERLIN_AVDEC_CFLAGS and PKG_GMERLIN_AVDEC_LIBS) and hope it will autodetec everything....
gmasdr IOhannes
i don't thiunk anybody gave the gmerlin plugin a try on w32/mingw yet (though e.g. vlc is known to work)
the usual procedure is to tell Gem's configure where to find gmerlin (PKG_GMERLIN_AVDEC_CFLAGS and PKG_GMERLIN_AVDEC_LIBS) and hope it will autodetec everything....
gmerlin is detected but I couldn't make it because of this:
'glutMainLoopEvent' was not declared in this scope
...
./configure --without-all
compiles gem.dll but couldn't create some other library files
/filmAVI.cpp:230: undefined reference to `AVIStreamRead@28'
...
I haven't tried yet with libvlc
On 03/18/12 00:31, Patrice Colet wrote:
i don't thiunk anybody gave the gmerlin plugin a try on w32/mingw yet (though e.g. vlc is known to work)
the usual procedure is to tell Gem's configure where to find gmerlin (PKG_GMERLIN_AVDEC_CFLAGS and PKG_GMERLIN_AVDEC_LIBS) and hope it will autodetec everything....
gmerlin is detected but I couldn't make it because of this:
'glutMainLoopEvent' was not declared in this scope
do something like $ make -k to get over non-neccessary build steps (Gem seems to find a non-freeglut installation of glut and fails to build the [gemglutwindow] objectclass, which should be of no concern to you)
...
./configure --without-all
don't (if you don't want nothing :-))
compiles gem.dll but couldn't create some other library files
/filmAVI.cpp:230: undefined reference to `AVIStreamRead@28'
ah well, you disabled checks for libvfw by sepcifying (--without-all) and configure is not so clever as to remove filmAVI in this case yet (when building on w32)
fgmasdr IOhannes
Le 2012-03-17 à 14:41:00, Patrice Colet a écrit :
is it possible to use another library than quicktme, something rather open-source, in gem and griflow, and other externals like this? I was thinking about gmerlin for example.
last year's GridFlow 9.13 binaries for OSX, link with both QuickTime and libquicktime. The latter is completely different code by a different author, can do encoding, is better supported by GridFlow than QuickTime is, and runs in 64-bit mode too.
Though ideally, I'd be replacing it with gmerlin, a newer library by the same author. Last time I looked, something about installing it was a mess, but I don't remember what it was, and it was years ago, so it's surely much better now.
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
so it's surely much better now.
yes it is.... burkhard has done a bunch of work over last couple months.
Last time I looked, something about installing it was a mess,
just needs to be compiled from latest svn source.... at least on OSX
i have it (kind of) working with Gem. Have a go at getting it working with gridflow?
m
On Sat, Mar 17, 2012 at 11:07 AM, Mathieu Bouchard matju@artengine.ca wrote:
Le 2012-03-17 à 14:41:00, Patrice Colet a écrit :
is it possible to use another library than quicktme, something rather open-source, in gem and griflow, and other externals like this? I was thinking about gmerlin for example.
last year's GridFlow 9.13 binaries for OSX, link with both QuickTime and libquicktime. The latter is completely different code by a different author, can do encoding, is better supported by GridFlow than QuickTime is, and runs in 64-bit mode too.
Though ideally, I'd be replacing it with gmerlin, a newer library by the same author. Last time I looked, something about installing it was a mess, but I don't remember what it was, and it was years ago, so it's surely much better now.
______________________________________________________________________ | Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
De: "Mathieu Bouchard" matju@artengine.ca
Though ideally, I'd be replacing it with gmerlin, a newer library by the same author. Last time I looked, something about installing it was a mess, but I don't remember what it was, and it was years ago, so it's surely much better now.
It's still a mess on windows, on msys apply this following patch for resolving missing X11 headers:
http://comments.gmane.org/gmane.comp.video.gmerlin.general/325
there are plenty of errors popping from *_ffmpeg.c, I've manually resolved some, but this is not really elegant.
========================================================== --- lib/demux_ffmpeg.c.old 2012-03-17 21:28:15 +0000 +++ lib/demux_ffmpeg.c 2012-03-17 21:23:33 +0000 @@ -577,11 +577,11 @@
/* With the current implementation in ffmpeg, this can be called multiple times */ -#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(52, 29, 0)
-#else
-#endif +// #if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(52, 29, 0)
+// #else
+// #endif
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(52, 26, 0) avfc = av_alloc_format_context(); @@ -626,14 +626,12 @@ { switch(avfc->streams[i]->codec->codec_type) {
case CODEC_TYPE_AUDIO:
case AVMEDIA_TYPE_AUDIO:
init_audio_stream(ctx, avfc->streams[i], i);
break;
case CODEC_TYPE_VIDEO:
case AVMEDIA_TYPE_VIDEO:
init_video_stream(ctx, avfc->streams[i], i);
break;
case CODEC_TYPE_SUBTITLE:
break;
default:
break;
}
@@ -650,7 +648,7 @@ ctx->stream_description = bgav_sprintf(TRD("%s (via ffmpeg)"), priv->avfc->iformat->long_name);
@@ -660,7 +658,7 @@ if(avfc->album[0]) ctx->tt->cur->metadata.album = bgav_strdup(avfc->album); if(avfc->genre[0])
ctx->tt->cur->metadata.genre = bgav_strdup(avfc->genre);*/
return 1; }
@@ -736,8 +734,8 @@ s->data.video.palette_changed = 1; }
// if(pkt.flags&PKT_FLAG_KEY)
// PACKET_SET_KEYFRAME(p); bgav_packet_done_write(p);
av_free_packet(&pkt);
==========================================================
--- lib/video_ffmpeg.c.old 2012-03-17 21:28:00 +0000 +++ lib/video_ffmpeg.c 2012-03-17 21:23:47 +0000 @@ -55,6 +55,12 @@
#define LOG_DOMAIN "ffmpeg_video"
+#ifdef WIN32 +#define AV_DLLIMPORT __declspec(dllimport) +#else +#define AV_DLLIMPORT +#endif
// #define DUMP_DECODE // #define DUMP_EXTRADATA // #define DUMP_PACKET @@ -815,7 +821,7 @@ if(s->action == BGAV_STREAM_PARSE) return 1;
priv->ctx->codec_type = AVMEDIA_TYPE_VIDEO;
priv->ctx->bit_rate = 0;
@@ -2305,6 +2311,7 @@ { // TODO: Enable postprocessing for non-gavl pixelformats // (but not as long as it makes no sense)
#ifdef HAVE_LIBSWSCALE sws_scale(priv->swsContext, priv->frame->data, priv->frame->linesize,
==============================================================
./configure --without-doxygen --disable-speex
will make the gmerlin lib on msys