View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002424KdenliveMLTpublic2011-11-26 23:112011-11-29 23:54
Assigned Toj-b-m 
Platform32 bit intel and alikeOSDebian LinuxOS Version4.0
Product VersionRecent git 
Target VersionFixed in Version 
Summary0002424: kdenlive/melt fail to play clip to the end
DescriptionConverted on 60 fps clip to slow motion 30fps with a ffmpeg script. Clip plays fine with mplayer and ffplay but melt and kdenlive get the clip length wrong or don't play it completely.
Steps To ReproduceOriginal clip was slowed down with this script, tip found from [^] :

ffmpeg -i "$f" -f yuv4mpegpipe -pix_fmt yuv420p -y /dev/stdout | \
yuvcorrect -T INTERLACED_TOP_FIRST 2>/dev/null | yuvfps -s 30000:1001 -r 30000:1001 | \
yuvcorrect -T PROGRESSIVE 2>/dev/null | mpeg2enc --no-constraints -f3 -nn -a3 -Ktmpgenc \
-lh -b24000 -V488 -r32 -G18 -q9 -s -o "$f".slow.m2v

Faulty clip: [^]

Play it in kdenlive or melt. mplayer and ffplay have no problems with it.
TagsNo tags attached.
Build/Install MethodManual build from SVN
Attached Files

- Relationships

-  Notes
j-b-m (administrator)
2011-11-27 22:56

Not sure the problem is in MLT / Kdenlive.
FFmpeg gives a duration of 1.53 seconds for this clip (ffmpeg -i youclip.m2v), which is the duration MLT plays it. FFplay / mplayer still play the file till the end, but I think there still is something wrong with the muxing...

Re-wrapping the file in a different container like this:

ffmpeg -i yourclip.m2v -acodec copy -vcodec copy test.avi

Solves the problem...
mcfrisk (reporter)
2011-11-29 23:54

Thanks, rewrapping helps but does not work in place e.g. ffmpeg -i source.m2v -acodec copy -vcodec copy source.m2v (note to self, test before running for a bunch of clips).

- Issue History
Date Modified Username Field Change
2011-11-26 23:11 mcfrisk New Issue
2011-11-27 22:56 j-b-m Note Added: 0007629
2011-11-27 22:56 j-b-m Assigned To => j-b-m
2011-11-27 22:56 j-b-m Status new => feedback
2011-11-29 23:54 mcfrisk Note Added: 0007638
2011-11-29 23:54 mcfrisk Status feedback => assigned

Copyright © 2000 - 2016 MantisBT Team
Powered by Mantis Bugtracker