[Kdenlive-devel] [FFmpeg-user] pal dv support

Mikko Rapeli mikko.rapeli at iki.fi
Tue Sep 29 18:54:42 UTC 2009


This problem is now fixed in latest ffmpeg git/svn.

On Tue, Sep 29, 2009 at 09:20:11AM -0700, Dan Dennedy wrote:
> Lately, FFmpeg has been changing their format "probing" tests, in
> particular, for DV. I see you are using a very recent version. You
> must have caught it at a bad time.

Yes, I was unlucky but time frame is a few weeks.
Bad or maybe too strict commit is:

commit 0388e2337fc26764c1137e87ed58922d3b7f35b2
Author: reimar <reimar at 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Date:   Mon Sep 14 22:03:07 2009 +0000

    Try harder to avoid false positives for DV probe.
    Require at least one signature match per provided 1MB of probe data,
    and if there is only a single match, return at most MAX/4.
    Fixes issue1382 but could/should probably still be improved.


    git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19848
9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

And fix:

commit 953dfa8b5956155dd25b4472f02531c47bdbeb06
Author: reimar <reimar at 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Date:   Tue Sep 29 10:12:18 2009 +0000

    Extend DV autodetection to also reliably detect single-frame DVs with
    a higher score that MAX/4.
    It checks that there are at least 10 DIF headers and at least one per
    24000 bytes, and if so considers the file reliably detected as DV.
    Passes probetest, too.


    git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20074
9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

> > But how to tell that to ffplay or applications like mlt/kdenlive who use
> > ffmpeg libraries?
> 
> Not possible in Kdenlive, but MLT perhaps. You will have to try:
> 
> $ melt test2.dv f=dv

I'm not sure how clean my packages are anymore, but now melt plays the
files while ffplay and ffmpeg fail, this is without specifying the dv
format.

> If it works, for Kdenlive:
> 
> $ melt test2.dv f=dv -consumer xml:test2.mlt
> 
> Now load the .mlt as a clip in Kdenlive.

This trick is nice to know, thanks.

-Mikko




More information about the Kdenlive mailing list