[Ffmpeg-devel] [BUG] false MP3 positives on GIF files

Víctor Paesa wzrlpy
Mon Sep 11 13:09:11 CEST 2006


Hi,

I'm afraid the r6225 commit is giving false MP3 positives on GIF files,
because SVN-r6229 reports as mp3 what SVN-r6193 would happily process
as GIF:

The scenario is the comand given as example of usage in watermark vhook.

$ identify /home/wzrlpy/src/ffmpeg_watermark.gif
/home/wzrlpy/src/ffmpeg_watermark.gif GIF 640x480 640x480+0+0 PseudoClass
256c 8-bit 16.6504kb


$ ../ffmpeg -i input.avi -vhook './watermark.dll -f
/home/wzrlpy/src/ffmpeg_watermark.gif -m 1 -t 222222' -an -sameq
output.avi
FFmpeg version SVN-r6229, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-mp3lame --enable-a52 --disable-static
--enable-shared --enable-pthreads --enable-avisynth --enable-gpl
  libavutil version: 49.0.0
  libavcodec version: 51.14.0
  libavformat version: 50.5.0
  built on Sep 11 2006 12:38:09, gcc: 3.4.4 (cygming special) (gdc 0.12,
using dmd 0.125)
Input #0, avi, from '/home/wzrlpy/Smallconcert.avi':
  Duration: 00:00:20.2, start: 0.000000, bitrate: 30349 kb/s
  Stream #0.0: Video: dvvideo, yuv420p, 720x576, 25.00 fps(r)
  Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
[mp3 @ 0x5a7054]Could not find codec parameters (Audio: mp1, 32 kb/s)
get_watermark_picture() Failed to find stream info
Failed to Configure ./watermark.dll
Failed to add video hook function: ./watermark.dll -f
/home/wzrlpy/src/ffmpeg_watermark.gif -m 1 -t 222222


$ ../ffmpeg -i input.avi -vhook './watermark.dll -f
/home/wzrlpy/src/ffmpeg_watermark.gif -m 1 -t 222222' -an -sameq
output.avi
FFmpeg version SVN-r6193, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-mp3lame --enable-a52 --disable-static
--enable-shared --enable-pthreads --enable-gpl --enable-avisynth
  libavutil version: 49.0.0
  libavcodec version: 51.13.0
  libavformat version: 50.5.0
  built on Sep 11 2006 12:56:45, gcc: 3.4.4 (cygming special) (gdc 0.12,
using dmd 0.125)
Input #0, avi, from '/home/wzrlpy/Smallconcert.avi':
  Duration: 00:00:20.2, start: 0.000000, bitrate: 30349 kb/s
  Stream #0.0: Video: dvvideo, yuv420p, 720x576, 25.00 fps(r)
  Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, avi, to 'output.avi':
  Stream #0.0: Video: mpeg4, yuv420p, 720x576, q=2-31, 200 kb/s, 25.00 fps(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  507 q=0.0 Lsize=     419kB time=20.3 bitrate= 169.2kbits/s
video:401kB audio:0kB global headers:0kB muxing overhead 4.343002%


Regards,
V?ctor Paesa




More information about the ffmpeg-devel mailing list