[FFmpeg-trac] #4923(undetermined:new): Error messages shown when decoding Samsung sec cctv files that may contain audio
FFmpeg
trac at avcodec.org
Mon Oct 12 12:44:01 CEST 2015
#4923: Error messages shown when decoding Samsung sec cctv files that may contain
audio
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: minor | Component:
Version: git- | undetermined
master | Keywords: h264
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
http://thread.gmane.org/gmane.comp.video.ffmpeg.user/59163
A user uploaded two Samsung cctv recordings. They can be decoded with
FFmpeg which detects them as raw h264 streams. Each frame contains garbage
(or audio) at the end, the garbage sometimes triggers error messages on
decoding. Doesn't really look related to ticket #4748.
I will attach several short samples that allow to reproduce the error (and
warning) messages.
{{{
$ ffmpeg -threads 1 -i test0501_1546.h264 -f null -
ffmpeg version N-75927-gb629c67 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.101 / 57. 3.101
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x285a4a0] reference overflow 20 > 15 or 0 > 15
[h264 @ 0x285a4a0] Reinit context to 48x32, pix_fmt: yuv420p
[h264 @ 0x285a4a0] reference overflow 20 > 15 or 0 > 15
[h264 @ 0x285a4a0] decode_slice_header error
[h264 @ 0x285a4a0] reference overflow 18 > 15 or 0 > 15
Last message repeated 1 times
[h264 @ 0x285a4a0] decode_slice_header error
[h264 @ 0x285a4a0] mmco: unref short failure
[h264 @ 0x285a4a0] illegal short term buffer state detected
[h264 @ 0x285a4a0] Reinit context to 352x288, pix_fmt: yuv420p
[h264 @ 0x2859440] decoding for stream 0 failed
Input #0, h264, from 'test0501_1546.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 352x288, 25 fps, 25 tbr,
1200k tbn, 50 tbc
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf57.3.101
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288,
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.5.100 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[null @ 0x28884a0] Encoder did not produce proper pts, making some up.
[h264 @ 0x28c82e0] Reinit context to 48x32, pix_fmt: yuv420p
[h264 @ 0x28c82e0] reference overflow 20 > 15 or 0 > 15
[h264 @ 0x28c82e0] decode_slice_header error
[h264 @ 0x28c82e0] reference overflow 18 > 15 or 0 > 15
[h264 @ 0x28c82e0] decode_slice_header error
[h264 @ 0x28c82e0] mmco: unref short failure
[h264 @ 0x28c82e0] illegal short term buffer state detected
[h264 @ 0x28c82e0] Reinit context to 352x288, pix_fmt: yuv420p
frame= 4 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.24 bitrate=N/A
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
$ ffmpeg -threads 1 -i test0501_2301.h264 -f null -
ffmpeg version N-75927-gb629c67 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.101 / 57. 3.101
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x28c64a0] log2_max_frame_num_minus4 out of range (0-12): 19
Last message repeated 1 times
[h264 @ 0x28c64a0] Truncating likely oversized SPS
[h264 @ 0x28c64a0] log2_max_frame_num_minus4 out of range (0-12): 19
Last message repeated 1 times
[h264 @ 0x28c5440] decoding for stream 0 failed
Input #0, h264, from 'test0501_2301.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 352x288, 25 fps, 25 tbr,
1200k tbn, 50 tbc
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf57.3.101
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288,
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.5.100 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[null @ 0x28cc6e0] Encoder did not produce proper pts, making some up.
[h264 @ 0x2983d60] log2_max_frame_num_minus4 out of range (0-12): 19
[h264 @ 0x2983d60] Truncating likely oversized SPS
[h264 @ 0x2983d60] log2_max_frame_num_minus4 out of range (0-12): 19
Last message repeated 1 times
frame= 6 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.24 bitrate=N/A
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
$ ffmpeg -threads 1 -i test0501_2336.h264 -f null -
ffmpeg version N-75927-gb629c67 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.101 / 57. 3.101
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x26de4a0] 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 @ 0x26de4a0] 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)
Input #0, h264, from 'test0501_2336.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 352x288, 25 fps, 25 tbr,
1200k tbn, 50 tbc
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf57.3.101
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288,
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.5.100 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[null @ 0x2752d80] Encoder did not produce proper pts, making some up.
[h264 @ 0x2744cc0] 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 @ 0x2744cc0] 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)
frame= 16 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.64 bitrate=N/A
video:2kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
$ ffmpeg -threads 1 -i test0501_2491.h264 -f null -
ffmpeg version N-75927-gb629c67 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.101 / 57. 3.101
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x3a984a0] A non-intra slice in an IDR NAL unit.
[h264 @ 0x3a984a0] decode_slice_header error
[h264 @ 0x3a984a0] no frame!
[h264 @ 0x3a97440] decoding for stream 0 failed
Input #0, h264, from 'test0501_2491.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 352x288, 25 fps, 25 tbr,
1200k tbn, 50 tbc
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf57.3.101
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288,
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.5.100 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[null @ 0x3b0cd00] Encoder did not produce proper pts, making some up.
[h264 @ 0x3b56060] A non-intra slice in an IDR NAL unit.
[h264 @ 0x3b56060] decode_slice_header error
[h264 @ 0x3b56060] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
frame= 5 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.24 bitrate=N/A
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
$ ffmpeg -threads 1 -i test0501_3197.h264 -f null -
ffmpeg version N-75927-gb629c67 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.101 / 57. 3.101
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x208f4a0] illegal aspect ratio
Last message repeated 1 times
[h264 @ 0x208f4a0] Truncating likely oversized SPS
[h264 @ 0x208f4a0] illegal aspect ratio
Last message repeated 1 times
Input #0, h264, from 'test0501_3197.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 352x288, 25 fps, 25 tbr,
1200k tbn, 50 tbc
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf57.3.101
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288,
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.5.100 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[null @ 0x20be360] Encoder did not produce proper pts, making some up.
[h264 @ 0x2145f00] illegal aspect ratio
[h264 @ 0x2145f00] Truncating likely oversized SPS
[h264 @ 0x2145f00] illegal aspect ratio
Last message repeated 1 times
frame= 11 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.44 bitrate=N/A
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
$ ffmpeg -threads 1 -i test0501_3352.h264 -f null -
ffmpeg version N-75927-gb629c67 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.101 / 57. 3.101
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x33fa4a0] illegal POC type 9
Last message repeated 1 times
[h264 @ 0x33fa4a0] Truncating likely oversized SPS
[h264 @ 0x33fa4a0] illegal POC type 9
Last message repeated 1 times
[h264 @ 0x33f9440] decoding for stream 0 failed
Input #0, h264, from 'test0501_3352.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 352x288, 25 fps, 25 tbr,
1200k tbn, 50 tbc
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf57.3.101
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288,
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.5.100 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[null @ 0x34006e0] Encoder did not produce proper pts, making some up.
[h264 @ 0x34b85e0] illegal POC type 9
[h264 @ 0x34b85e0] Truncating likely oversized SPS
[h264 @ 0x34b85e0] illegal POC type 9
Last message repeated 1 times
frame= 6 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.24 bitrate=N/A
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
$ ffmpeg -threads 1 -i test0501_3832.h264 -f null -
ffmpeg version N-75927-gb629c67 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.101 / 57. 3.101
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x25cb4a0] 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 @ 0x25cb4a0] 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 @ 0x25ca440] decoding for stream 0 failed
Input #0, h264, from 'test0501_3832.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 352x288, 25 fps, 25 tbr,
1200k tbn, 50 tbc
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf57.3.101
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288,
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.5.100 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[null @ 0x25d1b60] Encoder did not produce proper pts, making some up.
[h264 @ 0x25d16e0] 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 @ 0x25d16e0] 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)
frame= 6 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.24 bitrate=N/A
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4923>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list