{"action":"created","issue":{"url":"https://api.github.com/repos/hiteshsondhi88/ffmpeg-android-java/issues/40","labels_url":"https://api.github.com/repos/hiteshsondhi88/ffmpeg-android-java/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/hiteshsondhi88/ffmpeg-android-java/issues/40/comments","events_url":"https://api.github.com/repos/hiteshsondhi88/ffmpeg-android-java/issues/40/events","html_url":"https://github.com/hiteshsondhi88/ffmpeg-android-java/issues/40","id":102014736,"number":40,"title":"Quotes in command","user":{"login":"yilzer","id":7904887,"avatar_url":"https://avatars.githubusercontent.com/u/7904887?v=3","gravatar_id":"","url":"https://api.github.com/users/yilzer","html_url":"https://github.com/yilzer","followers_url":"https://api.github.com/users/yilzer/followers","following_url":"https://api.github.com/users/yilzer/following{/other_user}","gists_url":"https://api.github.com/users/yilzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yilzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yilzer/subscriptions","organizations_url":"https://api.github.com/users/yilzer/orgs","repos_url":"https://api.github.com/users/yilzer/repos","events_url":"https://api.github.com/users/yilzer/events{/privacy}","received_events_url":"https://api.github.com/users/yilzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T22:35:48Z","updated_at":"2015-08-20T09:47:29Z","closed_at":null,"body":"Right now it's impossible to use quotes in the ffmpeg command, It is possible if you create another command method in the ffmpeg class to accept a String[] as command (http://stackoverflow.com/questions/161859/using-quotes-within-getruntime-exec)\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/hiteshsondhi88/ffmpeg-android-java/issues/comments/132957898","html_url":"https://github.com/hiteshsondhi88/ffmpeg-android-java/issues/40#issuecomment-132957898","issue_url":"https://api.github.com/repos/hiteshsondhi88/ffmpeg-android-java/issues/40","id":132957898,"user":{"login":"dominicthomas","id":1415886,"avatar_url":"https://avatars.githubusercontent.com/u/1415886?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicthomas","html_url":"https://github.com/dominicthomas","followers_url":"https://api.github.com/users/dominicthomas/followers","following_url":"https://api.github.com/users/dominicthomas/following{/other_user}","gists_url":"https://api.github.com/users/dominicthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicthomas/subscriptions","organizations_url":"https://api.github.com/users/dominicthomas/orgs","repos_url":"https://api.github.com/users/dominicthomas/repos","events_url":"https://api.github.com/users/dominicthomas/events{/privacy}","received_events_url":"https://api.github.com/users/dominicthomas/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T09:47:29Z","updated_at":"2015-08-20T09:47:29Z","body":"I was having trouble using -filter_complex and this suggestion helped me.. I can now run the command successfully like this. \r\n\r\nString[] complexCommand = {mFfmpegBin, \"-i\", clips.get(0).path, \"-i\", clips.get(1).path, \"-i\", clips.get(2).path, \"-filter_complex\", \"[0:0] [0:1] [1:0] [1:1] [2:0] [2:1] concat=n=3:v=1:a=1 [v] [a]\", \"-map\", \"[v]\", \"-map\", \"[a]\", \"-strict\", \"-2\", \"-y\", mediaOut.path};\r\n\r\nThe call completes but the output is still not correct. I suspect it's something to do with moov atoms or miscalculated file durations. \r\n\r\nThanks for the suggestion and the link. \r\n"}}