[FFmpeg-devel] improved DV probe score patch BROKES detecting 1-frame DV

Maksym Veremeyenko verem
Wed Sep 23 10:39:35 CEST 2009


Hi,

Since commit:
------------------------------------------------------------------------

r19848 | reimar | 2009-09-15 01:03:07 +0300 (Tue, 15 Sep 2009) | 5 lines

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.
------------------------------------------------------------------------

its failed to decode 1-frames raw DV file :

[root at diva-proxy ffmpeg-r19928]# ./ffmpeg_g -i /home/diva/6/shots0000.dv
FFmpeg version SVN-r19928, Copyright (c) 2000-2009 Fabrice Bellard, et al.
   configuration: --prefix=/home/enctools --enable-libfaac 
--enable-libfaad --enable-libmp3lame --enable-postproc --enable-pthreads 
--enable-libx264 --enable-libxvid 
--extra-cflags=-I/home/enctools/include 
--extra-ldflags=-L/home/enctools/lib --enable-shared --enable-gpl 
--enable-nonfree --enable-avfilter --enable-avfilter-lavf
   libavutil     50. 3. 0 / 50. 3. 0
   libavcodec    52.35. 0 / 52.35. 0
   libavformat   52.38. 0 / 52.38. 0
   libavdevice   52. 2. 0 / 52. 2. 0
   libavfilter    0. 5. 0 /  0. 5. 0
   libswscale     0. 7. 1 /  0. 7. 1
   libpostproc   51. 2. 0 / 51. 2. 0
   built on Sep 21 2009 08:51:41, gcc: 4.3.2 20081105 (Red Hat 4.3.2-7)
/home/diva/6/shots0000.dv: Unknown format

but if i revert changes made by patch from
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-September/075599.html
it starts decoding 1-frame .dv normaly:

[root at diva-proxy ffmpeg-r19928]# ./ffmpeg_g -i /home/diva/6/shots0000.dv
FFmpeg version SVN-r19928, Copyright (c) 2000-2009 Fabrice Bellard, et al.
   configuration: --prefix=/home/enctools --enable-libfaac 
--enable-libfaad --enable-libmp3lame --enable-postproc --enable-pthreads 
--enable-libx264 --enable-libxvid 
--extra-cflags=-I/home/enctools/include 
--extra-ldflags=-L/home/enctools/lib --enable-shared --enable-gpl 
--enable-nonfree --enable-avfilter --enable-avfilter-lavf
   libavutil     50. 3. 0 / 50. 3. 0
   libavcodec    52.35. 0 / 52.35. 0
   libavformat   52.38. 0 / 52.38. 0
   libavdevice   52. 2. 0 / 52. 2. 0
   libavfilter    0. 5. 0 /  0. 5. 0
   libswscale     0. 7. 1 /  0. 7. 1
   libpostproc   51. 2. 0 / 51. 2. 0
   built on Sep 21 2009 08:51:41, gcc: 4.3.2 20081105 (Red Hat 4.3.2-7)
Input #0, dv, from '/home/diva/6/shots0000.dv':
   Duration: 00:00:00.04, start: 0.000000, bitrate: 28800 kb/s
     Stream #0.0: Video: dvvideo, yuv411p, 720x576, 28800 kb/s, PAR 
59:54 DAR 295:216, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

-- 
________________________________________
Maksym Veremeyenko




More information about the ffmpeg-devel mailing list