ChangeLog for ffmpeg-php (ffmpeg-php.sourceforge.net)

version 0.4.2 (01/15/2005)
    New Features:
    * Added more ID3 methods getAlbum(), getArtist(), getGenre()), 
      getTrackNumber(), getYear() for audio files. (tkirby)
    * Cleaned up to build without gd (tkirby)
    * Added ability to build against current ffmpeg cvs (tkirby)

    Bug Fixes:
    * Fixed segfault in ffmpeg_movie free when decoder is not found (tkirby)

version 0.4.1 (01/08/2005)
    New Features:
    * Added getVideoCodec(), getAudioCodec() and getAudioChannels() functions
      per feature request #1097373 (tkirby)
    * Added constructor for ffmpeg_frame that allows to create from a gd
      image. This won't be all that useful until encoding support is added.
      (tkirby)

    Bug Fixes:
    * Fixed incorrect error reporting in get_decoder (tkirby)
    * Don't error if decoder can't be found, just warn (tkirby)
    * Fixed nasty memory leak in free ffmpeg_frame (tkirby)
    * Code cleanup (tkirby)

version 0.4.0a "Festivus" (12/23/2004)
    New Features:
    * Added ffmpeg_frame object to encapsulate frame specific methods. This
      cleans up the explosion of getFrame methods and makes eventual encoding
      support easier (tkirby)

    Bug Fixes:
    * Fixed bug where image resampling context was not getting freed
      (tkirby)
    * Fixed bug in getDuration() where duration was return as an int, which
      was causing frame counts to be off (tkirby)

version 0.3.8a (12/15/2004)
    New Features:
    * Added getFrameIntoImage() function to reuse the same gd image for speed
      (tkirby)

    Bug Fixes:
    * Fixed bug in getFrameResampled() argument parsing (tkirby)
    * Fixed broken alias for getBitRate() function (tkirby)
    * Fixed memory leak in gd image allocation function (tkirby)

version 0.3.7a (12/05/2004)
    New Features:
    * Added support for PHP5

    Bug Fixes:
    * Fixed incorrect module initialization that was causing segfault in PHP5
      (tkirby)

version 0.3.6a (12/04/2004)
    New Features:
    * More malloc optimizations in frame conversion/resampling (tkirby)
    * Added cropping support to getFrameResampled() and getFrame() (tkirby)

    Bug Fixes:
    * Fixed bug #1079237 getFrame fails when getting the same frame twice
      (tkirby)
    * Fixed memory leak when freeing ffmpeg_movie objects (tkirby)
    * Fixed bug #1078753 cropping doesn't work correctly if image is not
      resized (tkirby)
    * Fixed bug #1077952 Segfault with multiple calls to getFrameResampled()
      (tkirby)
    * Fixed tiny memory leak in _php_get_gd_image() (tkirby)
    * Added configure warning if trying to build against php 5 since it
      is not supported yet. (tkirby)

version 0.3.5a (11/29/2004):
    New Features:
    * Can now be built independently of PHP sources. (tkirby)
    * Added ebuild goodness for the Gentoo Type/R crowd 
      (tkirby - Gentoo User :-)

    Bug Fixes:
    * Fixed a couple of really stupid conversion bugs in getFrame() and 
      getFrameResampled() (tkirby)

version 0.3.4a (11/28/2004):
    New Features:
    * Added new method getFrameResampled() which returns a frame resized
      using ffmpeg's resampling. ffmpeg resmpling IMHO is better than GD's 
      reampling and will speed up greatly returning say a thumbnail sized 
      frame since less data has to be copied into the returned GD image. 
      The only caveat to ffmpeg based resampling is that the width and 
      height of the resized image must be even numbers (tkirby)
    * Initial support for audio only files such as mp3 (tkirby)
    * getDuration() now works for mp3 files (tkirby)
    * getVideoBitrate() will return bit rate for mp3 files though this will 
      change in the future when more audio specific methods are added (tkirby)

version 0.3.3a (11/25/2004):
    New Features:
    * Added PHP constants for libavcodec version and build numbers (tkirby)
    * Added getVideoBitRate() method (tkirby)
    * More optimizations for successive calls to getFrame() (tkirby)

    Bug Fixes:
    * Don't error if stream params not found since some formats don't need 
      them (tkirby)
    * Return zero if can't get a valid duration for the movie (tkirby)
    * Zero out alpha channel when copying frame to gd so gd will not try to 
      apply alpha when image is passed to gdImageCopyResampled() (tkirby)
    * getFrame() no longer bounds checks the framenumber param against 
      framecount since framecount may not always be accurate (tkirby)
    * getFrame() now returns false if the wanted frame is not found instead
      of generating an error (tkirby)

version 0.3.2a (11/22/2004):
    New Features:
    * Added getPixelFormat() method (tkirby)
    * Added hasAudio() method (tkirby)
    * Optimized getFrame() method so that reading successive frames is much 
      faster (tkirby)
    * getFrame() can now be called without an argument to get the next frame in
      the stream (tkirby)

    Bug Fixes:
    * Fixed getFrame() returning one frame off of the requested frame (tkirby)

version 0.3.1a (11/19/2004):
    Bug Fixes:
    * Full getFrame() rework, should now work with all ffmpeg movie types 
      (tkirby)

version 0.3.0a (11/17/2004):
    New Features:
    * Inital support for getFrame() (tkirby)
