On Sun, Sep 14, 2014 at 11:41 PM, Carl Karsten <c...@personnelware.com>
wrote:

> Seems I have a bunch of dv files where the cpu couldn't move things
> fast enough (due to other processes.. I grumble) and so frames got
> dropped.
>
> here is 200 frames:
>
>
> http://5cda49ca88af98bf1f1e-b4c3b47b38bb1b572e0805ecabeeb59c.r76.cf2.rackcdn.com/broken1.dv
>
> the time stamps in each frame should be ok, so I am hoping there is a
> filter that will duplicate frames when it sees a gap.  even better is
> a frame count, I think that exists.  and if this is possible, is there
> anything that will make use of it to fix my files?


There is no producer or filter that fixes this. Even good old Kino did not
do any special here as far as I recall. However, its keyboard shortcuts do
make it easy to copy and paste frames, and then it can output a new DV file
with no loss and rewrite timecode in the process if you want. Part of the
reason this does not exists is because it would make seeking challenging.
Seeking on raw DV mainly relies upon seeking N * bytes per frame. AVI and
QuickTime DV have indexes, but they effectively provide the same thing.
Relying upon an embedded timecode for seeking would require reindexing.

I suggest you look for a Python binding to libdv, take advantage of the
fact that raw DV is N bytes per frame, and whip something together in
Python. You cannot easily do this with MLT python script because it is not
really designed for data pass-through operations, it would require
additional work in the libdv module that is deprecated, or it requires much
work to add it to the avformat module.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to