The invention discloses an audio-video
multiplexing device. The multiplexed video ES (
Elementary Stream) and audio PES (
Packetized Elementary Stream) both are obtained from an external memory, the video ES is generated by a video
encoder in an encoding manner, and an audio PES packet is formed by an audio
encoder in a manner of encoding and packaging; a CPU (
Central Processing Unit) part packages the
program specific information (PSI) and the
program clock reference (PCR) into a TS (Transmission
Stream) packet according to the
syntax rules of the transmission
stream (TS) in the standard, and simultaneously generates a video PES head and the configuration information needed for other
multiplexer hardware accelerators; and the
multiplexer hardware accelerator part selects to
multiplex the TS packet and a padding packet into the transmission
stream with constant output rate according to a
multiplexing strategy, wherein the TS packet is formed by packaging of the PSI, the PCR and the audio-video PES. The invention provides an audio-video
multiplexing device, which can process high-definition video in real time, and is high in flexibility, simple in
hardware structure, small in
delay, constant in multiplexing rate and small in PCR
jitter.