[FFmpeg-trac] #7079(avformat:new): Remuxing mp4 with data streams leads to crash

FFmpeg trac at avcodec.org
Tue Mar 20 19:22:52 EET 2018


#7079: Remuxing mp4 with data streams leads to crash
-------------------------------------+-------------------------------------
             Reporter:  mkver        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mp4 crash    |               Blocked By:
  SIGSEGV                            |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by kccpac):

 I tested using latest ffmpeg code (ubuntu 16.0.4 envirnonment). Re-muxing
 with hint track will crash as the rtp_ctx (hint track context) is never
 initialized. Guess copying non-media track doesn't support.

 I tried
 1) ./ffmpeg -i Data.Stream.included.mp4 -c copy output.mp4 (OK)
 2) ./ffmpeg -i Data.Stream.included.mp4 -map 0:1 -c copy output.mp4 (OK)
 3) ./ffmpeg -i Data.Stream.included.mp4 -map 0:0 -c copy output.mp4 (OK)
 4) ./ffmpeg -i Data.Stream.included.mp4 -map 0:2 -c copy output.mp4
 (crash)
 5) ./ffmpeg -i Data.Stream.included.mp4 -map 0:3 -c copy output.mp4
 (crash)

 For case 1, the output.mp4 contains only media tracks.

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


More information about the FFmpeg-trac mailing list