Program selection method for MPEG TS file playback
暂无分享,去创建一个
The invention provides a program selection method for MPEG TS file playback. The method comprises the steps of firstly, conducting an analysis on a PAT list and a PMT list in an MPEG TS file, obtaining all program information and flow information in programs in the file, and conducting classification on the flow information according to the programs; then, respectively conducting checking on each program according to the flow information of each program, wherein the checking at least comprises checking on integrality of basic flow of each program; again conducting grading on each program according to the checked result; finally confirming the successive sequence, capable of being selected, of the programs according to the graded results. With the program selection method, demultiplexing efficiency of the MPEG TS file can be improved, and hardware resources, such as a CPU and an internal storage can be saved.