This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Error(?) while rendering

Tags: None
(comma "," separated)
optivus
Registered Member
Posts
4
Karma
0

Error(?) while rendering

Sun Sep 26, 2010 8:24 am
Hi,

I had some warning/error while rendering:

Render didn't work (translated)
"[mp3 @ 0x82e2830]mdb:26, lastbuf:0 skipping granule 0
[mp3 @ 0x83fcbd0]mdb:26, lastbuf:0 skipping granule 0
swScaler: Compile-time maximum width is 5120 change VOF/VOFW and recompile
Last message repeated 2 times [mp3 @ 0xc043680]mdb:453, lastbuf:0 skipping granule 0 Last message repeated 1 times [mp3 @ 0xc043680]mdb:453, lastbuf:0 skipping granule 1
Last message repeated 1 times [mp3 @ 0xc043680]mdb:449, lastbuf:382 skipping granule 0"

Kdenlive 0.7.7.1
MPEG4-25000k-2pass

I've selected 5min of my movie. Rendered. Output file is almost 600MB, and can be played. No log file.
So my questions is: what's wrong?
j-b-m
Registered Member
Posts
804
Karma
1

Re: Error(?) while rendering

Sun Sep 26, 2010 12:35 pm
The problem might come from here:

swScaler: Compile-time maximum width is 5120 change VOF/VOFW and recompile

FFmpeg's scaler that is widely used in MLT does by default not accept sizes larger that ~4000 pixels (5120 in your case). You are either using a large image or doing a zoom on a small part of a video, which causes this problem.

The possible solutions are:

Solution 1 - use another scaler (MLT currently provides 3 different one: swscale, gtkrescale and rescale).
The default scaler is decided in the file:

$MLT_INSTALL/share/mlt/loader.ini

(where $MLT_INSTALL is the location where MLT is installed, usually in /usr or /usr/local).

Edit the file (as root) and find the line:

rescaler=swscale,gtkrescale,rescale

You can then change the order and put swscale at the end so that the other scalers are used first. The bad point is
that swscale provides a better quality...


Solution 2 - recompile FFmpeg - only do that if you already use a self compiled version of FFmpeg, that requires a good knowledge of
your system.

Solution 3 - Edit your project so that you don't have such a large rescale

Hope it helps

regards
jb


ddennedy
Registered Member
Posts
1315
Karma
1

Re: Error(?) while rendering

Mon Sep 27, 2010 5:41 am
MLT tries to detect when you are using too large of a image for swscale and instead use an alternative.
I need to know more about what is on the timeline? Are you using a slideshow clip?


optivus
Registered Member
Posts
4
Karma
0

Re: Error(?) while rendering

Mon Sep 27, 2010 6:17 pm
I was using composite transitions with quite large *.JPG - 1928x2835 (7MB).
In new (clean) project I could zoom it to 200% and move it in composite transition. But it couldn't be done in a bigger project.

I resolved it by cutting this file out.

Thanks for reply.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]