Registered Member
|
In the Kdenlive "Custom Profile" I have tried to get variations of FFMPEG's "setpts" filter to work. Using ffmpeg and the command line the following works:
I have tried many combinations with "setpts" in a Custom Profile, but none have been successful in increasing the number of frames in the 24/18 (1.333) ratio. What is the proper syntax for use of setpts when used in a Kdenlive Custom Profile?
Last edited by mbower on Mon Sep 21, 2015 7:26 pm, edited 1 time in total.
|
KDE Developer
|
Hello,
Profiles options are melt options. Setpts is a video filter. For changing the speed of a clip, there is the speed effect ; it doesn't use the same backend but you should get similar results? MLT should be adapt by itself the frame rates between input media and output profile... Not sure I understood what you want to do Vincent |
Registered Member
|
Scope: I am converting prores422(HQ).mov files which I have edited in Kdenlive to H.264/mp4 files with high quality and frames increased by ratio of 24/18.
The way I have been doing this is to edit in Kdenlive as I stated and save in Kdenlive as prores.mov. I then use ffmpeg to create the .mp4 files from the .mov files. The reason for increasing the frames, ie, every 3rd frame is copied and inserted into the stream, is that my super8mm film was transferred/digitized at 24fps while the original rate was 18fps. By adding the extra frames via ffmpeg, but continuing to view at 24fps, the apparent runtime rate becomes 18fps - the eye is "fooled". The code below works just fine when executed in ffmpeg on the cmd line. The goal is get the equivalent code to work as a Custom Profile in Kdenlive. Then my current two step process reduces to one by skipping storing an intermediate file. And significantly in the process, add the extra frames. Thus the use of "setpts". The ffmpeg code that works is,
Somewhere I read that the Custom Profile uses the ffmpeg parameters. And indeed, the "-c:v libx264 -preset slow-pix_fmt yuv420p -crf 17" part seems to work just fine. But I cannot get "setpts" to work, ie, to increase the frame number by the 24/18(1.333) ratio. I looked at the MELT link you supplied, but did not see what might work for me. Seems you are saying that the ffmpeg filter "setpts" might not be available for the Custom Profile, but maybe there is a MELT function that handles the extra frame/insertion process? |
Registered Member
|
Doesn't sound like the right approach to me, if you're correcting an incorrect framerate, you just need to force the frame rate to be the correct one, right?
Open kdenilve, drop your file into the project bin. Right-click the video file and then select video properties. Click the pencil tab and tick the frame rate option, set the frame rate to 18. |
Registered Member
|
Does this recent Kdenlive thread help? viewtopic.php?f=272&t=129744
|
Registered Member
|
@ CTruths & TDO
Some time passed between my original appeal for help and now seeing your responses - frankly, I am rusty. I reviewed your comments and link, and it looks like there may be a Kdenlive process that will work for me. Give me a little time, and I will return re my progress or not in getting the Custom Profile to work for me. |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient