[Kdenlive-devel] Possible bug loading captured avi files
Stephane Fillod
f8cfe at free.fr
Sun Dec 10 00:02:43 UTC 2006
Sun, Dec 10, 2006 at 12:19:27AM +0100, Carlos Dávila skribis:
> Hello all
> I have loaded several avi files that I captured with dvgrab before this
> feature was available in kdenlive. I got 13 files of 1000 MB from a 60
> min DV tape + 1 short file with the remaining time. If I watch these
> files in Totem or load them into Cinelerra, they show total footage
> (4:41 min each one), but if I load them into kdenlive, they all seem to
> be only 1:03 min length.
Does the videos were shot in one piece or in successive scenes?
> I have reviewed all project and kdenlive preferences settings, watching
> for any file length limit, but did not find any. In the same project I
> have one clip captured also from DV tape, using WinDV, which is longer
> than 1:03 min with no problem.
> Any explanation?
Not sure whether this is the same problem, but I experienced similar
symptoms with a VOB file (from a DVD camcorder) which was having
timecode breaks. I've traced down the problem into FFmpeg. MLT request
the AVFormatContext->duration in src/modules/avformat/producer_avformat.c:producer_open()
and in fact, libavformat returns the length of the *last* scene.
So I had to trick kdenlive by "reseting" timecodes of the input file
using ffmpeg with -acodec copy -vcodec copy -dts_delta_threshold.
There surely must be a better way.
--
Stephane
More information about the Kdenlive
mailing list