MPEG_PES.H(3)
π NAME π
okay so bestie, welcome to the lib/include/libdvbv5/mpeg_pes.h page from the Library Functions Manual, and it does exactly one thing but she does it flawlessly: she provides the table parser for the MPEG-PES Elementary Stream. that's the whole assignment. slay. β¨
πΈ SYNOPSIS πΈ
to even be in the room, you gotta include these first, no skipping:
#include <stdint.h>
#include <unistd.h>
π Data Structures
struct ts_tβ the MPEG PES timestamp structure, used fordtsandpts. it's giving clock management, lowkey essential β°struct dvb_mpeg_pes_optionalβ the MPEG PES optional header. optional by name, iconic by nature πstruct dvb_mpeg_pesβ the MPEG PES data structure. the main character of this entire file, fr fr π
π Macros
#define DVB_MPEG_PESβ MPEG Packetized Elementary Stream magic β¨#define DVB_MPEG_PES_AUDIOβ PES Audio π§#define DVB_MPEG_PES_VIDEOβ PES Video πΉ#define DVB_MPEG_STREAM_MAPβ PES Stream map πΊοΈ#define DVB_MPEG_STREAM_PADDINGβ PES padding π«§#define DVB_MPEG_STREAM_PRIVATE_2β PES private π€«#define DVB_MPEG_STREAM_ECMβ PES ECM Stream π#define DVB_MPEG_STREAM_EMMβ PES EMM Stream π#define DVB_MPEG_STREAM_DIRECTORYβ PES Stream directory π#define DVB_MPEG_STREAM_DSMCCβ PES DSMCC π‘#define DVB_MPEG_STREAM_H222Eβ PES H.222.1 type E π
π¦ Functions
ssize_t dvb_mpeg_pes_init (struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, uint8_t *table)β Initialize astruct dvb_mpeg_pesfrom buffer. the glow-up from raw bytes to real struct, we love to see it π«Άvoid dvb_mpeg_pes_free (struct dvb_mpeg_pes *pes)β Deallocate memory associated with astruct dvb_mpeg_pes. clean up after yourself bestie, no leaks π§Ήvoid dvb_mpeg_pes_print (struct dvb_v5_fe_parms *parms, struct dvb_mpeg_pes *pes)β Print details ofstruct dvb_mpeg_pes. show the world what you parsed π¨οΈ
π¦ Detailed Description π¦
Provides the table parser for the MPEG-PES Elementary Stream.
π Copyright
GNU Lesser General Public License version 2.1 (LGPLv2.1). read it, respect it, it's the law bestie π
βοΈ Author
Andre Roth
π Relevant specs
The table described herein is defined in ISO 13818-1
π See also
http://dvd.sourceforge.net/dvdinfo/pes-hdr.html
π Bug Report
Please submit bug reports and patches to linux-media@vger.kernel.org
not me asking you to actually file the bug instead of just complaining in the group chat π do it, the maintainers are nice
Definition in file mpeg_pes.h.
π« Author π«
Generated automatically by Doxygen for libdvbv5 from the source code.
and that's the whole page, bestie π this was libdvbv5, Version 1.32.0, lib/includ.../mpeg_pes.h(3) β go forth, parse those elementary streams, and remember: the vibe is immaculate but the facts are untouched. periodt π
πΈ
π¦ where this page comes from
- fedora 43: libdvbv5-devel 1.32.0-1.fc43 Β· LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
- fedora 43: libdvbv5-devel 1.32.0-1.fc43 Β· LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms