{"id":22439386,"url":"https://github.com/junka/tsanalyze","last_synced_at":"2025-08-01T17:30:42.309Z","repository":{"id":53759942,"uuid":"179993202","full_name":"junka/tsanalyze","owner":"junka","description":"mpeg ts parser","archived":false,"fork":false,"pushed_at":"2024-08-04T15:38:49.000Z","size":5194,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-04T17:23:21.782Z","etag":null,"topics":["atsc","dvb","isdb","mpeg-ts","psi"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/junka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-07T16:34:11.000Z","updated_at":"2024-08-04T15:38:53.000Z","dependencies_parsed_at":"2024-06-17T11:04:16.225Z","dependency_job_id":"58af3b90-e83a-4192-8e84-191b06e1aa3a","html_url":"https://github.com/junka/tsanalyze","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junka%2Ftsanalyze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junka%2Ftsanalyze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junka%2Ftsanalyze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junka%2Ftsanalyze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junka","download_url":"https://codeload.github.com/junka/tsanalyze/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228393518,"owners_count":17912865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atsc","dvb","isdb","mpeg-ts","psi"],"created_at":"2024-12-06T01:13:58.816Z","updated_at":"2024-12-06T01:13:59.659Z","avatar_url":"https://github.com/junka.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TS Analyze\n\nA TS packet start with 4 bytes header, total length could be 188, 192 or 204 bytes which are specified in standard DVB/ATSC/ISDB.\n\n\n```\nConstruct TS packets we will get PES/PSI packets.\nPSI is structured for search and other auxiliary functions. \nPES contains ES packets which could be audio or vedio streams.\n```\n\nWith this understanding, you can start decoding a TS stream or file now.\n\n\n- Use basic rules from ISO 13818 and ETSI EN 300 468 to decode MPEG2 TS\n- Use EN 300 743 to decode subtitle\n- Use ETS 300 706 to decode teletext\n\nPrint descriptors for DVB/ATSC/ISDB standard.\nPrint PSI tables infomation and some other subsystem infomation\n\n\n# Compile\n\nWe could install pybind11 to build package for python.\n\nfor Linux \u0026 Macos\n```\ngit clone https://github.com/junka/tsanalyze.git\ncd tsanalyze\nmkdir build\ncd build\ncmake ..\nmake\n```\n\nfor Windows with MSVC\n```\ngit clone https://github.com/junka/tsanalyze.git\ncd tsanalyze\nmkdir build\ncd build\ncmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=\"C:/vcpkg/scripts/buildsystems/vcpkg.cmake\"\ncmake --build .\n```\n\n# Usage\n- Most simple way \n```\n./tsanalyze tsfile\n```\n- Support file and udp stream analyze\n```\n./tsanalyze -f udp udp://url_of_stream\n```\n`Ctrl + C` to stop and show received ts information \n\n- Print table selected\n```\n./tsanalyze tsfile -s pat -s cat \n```\n- Print stats about ts streams\n ```\n ./tsanalyze tsfile -S\n ```\n\n\n# descriptor\nNot all descriptor implemented now, see ```doc/descriptor.md``` to add new descriptors","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunka%2Ftsanalyze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunka%2Ftsanalyze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunka%2Ftsanalyze/lists"}