[FFmpeg-trac] #2412(avformat:new): AviSynth: New Demuxer Broken on Windows

FFmpeg trac at avcodec.org
Thu Mar 28 21:43:57 CET 2013

#2412: AviSynth: New Demuxer Broken on Windows
             Reporter:  tateu     |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  git-master
             Keywords:  avisynth  |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
 Summary of the bug:
 The new AviSynth demuxer rewrite is broken on Windows. There are two
 problems with it.
 1) If the source AviSynth script is rgb24, then the colors in the output
 file are incorrect if it is converted to another color format.
 2) A few framess of the AviSynth script are skipped or duplicated. The
 first frame is skipped and encoded as broken, the last frame is

 I have tried 3 different 32bit AviSynth versions running on Windows 7 x64
 AviSynth v2.58, build:Dec 22 2008 [08:46:51]
 AviSynth v2.60, build:Oct 13 2011 [16:17:05]
 AviSynth v2.60, build:Jan 14 2013 [16:50:35]

 I have attached an AviSynth source script with color bars and timecode
 overlay and the output of the first ffmpeg command listed below.

 How to reproduce:
 ffmpeg version N-51338-g914f48d
 built on Mar 27 2013 01:04:22 with gcc 4.8.0 (GCC)
 "ffmpeg.exe" -i "in.avs" -an -pix_fmt yuv420p -c:v libx264 -preset medium
 -profile:v main "out_420.mp4"
 "ffmpeg.exe" -i "in.avs" -an -pix_fmt yuv420p -c:v rawvideo "out_420.avi"
 "ffmpeg.exe" -i "in.avs" -an -pix_fmt bgr24 -c:v rawvideo "out_bgr.avi"

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

More information about the FFmpeg-trac mailing list