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

Maksym Veremeyenko verem
Wed Sep 23 11:16:13 CEST 2009


Reimar D?ffinger ???????(??):
[...]
>> its failed to decode 1-frames raw DV file :
> 
> Please provide a sample file. Unless your single DV frame is larger than
> 1 MB I don't see why it should fail, and if it is larger than 1 MB I
> wonder why, since the maximum size of one DV frame is around 576 kB.

1. for 25megabit stream it has fixed size to 144000 bytes

2. sample uploaded to:
ftp://upload.ffmpeg.org/MPlayer/incoming/1_frame_dv/

3. probing for video created from real snapshot:

[root at diva-proxy ffmpeg-r19928]# ./ffmpeg_g -i 
/home/diva/6/shots0000.png -y /home/diva/6/shots0000.dv
[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, it working for hypothetic case:

[root at diva-proxy ffmpeg-r19928]# dd if=/dev/zero bs=1244160 count=1 
of=test.rgb
[root at diva-proxy ffmpeg-r19928]# ./ffmpeg_g -s 720x576 -pix_fmt rgb24 -i 
test.rgb -y test.dv
[root at diva-proxy ffmpeg-r19928]# ./ffmpeg_g -i test.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)
[NULL @ 0x8a9f420]Format detected only with low score of 25, 
misdetection possible!
Input #0, dv, from 'test.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