Opened 22 months ago
Closed 22 months ago
#10260 closed defect (invalid)
issues when parsing h264
Reported by: | apua | Owned by: | |
---|---|---|---|
Priority: | important | Component: | undetermined |
Version: | 6.0 | Keywords: | h264 parser |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
When ffmpeg get live stream from specific device as input, it shows a lot of errors and not processing stream correctly:
[h264 @ 0x327f3210] missing picture in access unit with size xxx
It seems, this is error from libavcodec\h264_parser.c, function parse_nal_units
nal.type of these NALs is 6 (H264_NAL_SEI)
Problematic behavior can be reproduced using attached file.
How to reproduce:
% ffmpeg -i libavcodec_h264_parser_c_parse_nal_units.mp4 -vcodec copy -acodec copy -f null /dev/null ffmpeg version git-master, 6.0, 5.1 built on arm or x64
Checked with 5.1, 6.0 and git-master with the same result.
Attachments (2)
Change History (5)
by , 22 months ago
Attachment: | libavcodec_h264_parser_c_parse_nal_units.mp4 added |
---|
by , 22 months ago
Attachment: | ffmpeg-20230314-173101.log added |
---|
comment:1 by , 22 months ago
comment:2 by , 22 months ago
This file is recorded by Wowza Streaming Engine when live streaming from specific device. Wowza accepted stream and played it.
Also vcl playing this recorded file.
That's why I assume it is rather correct or almost correct than completely incorrect.
comment:3 by , 22 months ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
The file is broken, verified by VQ analyzer. ffplay can show some frames. Nothing we can do.
ffplay.exe -vcodec h264_cuvid libavcodec_h264_parser_c_parse_nal_units.mp4
HW accelerator agrees this is invalid file.