[FFmpeg-devel] improved DV probe score patch BROKES detecting 1-frame DV
Sat Sep 26 17:30:47 CEST 2009
Reimar D?ffinger ???????(??):
> On Fri, Sep 25, 2009 at 11:13:35AM -0700, Baptiste Coudurier wrote:
>> First taking file extension into account is the first thing to do IMHO.
>> It seems reasonable to assume that if filename matches and probe is
>> sufficiently high enough (this must be defined), this is the correct
AVInputFormat has a extensions field that is reasonable to use, but if
file has no extension or it comes from pipe then use stream probe....
> In case your comment is related to the DV probe: an argument for complicating
> it anyway is that currently single-frame DV files are only detected with a
> warning due to low score, there are apparently people using single-frame DV
> and raising the score is not ok since the test is not really reliable.
to be more clear, real 1-frame DV file was not detected at all, warning
was got from frame generated with /dev/zero.....
More information about the ffmpeg-devel