[FFmpeg-trac] #5883(undetermined:new): libx264 fails to produce valid output with mp4 container

FFmpeg trac at avcodec.org
Sun Oct 9 01:27:59 EEST 2016


#5883: libx264 fails to produce valid output with mp4 container
-------------------------------------+-------------------------------------
             Reporter:  ulatekh      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I managed to find a video that causes ffmpeg to crash and produce invalid
 output, but only when producing an mp4 container -- the same transcode
 done with an mkv container works fine.

 I first reproduced it with version 2.8.8.1 (i.e from Fedora Core 23
 repos), but it also happens with the latest version of ffmpeg (i.e. the
 2-Oct-2016 build from https://johnvansickle.com/ffmpeg/).

 In the 2.8.8.1 version, the error message is "Incomplete MB-tree stats
 file". In the latest version, the error message is "2nd pass has more
 frames than 1st pass".

 Enclosed is the script that I used to transcode the video, and a short
 video that demonstrates the problem.  The command line to run the script
 is:

 ./mv-met.sh "216 - Dancing above turbines.mpg" 1000 2000 "216 - Dancing
 above turbines.mp4"

 Substitute mkv for mp4 in the target filename and it'll work.

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


More information about the FFmpeg-trac mailing list