{"action":"created","issue":{"url":"https://api.github.com/repos/75lb/handbrake-js/issues/33","repository_url":"https://api.github.com/repos/75lb/handbrake-js","labels_url":"https://api.github.com/repos/75lb/handbrake-js/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/75lb/handbrake-js/issues/33/comments","events_url":"https://api.github.com/repos/75lb/handbrake-js/issues/33/events","html_url":"https://github.com/75lb/handbrake-js/issues/33","id":375468044,"node_id":"MDU6SXNzdWUzNzU0NjgwNDQ=","number":33,"title":"Subtitles are getting hard-burned into the video","user":{"login":"unikitty37","id":139183,"node_id":"MDQ6VXNlcjEzOTE4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/139183?v=4","gravatar_id":"","url":"https://api.github.com/users/unikitty37","html_url":"https://github.com/unikitty37","followers_url":"https://api.github.com/users/unikitty37/followers","following_url":"https://api.github.com/users/unikitty37/following{/other_user}","gists_url":"https://api.github.com/users/unikitty37/gists{/gist_id}","starred_url":"https://api.github.com/users/unikitty37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unikitty37/subscriptions","organizations_url":"https://api.github.com/users/unikitty37/orgs","repos_url":"https://api.github.com/users/unikitty37/repos","events_url":"https://api.github.com/users/unikitty37/events{/privacy}","received_events_url":"https://api.github.com/users/unikitty37/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-30T12:39:39Z","updated_at":"2018-10-31T19:03:20Z","closed_at":null,"author_association":"NONE","body":"I have an input file with two PGS subtitle tracks. I'm trying to recompress the video, and pass audio and subtitle files through untouched.\r\n\r\nI'm calling `hbjs.spawn` with these options:\r\n\r\n```js\r\n   hbjs.spawn({\r\n      input: file,\r\n      output: tmpFile,\r\n      preset: 'H.264 MKV 1080p30',\r\n      quality,\r\n      'main-feature': true,\r\n      markers: true,\r\n      'all-audio': true,\r\n      aencoder: 'copy',\r\n      'audio-copy-mask': 'aac,ac3,eac3,truehd,dts,dtshd,mp3,flac',\r\n      'all-subtitles': true,\r\n    })\r\n```\r\n\r\nbut the resulting file has one of the subtitle tracks passed through, and the other one burned into the video, making the resulting file useless (as I need to be able to turn the subtitles off when they're not needed).\r\n\r\nAccording to the Handbrake docs (which are always fairly sparse when it comes to the CLI) these options are correct. I tried being explicit by adding `'subtitle-burned': 'none'` but it still burns one subtitle track in.\r\n\r\nAm I missing something? How can I get it to just pass the subtitles through unchanged?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/75lb/handbrake-js/issues/comments/434809383","html_url":"https://github.com/75lb/handbrake-js/issues/33#issuecomment-434809383","issue_url":"https://api.github.com/repos/75lb/handbrake-js/issues/33","id":434809383,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDgwOTM4Mw==","user":{"login":"75lb","id":1247980,"node_id":"MDQ6VXNlcjEyNDc5ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/1247980?v=4","gravatar_id":"","url":"https://api.github.com/users/75lb","html_url":"https://github.com/75lb","followers_url":"https://api.github.com/users/75lb/followers","following_url":"https://api.github.com/users/75lb/following{/other_user}","gists_url":"https://api.github.com/users/75lb/gists{/gist_id}","starred_url":"https://api.github.com/users/75lb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/75lb/subscriptions","organizations_url":"https://api.github.com/users/75lb/orgs","repos_url":"https://api.github.com/users/75lb/repos","events_url":"https://api.github.com/users/75lb/events{/privacy}","received_events_url":"https://api.github.com/users/75lb/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T19:03:20Z","updated_at":"2018-10-31T19:03:20Z","author_association":"OWNER","body":"Do these options work correctly when passed directly to HandbrakeCLI? Could you post an example of a working HandbrakeCLI command containing all your desired args which I can use to debug this issue please? "}}
{"actor":{"display_login":"75lb"}}