Bug 514447 - Video imported with incorrect frame rate
Summary: Video imported with incorrect frame rate
Status: REPORTED
Alias: None
Product: kdenlive
Classification: Applications
Component: Project Bin & Import (other bugs)
Version First Reported In: 25.12.0
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2026-01-11 10:06 UTC by Tim
Modified: 2026-01-13 14:23 UTC (History)
1 user (show)

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


Attachments
Video that cannot be imported correctly (2.75 MB, video/mp4)
2026-01-11 10:06 UTC, Tim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim 2026-01-11 10:06:19 UTC
Created attachment 188414 [details]
Video that cannot be imported correctly

SUMMARY
Some videos are imported with an incorrect framerate. The details in KDE list 30 fps, the clip plays normal in VLC Media Player. When importing into Kdenlive, it is listed with a substantially lower fps count (2 for the attached video, but I have seen 0.2 on a different clip). When converting the codec to AV1 via HandBrake, the video is imported correctly. The "faulty" videos are timelapses recorded with TimeLapseCam (https://f-droid.org/en/packages/org.woheller69.TimeLapseCam/) on different Android Phones (mine is a Fairphone 6 running /e/OS, I don't know about the phone my friend used - his produced the same issue with the same app).
Time Lapse Videos recorded on a Pixel 9a Phone (different phone than mine or the previously mentioned friend) with the stock camera app work fine.

STEPS TO REPRODUCE
1. Record a video with the TimeLapseCam app or load the attached video
2. Check the video's Framerate in KDE. For the attached video, it will list 30fps
3. Import the video into KDE and check the clip properties. It will list 2fps
4. Move the clip into the story board an play in preview or render the video. It will be visibly choppy video.
5. Convert the clip via HandBrake to use AV1 encoding with the same framerate and Constant Quality 30, default settings otherwise.
6. Import the converted clip and recheck properties and playback - they are correct now.

OBSERVED RESULT
The clip is imported with an incorrect framerate

EXPECTED RESULT
The clip is imported with the correct framerate

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch Linux, Kernel 6.18.3-arch1-1
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Comment 1 Bernd 2026-01-11 23:19:38 UTC
Can you post the output of mediainfo?
Comment 2 Tim 2026-01-12 20:42:21 UTC
> mediainfo BugRepro0.mp4 
General
Complete name                            : BugRepro0.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42)
File size                                : 2.75 MiB
Duration                                 : 667 ms
Overall bit rate                         : 34.5 Mb/s
Frame rate                               : 30.000 FPS
Encoded date                             : 2026-01-11 09:58:48 UTC
Tagged date                              : 2026-01-11 09:58:48 UTC
Writing operating system                 : Google Android 15
Writing hardware                         : Fairphone 6
com.android.video.temporal_layers_count  : Unknown kind of value!

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 2 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 667 ms
Bit rate                                 : 34.5 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Rotation                                 : 90°
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Real frame rate                          : 2.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.555
Stream size                              : 2.74 MiB (100%)
Title                                    : VideoHandle
Language                                 : English
Encoded date                             : 2026-01-11 09:58:48 UTC
Tagged date                              : 2026-01-11 09:58:48 UTC
Color range                              : Full
Color primaries                          : BT.601 PAL
Transfer characteristics                 : BT.709
transfer_characteristics_Original        : BT.601
Matrix coefficients                      : BT.601
matrix_coefficients_Original             : BT.470 System B/G
mdhd_Duration                            : 667
Codec configuration box                  : avcC
Comment 3 Bernd 2026-01-13 14:23:33 UTC
Thanks. We need to look into what frame rate info Kdenlive uses.