{"action":"created","issue":{"url":"https://api.github.com/repos/slhck/ffmpeg-normalize/issues/70","repository_url":"https://api.github.com/repos/slhck/ffmpeg-normalize","labels_url":"https://api.github.com/repos/slhck/ffmpeg-normalize/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/slhck/ffmpeg-normalize/issues/70/comments","events_url":"https://api.github.com/repos/slhck/ffmpeg-normalize/issues/70/events","html_url":"https://github.com/slhck/ffmpeg-normalize/issues/70","id":320476313,"number":70,"title":"Using the -e switch in Windows - Question","user":{"login":"TanMan1217","id":20880426,"avatar_url":"https://avatars3.githubusercontent.com/u/20880426?v=4","gravatar_id":"","url":"https://api.github.com/users/TanMan1217","html_url":"https://github.com/TanMan1217","followers_url":"https://api.github.com/users/TanMan1217/followers","following_url":"https://api.github.com/users/TanMan1217/following{/other_user}","gists_url":"https://api.github.com/users/TanMan1217/gists{/gist_id}","starred_url":"https://api.github.com/users/TanMan1217/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanMan1217/subscriptions","organizations_url":"https://api.github.com/users/TanMan1217/orgs","repos_url":"https://api.github.com/users/TanMan1217/repos","events_url":"https://api.github.com/users/TanMan1217/events{/privacy}","received_events_url":"https://api.github.com/users/TanMan1217/received_events","type":"User","site_admin":false},"labels":[{"id":118394796,"url":"https://api.github.com/repos/slhck/ffmpeg-normalize/labels/need-feedback","name":"need-feedback","color":"fbca04","default":false},{"id":118394797,"url":"https://api.github.com/repos/slhck/ffmpeg-normalize/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-05-05T03:41:27Z","updated_at":"2018-05-05T16:25:35Z","closed_at":null,"author_association":"NONE","body":"I want to normalize my playlist using ffmpeg-normalize. My playlist is currently MP3 VBR encoded with the -V2 switch. I'd like to keep the files encoded the same way. In ffmpeg, I'd do that with \"-c:a libmp3lame -q:a 2\". Even though ffmpeg-normalize doesn't include a VBR option, it uses the -e switch to pass parameters directly to ffmpeg. So in theory I should be able to do this:\r\n\r\nffmpeg-normalize \"song.mp3\" -c:a libmp3lame -e \"q:a 2\"\r\n\r\nBut it pukes on the -e switch. With debug, I can see that the string is being interpreted with json, so I've tried formatting it as json, but the formatting is messing me up. The string should look like this:\r\n\r\n{\"q:a\":\"2\"}\r\n\r\nBut I'm pretty sure I'm being clobbered by some combination of the Windows command processor and the json parser. I've tried quoting the entire string and escaping the embedded quotes (using caret, forward slash, back slash, and double quotes), and I've tried single quotes as the outer quotes, but I can't get this to work.\r\n\r\nCan anyone please explain to me how to format the -e switch in Windows?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/slhck/ffmpeg-normalize/issues/comments/386817221","html_url":"https://github.com/slhck/ffmpeg-normalize/issues/70#issuecomment-386817221","issue_url":"https://api.github.com/repos/slhck/ffmpeg-normalize/issues/70","id":386817221,"user":{"login":"slhck","id":582444,"avatar_url":"https://avatars3.githubusercontent.com/u/582444?v=4","gravatar_id":"","url":"https://api.github.com/users/slhck","html_url":"https://github.com/slhck","followers_url":"https://api.github.com/users/slhck/followers","following_url":"https://api.github.com/users/slhck/following{/other_user}","gists_url":"https://api.github.com/users/slhck/gists{/gist_id}","starred_url":"https://api.github.com/users/slhck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slhck/subscriptions","organizations_url":"https://api.github.com/users/slhck/orgs","repos_url":"https://api.github.com/users/slhck/repos","events_url":"https://api.github.com/users/slhck/events{/privacy}","received_events_url":"https://api.github.com/users/slhck/received_events","type":"User","site_admin":false},"created_at":"2018-05-05T16:25:35Z","updated_at":"2018-05-05T16:25:35Z","author_association":"OWNER","body":"Yup, this is now possible in 1.3.4.\r\n\r\nYou can use the old JSON syntax with `-e \"[ … ]\"` or the new `-e=\"-foo -bar\"` syntax."}}
{"actor":{"display_login":"slhck"}}