Bug 392294 - Rendered videos are always 1000 fps
Summary: Rendered videos are always 1000 fps
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 17.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-25 08:39 UTC by François
Modified: 2018-03-30 09:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François 2018-03-25 08:39:50 UTC
When rendering videos (in any format) the output video file is always set to 1000 frames per second.

This issue in not directly visible when playing the video in a video player like VLC or MPV because the video duration is set correctly.

Here is an example of what ffprobe is showing from a video encoded with Kdenlive :

$ ffprobe -i myvideo.webm -hide_banner

Input #0, matroska,webm, from 'myvideo.webm':
  Metadata:
    ENCODER         : Lavf57.83.100
  Duration: 00:00:05.00, start: 0.000000, bitrate: 1136 kb/s
    Stream #0:0: Video: vp8, yuv420p(bt709/unknown/bt709, progressive), 1920x1080, SAR 1:1 DAR 16:9, 1k fps, 25 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      DURATION        : 00:00:05,003000000
    Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:00:04,943000000

As you can see, even though my project was defining 24fps, frame rate is set to 1k fps.

Thank you.
Comment 1 Jean-Baptiste Mardelle 2018-03-26 06:31:29 UTC
If you can send me (or attach) a simple .kdenlive project file that has this bug it would help. Thanks
Comment 2 Jean-Baptiste Mardelle 2018-03-26 06:52:27 UTC
Oh forget the project file I can reproduce easily... looking at this!
Comment 3 Jean-Baptiste Mardelle 2018-03-27 16:58:34 UTC
I made a few tests, and in fact it seems like the produced videos have a correct fps, but report it incorrectly. Did you encounter any issues besides the wrong fps ? Any problem playing the videos or using it in other apps ?
In any case this is an MLT issue and I am reporting it right now with a patch proposal...
Comment 4 François 2018-03-27 19:01:05 UTC
Thank you Jean-Baptiste,

I had no problem when playing the video. However, I am working on different fps for different projects so I need to easily check fps on every file.

Thank you for forwarding the bug!
Comment 5 Jean-Baptiste Mardelle 2018-03-28 06:04:43 UTC
Fixed in MLT's latest git
Comment 6 François 2018-03-28 07:32:29 UTC
Thnak you! :)
Comment 7 François 2018-03-30 09:06:48 UTC
I can confirm that the bug is fixed in the latest appimage.

Thank you!