You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: ffv1.md
+64
Original file line number
Diff line number
Diff line change
@@ -1038,6 +1038,13 @@ Parameters( ) { |
1038
1038
ec | ur
1039
1039
intra | ur
1040
1040
} |
1041
+
if (version == 3 && micro_version >= 5) { |{V3}
1042
+
if ((version == 3 && micro_version >= 5) |{V4}
1043
+
|| version >= 4) { |{V4}
1044
+
width | ur
1045
+
height | ur
1046
+
Metadata( ) |
1047
+
} |
1041
1048
} |
1042
1049
```
1043
1050
@@ -1070,6 +1077,7 @@ Meaning of micro_version for version 3:
1070
1077
|-------|:------------------------|
1071
1078
|0...3 | reserved\* |
1072
1079
|4 | first stable variant |
1080
+
|5 | frame size and metadata |
1073
1081
|Other | reserved for future use |
1074
1082
1075
1083
\* development versions which may be incompatible with the stable variants.
@@ -1215,6 +1223,14 @@ Inferred to be 0 if not present.
1215
1223
|1 | Frames are independent (keyframes only) |
1216
1224
|Other | reserved for future use |
1217
1225
1226
+
### width
1227
+
1228
+
0 if unspecified in the bitstream (provided by container)
1229
+
1230
+
### height
1231
+
1232
+
0 if unspecified in the bitstream (provided by container)
1233
+
1218
1234
## Quantization Table Set
1219
1235
1220
1236
The Quantization Table Sets are stored by storing the number of equal entries -1 of the first half of the table (represented as `len - 1` in the pseudo-code below) using the method described in [Range Non Binary Values](#range-non-binary-values). The second half doesn’t need to be stored as it is identical to the first with flipped sign. `scale` and `len_count[ i ][ j ]` are temporary values used for the computing of `context_count[ i ]` and are not used outside Quantization Table Set pseudo-code.
|| Encoding library name and version (e.g. "Lavc57.107.100 ffv1") |
1332
+
|Other | reserved for future use |
1333
+
1334
+
### metadata_type
1335
+
1336
+
### metadata_content
1337
+
1274
1338
# Restrictions
1275
1339
1276
1340
To ensure that fast multithreaded decoding is possible, starting version 3 and if frame\_pixel\_width * frame\_pixel\_height is more than 101376, slice\_width * slice\_height MUST be less or equal to num\_h\_slices * num\_v\_slices / 4.
0 commit comments