#FEC #mpegts #2022-1 #ProMPEG #2d-parity-FEC

smpte2022-1-packet

Parser for SMPTE 2022-1 packet header format

2 unstable releases

✓ Uses Rust 2018 edition

0.2.0 Mar 5, 2019
0.1.0 Jan 23, 2019

#41 in Video

Download history 12/week @ 2019-01-23 1/week @ 2019-01-30 2/week @ 2019-02-13 2/week @ 2019-02-20 7/week @ 2019-02-27

10 downloads per month
Used in 1 crate

MIT/Apache

16KB
154 lines


lib.rs:

Zero-copy access to the header fields of packets formatted according to SMPTE 2022-1, also know as 'Pro MPEG FEC' or '1D/2D parity FEC'.

Note this does not implement FEC encoding or decoding, just the parsing of the packet header fields.

Header data format

syntax fec_header() {
    SNBase low bits             u16
    Length Recovery             u16
    E                           u1
    PT recovery                 u7
    Mask                        u24
    TS recovery                 u32
    N                           u1
    D                           u1
    type                        u3
    index                       u3
    Offset                      u8
    NA                          u8
    SNBase ext bits             u8
}

No runtime deps