-
Notifications
You must be signed in to change notification settings - Fork 6
bantonj/TS_Metadata_Reader
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TS Metadata reader and parser. It iterates through each TS packet and decodes the header. It also provides a way to skip to any packet non-linearly, and supports iterating backwards. It is useful for basic TS metadata analysis scripting, or could be used as the basis of a more complex TS metadata analysis tool. Note: Does not decode or de-multiplex a/v. Also has command line interface to measure the duration of ts files based on pts or dts. Run as main for cli. Simple Example Usage: file = "C:/videofiles/tsfile.ts" ts = TSRead(file) for x in ts: print x.decodedpts, x.decodeddts Note 2: The code is not beautiful, but it works. I plan to pretty it up in the future. Copyright Joshua Banton
About
Python Module for Reading Metadata from TS (MPEG) Files
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published