[FFmpeg-trac] #6163(undetermined:new): concat demuxer produces invalid output with frame-held mp4
FFmpeg
trac at avcodec.org
Sun Feb 19 07:46:13 EET 2017
#6163: concat demuxer produces invalid output with frame-held mp4
-------------------------------------+-------------------------------------
Reporter: | Type: defect
JohnHawkinson | Priority: normal
Status: new | Version:
Component: | unspecified
undetermined | Blocked By:
Keywords: concat | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: concat demuxer produces invalid output with frame-held
mp4
If I "frame hold" the first frame of an mp4 by extracting it to a png and
then looping it with -loop 1 -pix_fmt +yuv420p, and then combine with the
original mp4, I get an mp4 that does not play in VLC. The held frame plays
for the duration of the hold, and then VLC hangs.
Furthermore, doing so with a 3.933 second frame hold and a 1 second video
gives nonsensical output per ffprobe: an 11.63 second mp4.
Note that short1.mp4 is attached to another ticket so I will not duplicate
it here: https://trac.ffmpeg.org/attachment/ticket/6162/short1.mp4
How to reproduce:
{{{
# First, extract the still:
pb3:test jhawk$ ffmpeg -i short1.mp4 -frames:v 1 -f image2 f1.png
ffmpeg version git-2017-02-19-3206ea4 Copyright (c) 2000-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
Output #0, image2, to 'f1.png':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.66.102
Stream #0:0(eng): Video: png, rgb24, 1280x720, q=2-31, 200 kb/s, 29.97
fps, 29.97 tbn, 29.97 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc57.80.101 png
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.03 bitrate=N/A
speed=0.289x
video:708kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
# Next, loop it for 3.933 seconds:
pb3:test jhawk$ ffmpeg -y -loop 1 -i f1.png -t 3.933 -pix_fmt +yuv420p
h1.mp4
ffmpeg version git-2017-02-19-3206ea4 Copyright (c) 2000-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, png_pipe, from 'f1.png':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: png, rgb24(pc), 1280x720, 25 fps, 25 tbr, 25 tbn,
25 tbc
The filters 'Parsed_null_0' and 'format' do not have a common format and
automatic conversion is disabled.
Error opening filters!
# Apparently that doesn't work? So use -c copy and get the Lavf encoder
$ ffmpeg -loop 1 -i f1.png -t 3.933 -pix_fmt +yuv420p -c copy h1.mp4
ffmpeg version git-2017-02-19-3206ea4 Copyright (c) 2000-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, png_pipe, from 'f1.png':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: png, rgb24(pc), 1280x720, 25 fps, 25 tbr, 25 tbn,
25 tbc
File 'h1.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'h1.mp4':
Metadata:
encoder : Lavf57.66.102
Stream #0:0: Video: png (m[0][0][0] / 0x006D), rgb24(pc), 1280x720,
q=2-31, 25 fps, 25 tbr, 12800 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 99 fps=0.0 q=-1.0 Lsize= 70106kB time=00:00:03.92
bitrate=146504.3kbits/s speed=22.4x
video:70105kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.001645%
# Now merge them:
$ echo -e 'ffconcat version 1.0\n\nfile h1.mp4\nfile short1.mp4\n' >
concat2
$ ffmpeg -f concat -i concat2 -c copy concat2.mp4
ffmpeg version git-2017-02-19-3206ea4 Copyright (c) 2000-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, concat, from 'concat2':
Duration: N/A, start: 0.000000, bitrate: 145025 kb/s
Stream #0:0(und): Video: png (mp4v / 0x7634706D), rgb24(pc), 1280x720,
145025 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc
Metadata:
handler_name : VideoHandler
Output #0, mp4, to 'concat2.mp4':
Metadata:
encoder : Lavf57.66.102
Stream #0:0(und): Video: png (m[0][0][0] / 0x006D), rgb24(pc),
1280x720, q=2-31, 145025 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc
Metadata:
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa5a2003000] Auto-inserting h264_mp4toannexb
bitstream filter
[concat @ 0x7fa5a1800000] New audio stream 0:1 at pos:216156 and DTS:3.96s
frame= 132 fps=0.0 q=-1.0 Lsize= 71259kB time=00:00:11.54
bitrate=50545.2kbits/s speed=51.8x
video:71257kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.003258%
}}}
Reversing the order of concatenation gives a parallel failure. VLC shows
the video and stops, does not show the still after it:
{{{
$ echo -e 'ffconcat version 1.0\n\nfile short1.mp4\nfile h1.mp4\n' >
concat3
$ ffmpeg -f concat -i concat3 -c copy concat3.mp4
ffmpeg version git-2017-02-19-3206ea4 Copyright (c) 2000-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
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8721018000] Auto-inserting h264_mp4toannexb
bitstream filter
Input #0, concat, from 'concat3':
Duration: N/A, start: 0.000000, bitrate: 8699 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
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 127 kb/s
Metadata:
handler_name : SoundHandler
Output #0, mp4, to 'concat3.mp4':
Metadata:
encoder : Lavf57.66.102
Stream #0:0(eng): Video: h264 (High) ([33][0][0][0] / 0x0021),
yuv420p(tv, bt709), 1280x720, q=2-31, 8572 kb/s, 29.97 fps, 29.97 tbr, 30k
tbn, 30k tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, fltp, 127 kb/s
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[concat @ 0x7f872100da00] DTS 14106 < 29029 out of order
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29029, current: 14106; changing to 29030. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29030, current: 14618; changing to 29031. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29031, current: 15130; changing to 29032. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29032, current: 15642; changing to 29033. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29033, current: 16154; changing to 29034. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29034, current: 16666; changing to 29035. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29035, current: 17178; changing to 29036. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29036, current: 17690; changing to 29037. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29037, current: 18202; changing to 29038. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29038, current: 18714; changing to 29039. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29039, current: 19226; changing to 29040. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29040, current: 19738; changing to 29041. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29041, current: 20250; changing to 29042. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29042, current: 20762; changing to 29043. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29043, current: 21274; changing to 29044. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29044, current: 21786; changing to 29045. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29045, current: 22298; changing to 29046. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29046, current: 22810; changing to 29047. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29047, current: 23322; changing to 29048. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29048, current: 23834; changing to 29049. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29049, current: 24346; changing to 29050. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29050, current: 24858; changing to 29051. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29051, current: 25370; changing to 29052. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29052, current: 25882; changing to 29053. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29053, current: 26394; changing to 29054. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29054, current: 26906; changing to 29055. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29055, current: 27418; changing to 29056. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29056, current: 27930; changing to 29057. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29057, current: 28442; changing to 29058. This may result in incorrect
timestamps in the output file.
[mp4 @ 0x7f8721852e00] Non-monotonous DTS in output stream 0:0; previous:
29058, current: 28954; changing to 29059. This may result in incorrect
timestamps in the output file.
frame= 132 fps=0.0 q=-1.0 Lsize= 71276kB time=00:00:02.14
bitrate=272495.7kbits/s speed=8.04x
video:71257kB audio:16kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.004975%
}}}
Note that this also fails the same way without -c copy.
Someone suggested to me that perhaps the problem was frame rates and other
incompatibilities between the held frame (h1.mp4) and the video
(short1.mp4):
{{{
# ffprobe of h1:
Duration: 00:00:03.96, start: 0.000000, bitrate: 145027 kb/s
Stream #0:0(und): Video: png (mp4v / 0x7634706D), rgb24(pc), 1280x720,
145025 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
# ffprobe of short1
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)
}}}
But holding the frame differently doesn't seem to help:
{{{
$ ffmpeg -loop 1 -i f1.png -t 3.933 -pix_fmt +yuv420p -r 29.97 -c:v
libx264 h2.mp4
ffmpeg version git-2017-02-19-3206ea4 Copyright (c) 2000-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, png_pipe, from 'f1.png':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: png, rgb24(pc), 1280x720, 25 fps, 25 tbr, 25 tbn,
25 tbc
File 'h2.mp4' already exists. Overwrite ? [y/N] y
The filters 'Parsed_null_0' and 'format' do not have a common format and
automatic conversion is disabled.
Error opening filters!
$ ls -l h2.mp4
-rw-r--r-- 1 jhawk staff 0 Feb 19 00:41 h2.mp4
$ ffmpeg -loop 1 -i f1.png -t 3.933 -pix_fmt +yuv420p -r 29.97 -c copy
h2.mp4
ffmpeg version git-2017-02-19-3206ea4 Copyright (c) 2000-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, png_pipe, from 'f1.png':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: png, rgb24(pc), 1280x720, 25 fps, 25 tbr, 25 tbn,
25 tbc
File 'h2.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'h2.mp4':
Metadata:
encoder : Lavf57.66.102
Stream #0:0: Video: png (m[0][0][0] / 0x006D), rgb24(pc), 1280x720,
q=2-31, 25 fps, 25 tbr, 11988 tbn, 29.97 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 99 fps=0.0 q=-1.0 Lsize= 70107kB time=00:00:03.92
bitrate=146505.5kbits/s speed=26.8x
video:70105kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.002693%
pb3:test jhawk$ ffprobe h2.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 'h2.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf57.66.102
Duration: 00:00:03.96, start: 0.000000, bitrate: 144992 kb/s
Stream #0:0(und): Video: png (mp4v / 0x7634706D), rgb24(pc), 1280x720,
145023 kb/s, 25 fps, 25 tbr, 11988 tbn, 11988 tbc (default)
Metadata:
handler_name : VideoHandler
$
}}}
Note this is still 25fps. I think I had different results with ffmpeg
3.1.5 yesterday (this is now the git HEAD), where the frame rate did
change, but the concatenation was still broken. Not 100% sure, but this is
probably enough to go on for now.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6163>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list