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

Frame rate 25 vs.15 fps

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

Frame rate 25 vs.15 fps

Mon Sep 24, 2012 8:26 am
Hello,
i am new here to Kdenlive.
I ´ve got an image sequence of 420 frames from a rendering(1280x720), now i want to use this in kdenlive in a project with a framerate of 15 fps. Importing the sequence shows me the correct duration of 28 seconds(at 15fps), but if i play it or render it in a file, this file has the CORRECT duration of 28 seconds and correct framerate of 15 fps, but plays the image sequence in 16,8 seconds (that would be the correct time at 25 fps) and shows the last 11.2 seconds only the last frame.
How can i change the framerates so that i get a real 28 second video with all my source images at speed of 15 fps?

thx Torsten
capslock
Registered Member
Posts
699
Karma
4
OS

Re: Frame rate 25 vs.15 fps

Mon Sep 24, 2012 9:48 am
What are your project and render settings?
designor
Registered Member
Posts
4
Karma
0

Re: Frame rate 25 vs.15 fps

Mon Sep 24, 2012 11:17 am
I took an existing profile "HD 720p 25 fps" and changed the rate from 25/1 to 15/1, then i saved it as "HD 720p 15fps" and made it my standard profile.

Render settings fromscript:

SOURCE="file:///home/username/kdenlive/scripts/Skript001.sh.mlt"
TARGET="file:///home/username/kdenlive/Unbenannt.mp4"
RENDERER="/usr/bin/kdenlive_render"
MELT="/usr/bin/melt"
PARAMETERS="-pid:5822 $MELT /home/username/.kde/share/apps/kdenlive/profiles/customprofile0 avformat - $SOURCE $TARGET f=mp4 hq=1 acodec=aac ab=384k ar=48000 pix_fmt=yuv420p vcodec=libx264 minrate=0 vb=6000k g=250 bf=3 b_strategy=1 subcmp=2 cmp=2 coder=1 flags=+loop flags2=dct8x8 qmax=51 subq=7 qmin=10 qcomp=0.6 qdiff=4 trellis=1 aspect=@16/9 pass=2 progressive=1 an=1 threads=1 real_time=-1"
$RENDERER $PARAMETERS
capslock
Registered Member
Posts
699
Karma
4
OS

Re: Frame rate 25 vs.15 fps

Mon Sep 24, 2012 2:37 pm
I have never used melt from command line or script, but do you set the framerate somewhere?

(see http://www.mltframework.org/doxygen/properties.html)
frame_rate_num the numerator of the video frame rate, overrides mlt_profile_s

frame_rate_den the denominator of the video frame rate, overrides mlt_profile_s

Maybe that does the trick...

Cheers, Achim
j-b-m
Registered Member
Posts
804
Karma
1

Re: Frame rate 25 vs.15 fps

Mon Sep 24, 2012 4:53 pm
I did a quick test with a 15fps profile and it seems to work in current git. Which MLT/ Kdenlive versions are you using?
designor
Registered Member
Posts
4
Karma
0

Re: Frame rate 25 vs.15 fps

Mon Sep 24, 2012 6:14 pm
i use the last version from sunab ppa
kdenlive 0.9.2
and melt 0.8.2
designor
Registered Member
Posts
4
Karma
0

Re: Frame rate 25 vs.15 fps

Tue Sep 25, 2012 10:33 am
Ich dachte melt wird nur fürs Rendern genutzt? Die Framerate habe ich auch nirgends anders gesetzt, habe nur die neuesten Versionen von kdenlive und melt von sunab installiert.
Die falsche Framerate ist aber schon in der Timeline sichtbar, außerdem wird die Bildsequenz teilweise auch nicht richtig abgespielt.
Ich füge die Sequenz zum Projekt hinzu, lege den Clip in die Timeline und beim ersten Abspielen wird der Clip (zwar mit falscher Framerate) komplett abgespielt, danach kann ich aber nicht mehr über die Timeline scrubben, im Vorschaufenster ist dann nichts mehr zu sehen.

I thought melt is used only for the final rendering?
I didn´t set the framerate anywhere else, only installed the newest versions of melt and kdenlive from sunab.
The wrong playback is not only in the rendering, even in the timeline it is visible. Also the image sequence will not played back well at every start. I add the sequence to the project, put it in the timeline and at first playing sometimes all will play complete ( but with wrong framerate).
After this playing i cannot scrub over the timeline, nothing to see in the preview window.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]