{"action":"closed","issue":{"url":"https://api.github.com/repos/kynesim/tstools/issues/38","repository_url":"https://api.github.com/repos/kynesim/tstools","labels_url":"https://api.github.com/repos/kynesim/tstools/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/kynesim/tstools/issues/38/comments","events_url":"https://api.github.com/repos/kynesim/tstools/issues/38/events","html_url":"https://github.com/kynesim/tstools/issues/38","id":384888006,"node_id":"MDU6SXNzdWUzODQ4ODgwMDY=","number":38,"title":"tsplay option to play all PIDs?","user":{"login":"BobCu","id":43245049,"node_id":"MDQ6VXNlcjQzMjQ1MDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/43245049?v=4","gravatar_id":"","url":"https://api.github.com/users/BobCu","html_url":"https://github.com/BobCu","followers_url":"https://api.github.com/users/BobCu/followers","following_url":"https://api.github.com/users/BobCu/following{/other_user}","gists_url":"https://api.github.com/users/BobCu/gists{/gist_id}","starred_url":"https://api.github.com/users/BobCu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobCu/subscriptions","organizations_url":"https://api.github.com/users/BobCu/orgs","repos_url":"https://api.github.com/users/BobCu/repos","events_url":"https://api.github.com/users/BobCu/events{/privacy}","received_events_url":"https://api.github.com/users/BobCu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-27T16:47:27Z","updated_at":"2018-11-27T22:11:49Z","closed_at":"2018-11-27T22:11:49Z","author_association":"NONE","body":"I need to loop a multi-program TS that has the same content at different resolutions/bitrates (generated by ffmpeg) to simulate a live feed to an adaptive streaming (DASH/HLS) packager.  By \"same content\" I mean the same frame rate, I-frames at the same times, the same PTS for each frame across all programs, and the PCRs are the same across all video PIDs.\r\n\r\nUnfortunately, tsplay currently only plays a single video PID and a single audio PID.\r\n\r\nCan tsplay be enhanced to loop the entire TS (all video/audio PIDs)?\r\n\r\nAlso, can tsplay *not* renumber the video and audio PIDs?  That is, output should be on the same PIDs as the input.  PID renumbering should be an explicit (no default) option specified on the command line.\r\n\r\nI see two basic approaches:\r\n1. Handle only the special case of parallel content for adaptive streaming, where the PCR is common across all programs (minimal changes).  That is, use the PCR from the first video PID and apply it to all PIDs.\r\n2. Handle each PID/PCR/PTS separately: Support an array/list of PCRs, indexed by either program number or PID.\r\n\r\nToday's CPUs and networks can easily (trivially) handle the load.\r\n\r\nI'll hack on the code to see what's possible, but I'm certain you won't want a pull request for the result!"}}
{"actor":{"display_login":"BobCu"}}