[python]TS流解析

听说TS包长度是188个字节,真的是这样?实验一下(原理:0x47是TS包头的第一个字节,做为同步字段):html file = open('test.ts', 'rb') offset = 0 start = 0 section = file.read(188) while len(section) == 188: for c in section: if ord(
相关文章
相关标签/搜索