[FFmpeg-trac] #6186(avformat:new): Concat demuxer produces invalid output for some h.264 MP4 files

FFmpeg trac at avcodec.org
Mon Feb 27 16:30:36 EET 2017

#6186: Concat demuxer produces invalid output for some h.264 MP4 files
             Reporter:  jonmast     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  concat      |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by jonmast):

 Replying to [comment:5 cehoyos]:
 > You could reencode this one file with the correct properties.

 Right, but I need this to work for any user input. Users upload files
 separately and we encode them with Elastic Transcoder (for performance
 reasons) and then concatenate them with ffmpeg. I had assumed that Elastic
 Transcoder would produce consistent output that could be concatenated
 easily, but it appears their output varies somewhat. Encoding to an
 intermediate format and then using the concat protocol seems to work fine
 for this file, so I'll do more testing with various Elastic Transcoder
 outputs and see if it works consistently. If not, I'll probably need to
 rework my architecture, but I was hoping that wouldn't be necessary.

 Thanks again for your assistance, you've been a great help.

Ticket URL: <https://trac.ffmpeg.org/ticket/6186#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list