[Kdenlive-devel] Latest MLT framework

Stephane Fillod f8cfe at free.fr
Wed Feb 28 16:56:37 UTC 2007


Wed, Feb 28, 2007 at 05:05:18PM +0100, jb skribis:
> Zsolt Sandor wrote:
> > Hi!
> >
> > Did anybody tried out the latest MLT/MLT++ framework? Because I get a
> > HUGE error at the starting of the latest kdenlive from svn...
> >   
> Hello.
> 
> There was no recent commit to MLT, but there was a change in FFPMEG 2
> days ago that breaks Kdenlive compilation.
> I am not sure why they made the change in FFMPEG and maybe the problem
> will later be fixed in FFMPEG, but I just committed a hack to allow
> Kdenlive compilation until the issue is solved. It should no be a
> problem for users of older FFMPEG...

I have this patch in my local tree to have FFMPEG compile on my ubuntu 6.1
system. I don't know how much it hurts the video processing.


Index: vhook/imlib2.c
===================================================================
--- vhook/imlib2.c	(révision 8046)
+++ vhook/imlib2.c	(copie de travail)
@@ -103,6 +103,7 @@
 #undef time
 #include <sys/time.h>
 #include <time.h>
+#include <X11/Xlib.h>
 #include <Imlib2.h>
 #include "eval.h"
 
Index: libavcodec/x264.c
===================================================================
--- libavcodec/x264.c	(révision 8046)
+++ libavcodec/x264.c	(copie de travail)
@@ -149,7 +149,7 @@
     else{
         if(avctx->crf){
             x4->params.rc.i_rc_method = X264_RC_CRF;
-            x4->params.rc.f_rf_constant = avctx->crf;
+            x4->params.rc.i_rf_constant = avctx->crf;
         }else if(avctx->cqp > -1){
             x4->params.rc.i_rc_method = X264_RC_CQP;
             x4->params.rc.i_qp_constant = avctx->cqp;
Index: libavcodec/imgconvert.c
===================================================================
--- libavcodec/imgconvert.c	(révision 8046)
+++ libavcodec/imgconvert.c	(copie de travail)
@@ -2336,7 +2336,7 @@
     return 0;
 }
 
-#ifndef CONFIG_SWSCALER
+#ifdef CONFIG_SWSCALER
 /* XXX: always use linesize. Return -1 if not supported */
 int img_convert(AVPicture *dst, int dst_pix_fmt,
                 const AVPicture *src, int src_pix_fmt,

-- 
Stephane




More information about the Kdenlive mailing list