Table of Contents
NUT is a low overhead generic container format. It stores audio, video, subtitle and user-defined streams in a simple, yet efficient, way.
It was created by a group of FFmpeg and MPlayer developers in 2003 and was finalized in 2008.
The official nut specification is at svn://svn.mplayerhq.hu/nut In case of any differences between this text and the official specification, the official specification shall prevail.
NUT has some variants signaled by using the flags field in its main header.
|BROADCAST||Extend the syncpoint to report the sender wallclock|
|PIPE||Omit completely the syncpoint|
The BROADCAST variant provides a secondary time reference to facilitate detecting endpoint latency and network delays. It assumes all the endpoint clocks are synchronized. To be used in real-time scenarios.
The PIPE variant assumes NUT is used as non-seekable intermediate container, by not using syncpoint removes unneeded overhead and reduces the overall memory usage.
Since many exotic planar YUVA pixel formats are not considered by the AVI/QuickTime FourCC lists, the following scheme is adopted for representing them.
The first two bytes can contain the values: Y1 = only Y Y2 = Y+A Y3 = YUV Y4 = YUVA
The third byte represents the width and height chroma subsampling values for the UV planes, that is the amount to shift the luma width/height right to find the chroma width/height.
The fourth byte is the number of bits used (8, 16, ...).
If the order of bytes is inverted, that means that each component has to be read big-endian.
<type> is S for signed integer, U for unsigned integer, F for IEEE float <interleaving> is D for default, P is for planar. <bits> is 8/16/24/32
PFD would for example be signed 32 bit little-endian IEEE float
|3IV1||non-compliant MPEG-4 generated by old 3ivx|
|ASV2||Asus Video 2|
|DIVX||non-compliant MPEG-4 generated by old DivX|
|FFV1||FFmpeg video 1|
|LJPG||ITU JPEG (lossless)|
|MPG4||MS MPEG-4v1 (not ISO MPEG-4)|
|MP4V||ISO MPEG-4 Part 2 Video (from old encoders)|
|mpg1||ISO MPEG-1 Video|
|mpg2||ISO MPEG-2 Video|
|MSVC||MS Video 1|
|SVQ1||Sorenson Video 1|
|SVQ3||Sorenson Video 3|
|UMP4||non-compliant MPEG-4 generated by UB Video MPEG-4|
|WV1F||non-compliant MPEG-4 generated by ?|
|XVID||non-compliant MPEG-4 generated by old Xvid|
|XVIX||non-compliant MPEG-4 generated by old Xvid with interlacing bug|
This document was generated on October 27, 2021 using makeinfo.
Hosting provided by telepoint.bg