[FFmpeg-trac] #8517(avformat:new): segment output first flv file video corrupted
FFmpeg
trac at avcodec.org
Mon Feb 10 19:08:11 EET 2020
#8517: segment output first flv file video corrupted
-------------------------------------+------------------------------------
Reporter: Vonger | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: unspecified | Resolution:
Keywords: segment | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by Vonger):
This is my full command and logs, because the error is very long I have to
cut off.
And also the git latest trunk can not compile in macos, so i have to use
n4.2.2, but the problem should be there in git-head version too.
only need two command to repeat this:
./ffmpeg -i ~/Downloads/jm.mkv -c copy -f segment out%03d.flv
./ffplay out000.flv
and this is the log:
command: ./ffmpeg -i ~/Downloads/jm.mkv -c copy -f segment out%03d.flv
ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration:
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
Input #0, matroska,webm, from '/Users/vonger/Downloads/jm.mkv':
Metadata:
encoder : libebml v1.3.4 + libmatroska v1.4.5
creation_time : 2019-11-27T15:47:42.000000Z
Duration: 01:52:02.85, start: 0.000000, bitrate: 2310 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR
1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
BPS : 2180012
BPS-eng : 2180012
DURATION : 01:52:02.799000000
DURATION-eng : 01:52:02.799000000
NUMBER_OF_FRAMES: 161186
NUMBER_OF_FRAMES-eng: 161186
NUMBER_OF_BYTES : 1831973581
NUMBER_OF_BYTES-eng: 1831973581
_STATISTICS_WRITING_APP: mkvmerge v9.4.2 ('So High') 32bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.4.2 ('So High') 32bit
_STATISTICS_WRITING_DATE_UTC: 2019-11-27 15:47:42
_STATISTICS_WRITING_DATE_UTC-eng: 2019-11-27 15:47:42
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
Metadata:
BPS : 127875
BPS-eng : 127875
DURATION : 01:52:02.837000000
DURATION-eng : 01:52:02.837000000
NUMBER_OF_FRAMES: 315133
NUMBER_OF_FRAMES-eng: 315133
NUMBER_OF_BYTES : 107460787
NUMBER_OF_BYTES-eng: 107460787
_STATISTICS_WRITING_APP: mkvmerge v9.4.2 ('So High') 32bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.4.2 ('So High') 32bit
_STATISTICS_WRITING_DATE_UTC: 2019-11-27 15:47:42
_STATISTICS_WRITING_DATE_UTC-eng: 2019-11-27 15:47:42
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[segment @ 0x7f888182c600] Opening 'out000.flv' for writing
Output #0, segment, to 'out%03d.flv':
Metadata:
encoder : Lavf58.29.100
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Metadata:
BPS : 2180012
BPS-eng : 2180012
DURATION : 01:52:02.799000000
DURATION-eng : 01:52:02.799000000
NUMBER_OF_FRAMES: 161186
NUMBER_OF_FRAMES-eng: 161186
NUMBER_OF_BYTES : 1831973581
NUMBER_OF_BYTES-eng: 1831973581
_STATISTICS_WRITING_APP: mkvmerge v9.4.2 ('So High') 32bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.4.2 ('So High') 32bit
_STATISTICS_WRITING_DATE_UTC: 2019-11-27 15:47:42
_STATISTICS_WRITING_DATE_UTC-eng: 2019-11-27 15:47:42
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
Metadata:
BPS : 127875
BPS-eng : 127875
DURATION : 01:52:02.837000000
DURATION-eng : 01:52:02.837000000
NUMBER_OF_FRAMES: 315133
NUMBER_OF_FRAMES-eng: 315133
NUMBER_OF_BYTES : 107460787
NUMBER_OF_BYTES-eng: 107460787
_STATISTICS_WRITING_APP: mkvmerge v9.4.2 ('So High') 32bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.4.2 ('So High') 32bit
_STATISTICS_WRITING_DATE_UTC: 2019-11-27 15:47:42
_STATISTICS_WRITING_DATE_UTC-eng: 2019-11-27 15:47:42
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[segment @ 0x7f888182c600] Opening 'out001.flv' for writing
[segment @ 0x7f888182c600] Opening 'out002.flv' for writing
[segment @ 0x7f888182c600] Opening 'out003.flv' for writing
[segment @ 0x7f888182c600] Opening 'out004.flv' for writing
[segment @ 0x7f888182c600] Opening 'out005.flv' for writing
[segment @ 0x7f888182c600] Opening 'out006.flv' for writing
[segment @ 0x7f888182c600] Opening 'out007.flv' for writing
[segment @ 0x7f888182c600] Opening 'out008.flv' for writing
[segment @ 0x7f888182c600] Opening 'out009.flv' for writing
[segment @ 0x7f888182c600] Opening 'out010.flv' for writing
[segment @ 0x7f888182c600] Opening 'out011.flv' for writing
[segment @ 0x7f888182c600] Opening 'out012.flv' for writing
...(end normally)
command: ./ffplay out000.flv
ffplay version n4.2.2 Copyright (c) 2003-2019 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration:
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
[flv @ 0x7fab078b6a00] Video codec (0) is not implemented. Update your
FFmpeg version to the newest one from Git. If the problem still occurs, it
means that your file has a feature which has not been implemented.
[flv @ 0x7fab078b6a00] If you want to help, upload a sample of this file
to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
list. (ffmpeg-devel at ffmpeg.org)
[flv @ 0x7fab078b6a00] Changing the codec id midstream is not implemented.
Update your FFmpeg version to the newest one from Git. If the problem
still occurs, it means that your file has a feature which has not been
implemented.
[flv @ 0x7fab078b6a00] If you want to help, upload a sample of this file
to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
list. (ffmpeg-devel at ffmpeg.org)
[flv @ 0x7fab078b6a00] Could not find codec parameters for stream 0
(Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, flv, from 'out000.flv':
Metadata:
encoder : Lavf58.29.100
Duration: 00:00:10.09, start: 0.000000, bitrate: 3810 kb/s
Stream #0:0: Video: h264, none, 23.98 fps, 1k tbr, 1k tbn
Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp
[flv @ 0x7fab078b6a00] Packet mismatch 909390896 94 1756
[h264 @ 0x7fab08074000] data partitioning is not implemented. Update your
FFmpeg version to the newest one from Git. If the problem still occurs, it
means that your file has a feature which has not been implemented.
[h264 @ 0x7fab08074000] If you want to help, upload a sample of this file
to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
list. (ffmpeg-devel at ffmpeg.org)
[h264 @ 0x7fab08074000] no frame!
[NULL @ 0x7fab0a000000] missing picture in access unit with size 72
[NULL @ 0x7fab0a000000] missing picture in access unit with size 69
Last message repeated 3 times
[NULL @ 0x7fab0a000000] missing picture in access unit with size 77
[NULL @ 0x7fab0a000000] missing picture in access unit with size 71
[h264 @ 0x7fab08028000] No start code is found.
[h264 @ 0x7fab08028000] Error splitting the input into NAL units.
[NULL @ 0x7fab0a000000] missing picture in access unit with size 69
Last message repeated 2 times
[NULL @ 0x7fab0a000000] missing picture in access unit with size 77
[NULL @ 0x7fab0a000000] missing picture in access unit with size 71
[NULL @ 0x7fab0a000000] missing picture in access unit with size 69
Last message repeated 2 times
[NULL @ 0x7fab0a000000] missing picture in access unit with size 77
[NULL @ 0x7fab0a000000] missing picture in access unit with size 71
[h264 @ 0x7fab08028600] No start code is found.
[h264 @ 0x7fab08028600] Error splitting the input into NAL units.
[NULL @ 0x7fab0a000000] missing picture in access unit with size 69
Last message repeated 2 times
[NULL @ 0x7fab0a000000] missing picture in access unit with size 15200
[NULL @ 0x7fab0a000000] missing picture in access unit with size 101
[h264 @ 0x7fab0783ce00] No start code is found.
[h264 @ 0x7fab0783ce00] Error splitting the input into NAL units.
[NULL @ 0x7fab0a000000] missing picture in access unit with size 69
[NULL @ 0x7fab0a000000] missing picture in access unit with size 99
[NULL @ 0x7fab0a000000] missing picture in access unit with size 9560
[NULL @ 0x7fab0a000000] missing picture in access unit with size 6534
[NULL @ 0x7fab0a000000] missing picture in access unit with size 4626
[NULL @ 0x7fab0a000000] missing picture in access unit with size 4340
[h264 @ 0x7fab0a002c00] No start code is found.
[h264 @ 0x7fab0a002c00] Error splitting the input into NAL units.
[NULL @ 0x7fab0a000000] missing picture in access unit with size 16320
[NULL @ 0x7fab0a000000] missing picture in access unit with size 9821
[NULL @ 0x7fab0a000000] missing picture in access unit with size 8762
[NULL @ 0x7fab0a000000] missing picture in access unit with size 9687
[h264 @ 0x7fab0984c200] No start code is found.
[h264 @ 0x7fab0984c200] Error splitting the input into NAL units.
[h264 @ 0x7fab0987d800] No start code is found.
[h264 @ 0x7fab0987d800] Error splitting the input into NAL units.
[h264 @ 0x7fab0987ec00] No start code is found.
[h264 @ 0x7fab0987ec00] Error splitting the input into NAL units.
[h264 @ 0x7fab0c010000] No start code is found.
[h264 @ 0x7fab0c010000] Error splitting the input into NAL units.
[h264 @ 0x7fab08074000] No start code is found.
[h264 @ 0x7fab08074000] Error splitting the input into NAL units.
[h264 @ 0x7fab08028000] No start code is found.
[h264 @ 0x7fab08028000] Error splitting the input into NAL units.
[h264 @ 0x7fab08028600] No start code is found.
[h264 @ 0x7fab08028600] Error splitting the input into NAL units.
[h264 @ 0x7fab0783ce00] No start code is found.
[h264 @ 0x7fab0783ce00] Error splitting the input into NAL units.
[h264 @ 0x7fab0a002c00] No start code is found.
[h264 @ 0x7fab0a002c00] Error splitting the input into NAL units.
[h264 @ 0x7fab0984c200] No start code is found.
[h264 @ 0x7fab0984c200] Error splitting the input into NAL units.
[h264 @ 0x7fab0987d800] No start code is found.
[h264 @ 0x7fab0987d800] Error splitting the input into NAL units.
[h264 @ 0x7fab0987ec00] No start code is found.
[h264 @ 0x7fab0987ec00] Error splitting the input into NAL units.
[h264 @ 0x7fab0c010000] No start code is found.
[h264 @ 0x7fab0c010000] Error splitting the input into NAL units.
[h264 @ 0x7fab08074000] No start code is found.
[h264 @ 0x7fab08074000] Error splitting the input into NAL units.
[h264 @ 0x7fab08028000] No start code is found.
[h264 @ 0x7fab08028000] Error splitting the input into NAL units.
[h264 @ 0x7fab08028600] No start code is found.
[h264 @ 0x7fab08028600] Error splitting the input into NAL units.
[h264 @ 0x7fab0783ce00] No start code is found.
[h264 @ 0x7fab0783ce00] Error splitting the input into NAL units.
[h264 @ 0x7fab0a002c00] No start code is found.
[h264 @ 0x7fab0a002c00] Error splitting the input into NAL units.
...(a lot of error, can not play)
command: ./ffplay out001.flv
ffplay version n4.2.2 Copyright (c) 2003-2019 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration:
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
Input #0, flv, from 'out001.flv':
Metadata:
encoder : Lavf58.29.100
Duration: 00:00:10.09, start: 10.011000, bitrate: 2694 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR
1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
10.03 A-V: -0.094 fd= 0 aq= 16KB vq= 4KB sq= 0B f=0/0
...(play normally)
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8517#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list