[FFmpeg-trac] #4346(undetermined:new): Uncompressed BGR24 AVIs are occasionally unusable

FFmpeg trac at avcodec.org
Mon Mar 2 20:04:31 CET 2015

#4346: Uncompressed BGR24 AVIs are occasionally unusable
             Reporter:  ejlasota     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 Summary of the bug:
 Converting to rawvideo BGR24 occasionally produces AVIs that can not be
 loaded by most Windows players.  ffmpeg itself seems to be able to load
 them without issue though.

 How to reproduce:

 damaged_uncompressed_source.avi is the source video.
 damaged_uncompressed_out.avi is the output from FFMPEG.  This file will
 not open in MPC-HC or Windows Media Player 12.0.9600.17031.
 VirtualDub 1.10.4 will open it, but it will not show any video.
 damaged_uncompressed_out_vdub.avi is output from opening
 damaged_uncompressed_source.avi and saving it as Uncompressed using
 VirtualDub.  It plays back fine in all of the aforementioned programs.

 Using -pix_fmt yuv420p instead does not cause this problem.

 Using -vcodec bmp instead will allow VirtualDub to open the video, but it
 will be upside-down and have severe artifacts.  MPC-HC and WMP will still
 not load it.

 % ffmpeg -i damaged_uncompressed_source.avi -pix_fmt bgr24 -vcodec
 rawvideo -y -report damaged_uncompressed_out.avi

 Report log attached.

Ticket URL: <https://trac.ffmpeg.org/ticket/4346>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list