[FFmpeg-devel] [PATCH] another stab at improved dv probe

Maksym Veremeyenko verem
Sun Sep 27 14:26:44 CEST 2009

Reimar D?ffinger ???????(??):
> On Sun, Sep 27, 2009 at 01:27:54PM +0300, Maksym Veremeyenko wrote:
>> i had a mov file where DV frames chunk start from 17-th byte and
>> probe test found that its a raw DV stream with ratio 0.75. In that
>> case truncated raw DV stream will have 0.5 but normal 0.99
> Your code does not really work well for that, first it can be mod 12000 for
> mov, too, while for badly cut DV files it won't be at offset 12000.
The idea was to increase (rise) ratio for proper DV. May be it has a 
sense to check completely for 12..16 bytes at stream start and return 
(AVPROBE_SCORE_MAX-1) if it true.

For /for badly cut DV files/ and /DV in mov/ return (AVPROBE_SCORE_MAX/2)

Maksym Veremeyenko

More information about the ffmpeg-devel mailing list