Dear all, There is a bug in the function psi_get_version (/mpeg/psi/psi.h). The mask must be 0x3e instead of 0x1e as the version is coded on 5 bits. Here is the original code: static inline uint8_t psi_get_version(const uint8_t *p_section) { return (p_section[5] & 0x1e) >> 1; } Sebastien.