The invention discloses a high efficient frame-accurate TS
stream splicing method. The method comprises: a de-
multiplexing process is carried out; more particularly, de-
multiplexing operation is carried out on to-be-played audio and video files in an MPEG-TS form, a TS packet is unpacked into a PES packet and the PES packet is unpacked into an ES packet, so that a video ES packet, an audio ES packet and
synchronizing information are obtained, wherein the
synchronizing information includes PTS / DTS information and source signs of all the audio ES packet and the video ES packet; a basic
stream ES splicing process is carried out; more particularly, PTS / DTS are unifiedly regenerated for ES packets with different sources according to the
synchronizing information,
processing is carried out on video ES packets at different source splicing positions according to a splicing
algorithm and output synchronizing information is regenerated PTS / DTS; a single program transport
stream TS
multiplexing process is carried out; more particularly, an empty packet is inserted to enable a
code rate of the single program transport stream to be maintained to be constant; and a multiple program stream multiplexing process is carried out; more particularly, special-purpose multiplexing equipment is employed to
multiplex a multipath single program transport stream into a multiple program transport stream. According to the invention, frame-accurate seamless splicing on hardware files is realized; an output quality is improved; and the method can be applied to fields having high requirements on image qualities.