Opened 3 years ago

Closed 3 years ago

#4529 closed defect (fixed)

Forbidden bit in h264 stream triggers data partioning warning

Reported by: cehoyos Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: h264 regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/192751
A user uploaded a raw h264 stream for which FFmpeg claims "data partitioning not implemented" since 392080cb / 167e004e

$ ffmpeg -i night_cut.dump -f null -
ffmpeg version N-71816-g02001ad Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      54. 23.101 / 54. 23.101
  libavcodec     56. 35.101 / 56. 35.101
  libavformat    56. 31.100 / 56. 31.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 14.100 /  5. 14.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, h264, from 'night_cut.dump':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Main), yuv420p, 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf56.31.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.35.101 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[null @ 0x1d73ca0] Encoder did not produce proper pts, making some up.
[h264 @ 0x1d59420] 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 @ 0x1d59420] 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@ffmpeg.org)
frame=   30 fps=0.0 q=0.0 Lsize=N/A time=00:00:01.24 bitrate=N/A
video:3kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

The reference decoder reports:

00000(IDR)        0     0    25                             4:2:0      26
00001( P )        2     1    23                             4:2:0      25
00002( P )        4     2    22                             4:2:0      27
00003( P )        6     3    23                             4:2:0      25
00004( P )        8     4    22                             4:2:0      26
00005( P )       10     5    23                             4:2:0      24
00006( P )       12     6    22                             4:2:0      27
00007( P )       14     7    23                             4:2:0      25
00008( P )       16     8    22                             4:2:0      26
00009( P )       18     9    23                             4:2:0      24
00010( P )       20    10    22                             4:2:0      27
00011( P )       22    11    23                             4:2:0      24
00012( P )       24    12    22                             4:2:0      26
00013( P )       26    13    23                             4:2:0      24
00014( P )       28    14    22                             4:2:0      26
00015( P )       30    15    23                             4:2:0      24
00016( P )       32    16    22                             4:2:0      26
00017( P )       34    17    23                             4:2:0      24
00018( P )       36    18    22                             4:2:0      27
00019( P )       38    19    23                             4:2:0      25
00020( P )       40    20    22                             4:2:0      26
00021( P )       42    21    23                             4:2:0      24
00022( P )       44    22    22                             4:2:0      27
00023( P )       46    23    23                             4:2:0      25
00024( P )       48    24    22                             4:2:0      26
00025( P )       50    25    23                             4:2:0      25
00026( P )       52    26    22                             4:2:0      26
Found NALU with forbidden_bit set, bit error?

Attachments (1)

night_cut.dump (838.3 KB) - added by cehoyos 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by cehoyos

comment:1 in reply to: ↑ description Changed 3 years ago by cehoyos

  • Priority changed from minor to important

Replying to cehoyos:

frame=   30 fps=0.0 q=0.0 Lsize=N/A time=00:00:01.24 bitrate=N/A

FFmpeg used to return 31 frames for this input sample, making the issue not a purely cosmetic one afaict but an actual decoding regression.

comment:2 Changed 3 years ago by michael

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.