{"action":"created","issue":{"url":"https://api.github.com/repos/tsduck/tsduck/issues/138","repository_url":"https://api.github.com/repos/tsduck/tsduck","labels_url":"https://api.github.com/repos/tsduck/tsduck/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/tsduck/tsduck/issues/138/comments","events_url":"https://api.github.com/repos/tsduck/tsduck/issues/138/events","html_url":"https://github.com/tsduck/tsduck/issues/138","id":371617293,"node_id":"MDU6SXNzdWUzNzE2MTcyOTM=","number":138,"title":"How to \"copy\" the content of a pid?","user":{"login":"lars18th","id":9989964,"node_id":"MDQ6VXNlcjk5ODk5NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9989964?v=4","gravatar_id":"","url":"https://api.github.com/users/lars18th","html_url":"https://github.com/lars18th","followers_url":"https://api.github.com/users/lars18th/followers","following_url":"https://api.github.com/users/lars18th/following{/other_user}","gists_url":"https://api.github.com/users/lars18th/gists{/gist_id}","starred_url":"https://api.github.com/users/lars18th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars18th/subscriptions","organizations_url":"https://api.github.com/users/lars18th/orgs","repos_url":"https://api.github.com/users/lars18th/repos","events_url":"https://api.github.com/users/lars18th/events{/privacy}","received_events_url":"https://api.github.com/users/lars18th/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-18T16:42:03Z","updated_at":"2018-10-19T15:13:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nI'm impressed to not found any plugin for \"copying\" packets from one pid!\r\n\r\nUsing the current `encap` plugin I like to \"store\" a _copy_ of the PSI tables in some private pid. However, I don't like to discard the current PSI tables, as the external processor (FFmpeg) needs to read these tables.\r\n\r\nSo, how to achieve this?\r\nPerhaps de current `remap` plugin can include a new parameter `--copy` to create simple copy of packets with the new pid number.\r\n\r\nWhat you think?\r\n"},"comment":{"url":"https://api.github.com/repos/tsduck/tsduck/issues/comments/431397244","html_url":"https://github.com/tsduck/tsduck/issues/138#issuecomment-431397244","issue_url":"https://api.github.com/repos/tsduck/tsduck/issues/138","id":431397244,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTM5NzI0NA==","user":{"login":"lars18th","id":9989964,"node_id":"MDQ6VXNlcjk5ODk5NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9989964?v=4","gravatar_id":"","url":"https://api.github.com/users/lars18th","html_url":"https://github.com/lars18th","followers_url":"https://api.github.com/users/lars18th/followers","following_url":"https://api.github.com/users/lars18th/following{/other_user}","gists_url":"https://api.github.com/users/lars18th/gists{/gist_id}","starred_url":"https://api.github.com/users/lars18th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars18th/subscriptions","organizations_url":"https://api.github.com/users/lars18th/orgs","repos_url":"https://api.github.com/users/lars18th/repos","events_url":"https://api.github.com/users/lars18th/events{/privacy}","received_events_url":"https://api.github.com/users/lars18th/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T15:13:47Z","updated_at":"2018-10-19T15:13:47Z","author_association":"CONTRIBUTOR","body":"Hi @lelegard ,\r\n\r\nIn order to complete the test of the #126  I think I need to fully \"copy\" the PSI pids, because I don't know how I can store the original PSI tables inside the encapsulted stream.\r\n\r\nI see the example in the documentation (**5.2.25 Encapsulating PID’s into a private tunnel**). But the problem is that the external tool (like the FFmpeg does) can \"destroy\" the original PSI tables. So the idea is to \"restore\" them _after_ the processing.\r\n\r\nHow I can achieve this without doing a \"copy\"?\r\nI wait for your response.\r\n"}}
{"actor":{"display_login":"lars18th"}}