[FFmpeg-user] How do I use showinfo?

Stefan Scott Alexander stefanscottalexx at gmail.com
Thu Oct 27 02:58:20 CEST 2011


Hi -

I want to get a list of all the frames in my video, along with each frame's
timestamp and checksum.

I'm just analyzing the video - I don't want to edit it at all.
(I'm trying to figure out which frames are different from the preceding one,
even by one pixel,
and I figure checksum could do that.
I assume if two frames are identical, then their checksums will also be
identical.)

I can't even figure out the syntax for the showinfo command!

I tried:

ffmpeg showinfo -i myvid.avi

and it says:

[NULL @ 0246D200] Unable to find a suitable output format for 'showinfo'
showinfo: Invalid argument

(I'm using Windows - ffmpeg-git-e403a97-win32-static.)

Thanks!


PS - Here's the full output:

C:\apps\ffmpeg\ffmpeg-git-e403a97-win32-static\bin>ffmpeg  -i vid002.avi
showinfo
ffmpeg version N-34031-ge403a97, Copyright (c) 2000-2011 the FFmpeg
developers
  built on Oct 25 2011 15:06:47 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect
--enable-avisynth --enable-bzlib --enable-fre
i0r --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfreetype --enable-libgsm --enable-libmp3lame --ena
ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvo-aacenc --e
nable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxavs --enable-libxvid --enable-zlib

  libavutil    51. 22. 0 / 51. 22. 0
  libavcodec   53. 23. 0 / 53. 23. 0
  libavformat  53. 17. 0 / 53. 17. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 45. 0 /  2. 45. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 00038DE0] parser not found for codec pcm_s16le, packets or times may
be invalid.
[avi @ 00038DE0] parser not found for codec msvideo1, packets or times may
be invalid.
Input #0, avi, from 'vid002.avi':
  Duration: 00:00:37.50, start: 0.000000, bitrate: 1655 kb/s
    Stream #0:0: Video: msvideo1 (CRAM / 0x4D415243), rgb555le, 468x244, 200
fps, 200 tbr, 200 tbn, 200 tbc
    Metadata:
      title           : ~temp.avi Video #1
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2
channels, s16, 1411 kb/s
    Metadata:
      title           : Microsoft Waveform: ~temp001.wav
[NULL @ 0246D200] Unable to find a suitable output format for 'showinfo'
showinfo: Invalid argument

C:\apps\ffmpeg\ffmpeg-git-e403a97-win32-static\bin>


More information about the ffmpeg-user mailing list