Bug 356162 - .mxf (mpeg2) footage clips are not added completely
Summary: .mxf (mpeg2) footage clips are not added completely
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL: https://forum.kde.org/viewtopic.php?f...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 15:20 UTC by Rhizomatic Nomad
Modified: 2016-08-05 17:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rhizomatic Nomad 2015-12-01 15:20:33 UTC
If I add footage material of my Canon XF100 the end of the clips is missing in clip and project monitor and sadly after rendering, too. The footage is 1080i with 25fps.

Reproducible: Always

Steps to Reproduce:
1. Add the clips
2. Play them, either in clip or project monitor
3. Alternatively render that project

Actual Results:  
The clips and project isn't displayed correct.

Expected Results:  
Show and render the footage material correct, as it did till a previous version, probably not long before version 15.08.1-1 on an arch system.

In the forum I also described the problem, the link to that thread is added above in the URL form.
Comment 1 qubodup 2015-12-01 16:49:44 UTC
Would it be possible for you to record a video example where the issue occurs? You can upload it to http://archive.org/ as "video stock" or to dropbox/google drive/box.net etc.
Comment 2 Jean-Baptiste Mardelle 2015-12-01 21:30:41 UTC
Thanks for your report. There is a currently known issue in FFmpeg's recent git that causes seeking issue and incorrect display with MXF files. The problem has been reported on FFmpeg's bugtracker:
https://trac.ffmpeg.org/ticket/5017

This issue should hopefully be solved soon.

In the meantime, Dan Dennedy from MLT recommands using FFmpeg <= 2.7 because of some recent API changes that have not been fully tested agains MLT.
Comment 3 Rhizomatic Nomad 2015-12-02 22:23:59 UTC
I uploaded the footage with which I experienced the error for the first time to http://we.tl/Ri3cATVYpW and http://we.tl/cXkRH4Y0TN
Sorry for the big files, but as they are recorded as one sequence it's easier to see the misbehaving: There is a gap between the files if you play them in kdenlive while there is no gap in the footage if you play them in ffplay as well as in melt or VLC.

I'll try it with FFMmpeg <= 2.7 as a workaround.
Comment 4 Rhizomatic Nomad 2015-12-02 23:55:10 UTC
I didn't get an older version of ffmpeg running because of unresolvable dependencies with "libvpx.so=2-64" and "libx265.so=59-64" :(
Comment 5 Jean-Baptiste Mardelle 2015-12-08 23:05:17 UTC
A patch was committed to FFmpeg's git master yesterday that seems to fix the seeking issue with MXF clips. Seems to work for me. Do you have a way to try FFmpeg's latest git version ?
Comment 6 Rhizomatic Nomad 2015-12-25 21:57:19 UTC
I didn't manage to install the git version of FFmpeg, but tried it in Arch Linux with the ffmpeg 1:2.8.4-1, build on 20th December. The error/bug sadly still remains.

In the Kdenlive forum a user suggested to convert the files with "ffmpeg -i 1080i_25fps_footage.mxf -c copy x.mkv" which works as a workaround.
Comment 7 Rhizomatic Nomad 2015-12-31 15:59:32 UTC
As the mentioned FFmpeg bug is fixed, but the problem with .MXF files remain, the problem seems to be located elsewhere, nor?
Comment 8 Wegwerf 2016-07-31 09:11:44 UTC
Thomas, can you please test using the recent stable Kdenlive 16.04.2 version, with MLT 6.2.0+ at least, and ffmpeg 3.0.0+? Does the bug still persists? If not, I would like to ask you to be so kind as to close this bug report. Thank you very much for your cooperation!