van - video analyzer

van decodes a given mpeg/xvid/divx/... file and displays it frame by frame showing optional information such as motion vectors and macro block types. If provided with a YUV file, van runs in diff mode.

I wrote this because I needed a simple tool to analyze encoded video data. This app is based on fmpeg and SDL and you will need at least ffmpeg-0.cvs20050313 and SDL-1.2.8. It compiles with mingw/win32, solaris and linux.

screenshot van-0.04

running in diff mode:

diff mode

news

  • 22 Sep 2005: released 0.05, mainly bugfixes, mpeg1 & mpeg2 do not crash any more...
  • 18 Sep 2005: released 0.04, added yuv diff mode, first MB type info (mpeg4 16x16 only)
  • 05 Sep 2005: release 0.02, first font related stuff
  • 01 Sep 2005: update release, added zooming and grid
  • 31 Aug 2005: initial release

usage

van [-m] [-t] [-y yuvfile.yuv] <filename>

 -m   switches on mv overlay
 -t   switchen on mb type overlay

Keys:

  h: shows help
  s: saves current image to .ppm
  f: toggle fullscreen
  g: toggle grid (16x16x)
  i: toggle info line
  +: zoom in
  -: zoom out
 ->: next frame
 <-: jump to stream start
  q: quit
  d: increase diff scale (diff mode only)
  c: decrease diff scale (diff mode only)
  l: luma only (diff mode only)

This is a very early yet working release. There might be much more to come.

download

befor compiling

  • check config.h and edit VAN_TTF_FONT according to your installation
  • check Makefile and edit the path to your ffmpeg libs and include files

known bugs

  • rewind does not work correctly
  • diff mode for interlaced yuv does not work
  • stream autodetection does not work for my MPEG4 streams
  • -ldts seems superfluous (superfluciloucious?)

todo

  • clean up code
  • autoconf/automake for x-platform compiles
  • psnr
  • show mv values for all mb types
  • documentation, legal stuff


related stuff:

-- MatthiasWientapper - 31 Aug 2005


 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding mattzz? Send feedback