[FFmpeg-trac] #6163(undetermined:closed): concat demuxer produces invalid output with frame-held mp4

FFmpeg trac at avcodec.org
Sun Feb 19 16:56:20 EET 2017


#6163: concat demuxer produces invalid output with frame-held mp4
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  JohnHawkinson                      |                   Status:  closed
                 Type:  defect       |                Component:
             Priority:  normal       |  undetermined
              Version:  git-master   |               Resolution:  invalid
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by JohnHawkinson):

 Replying to [comment:7 Cigaes]:

 Hi. Thanks for your response. I don't want to waste your time. You write:

 > I do not believe your problem exhibits a bug in FFmpeg. Since this is
 what this tracker is about, I strongly suggest that you seek help
 somewhere more adapted.

 What's an appropriate forum?

 > > {{{
 > > pb3:test jhawk$ ffmpeg -loop 1 -i f1.png -t 3.933 -pix_fmt yuv420p -r
 29.97   h4.mp4
 > > }}}
 > [[br]]
 > Just for the record, {{{-r 29.97}}} is almost certainly wrong.

 Could you clarify why?

 > Quoting the documentation: “All files must have the same streams (same
 codecs, same time base, etc.).”
 > Since we never saw the properties of the second file, we can not help
 further.

 I'm sorry, I thought I had included the ffprobe for short1.mp4 but that
 was in a different ticket. I did include a link to the file. But I've
 copied the ffprobe below.


 > Obviously your second file has audio and your first file does not.

 Yes. I was not under the impression that was a problem (again, based on
 what had worked for me in the past), but I can certainly try to add
 compatible silence audio to the first file and see if that changes the
 result, and open a further ticket if it is not successful.

 {{{
 pb3:test jhawk$ ffprobe short1.mp4
 ffprobe version git-2017-02-19-3206ea4 Copyright (c) 2007-2017 the FFmpeg
 developers
   built with Apple LLVM version 7.0.2 (clang-700.1.81)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-3206ea4 --enable-
 shared --enable-pthreads --enable-gpl --enable-version3 --enable-
 hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-
 ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-
 opencl --disable-lzma --enable-vda
   libavutil      55. 47.100 / 55. 47.100
   libavcodec     57. 80.101 / 57. 80.101
   libavformat    57. 66.102 / 57. 66.102
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 73.100 /  6. 73.100
   libavresample   3.  2.  0 /  3.  2.  0
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'short1.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.66.102
   Duration: 00:00:01.10, start: 0.000000, bitrate: 8698 kb/s
     Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
 bt709), 1280x720, 8572 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc
 (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp, 127 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
 pb3:test jhawk$

 }}}

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


More information about the FFmpeg-trac mailing list