[FFmpeg-trac] #7332(ffmpeg:reopened): ffmpeg hangs when converting some crafted MP4 videos to MOV/MP4

FFmpeg trac at avcodec.org
Sat Aug 4 08:49:28 EEST 2018


#7332: ffmpeg hangs when converting some crafted MP4 videos to MOV/MP4
------------------------------------+------------------------------------
             Reporter:  HongxuChen  |                    Owner:
                 Type:  defect      |                   Status:  reopened
             Priority:  normal      |                Component:  ffmpeg
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by HongxuChen):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 Can you please check the command I used (`ffmpeg -i ./hang_1.mp4 -filter:v
 scale=360:-1 -c:a copy -f mp4 -y /dev/null`)? It seems that when
 converting to `avi` there is no such a problem; however quite bad when
 converting to MOV/MP4. I also found several others that have this issue
 (see https://github.com/ntu-sec/pocs/tree/master/ffmpeg-5aeb3b0080/hangs).
 All of them took more than 120s to finish.


 ffmpeg version N-91559-g5aeb3b0080 Copyright (c) 2000-2018 the FFmpeg
 developers
   built with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
   configuration: --prefix=/home/exp/FOT/ffmpeg-noasan/install --cc=clang
 --cxx=clang++ --enable-debug=2 --extra-cflags=-g --extra-cxxflags=-g
   libavutil      56. 18.102 / 56. 18.102
   libavcodec     58. 22.100 / 58. 22.100
   libavformat    58. 17.101 / 58. 17.101
   libavdevice    58.  4.101 / 58.  4.101
   libavfilter     7. 26.100 /  7. 26.100
   libswscale      5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
 Hyper fast Audio and Video encoder

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7332#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list