{"action":"created","issue":{"url":"https://api.github.com/repos/m90/seeThru/issues/23","labels_url":"https://api.github.com/repos/m90/seeThru/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/m90/seeThru/issues/23/comments","events_url":"https://api.github.com/repos/m90/seeThru/issues/23/events","html_url":"https://github.com/m90/seeThru/issues/23","id":107731470,"number":23,"title":"seethru-convert","user":{"login":"tapouillo","id":1756753,"avatar_url":"https://avatars.githubusercontent.com/u/1756753?v=3","gravatar_id":"","url":"https://api.github.com/users/tapouillo","html_url":"https://github.com/tapouillo","followers_url":"https://api.github.com/users/tapouillo/followers","following_url":"https://api.github.com/users/tapouillo/following{/other_user}","gists_url":"https://api.github.com/users/tapouillo/gists{/gist_id}","starred_url":"https://api.github.com/users/tapouillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tapouillo/subscriptions","organizations_url":"https://api.github.com/users/tapouillo/orgs","repos_url":"https://api.github.com/users/tapouillo/repos","events_url":"https://api.github.com/users/tapouillo/events{/privacy}","received_events_url":"https://api.github.com/users/tapouillo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-22T14:53:58Z","updated_at":"2015-09-24T09:34:09Z","closed_at":null,"body":"hi,\r\n\r\nthanks for this nice tool :)\r\n\r\nseethru-convert is always crashing on my centos server, if it can help someone, I managed to create a working video with the following command lines:\r\n\r\n// my video source is 325x300, it is causing problems for the overlay, so i scale it first\r\nffmpeg -y -vprofile high -i original.mov -codec h264 -pix_fmt yuv420p  -s 324x300 ori.mp4\r\n\r\n//extract the alpha channel\r\nffmpeg -y -vprofile high -i original.mov -codec h264 -pix_fmt yuv420p -vf '[in] alphaextract [out]' -s 324x300 alpha.mp4\r\n\r\n//mixing the 2 videos\r\nffmpeg -y -vprofile high -i ori.mp4 -vf '[in] scale=iw:ih, pad=iw:2*ih [top]; movie=alpha.mp4, scale=iw:ih [bottom]; [top][bottom] overlay=0:h [out]' final.mp4\r\n\r\n//webm convert\r\nffmpeg -i input-file.mp4 -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output-file.webm\r\n\r\nanother problem: on windows / chrome, the alpha mask is badly rendered, as if it was late on the video, causing a shift. (no problem on osx)\r\n\r\nUsing webm format fixed the problem, but after a period of time and some video loop, the browser throw a error message: an error occured, memory problem.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/m90/seeThru/issues/comments/142868139","html_url":"https://github.com/m90/seeThru/issues/23#issuecomment-142868139","issue_url":"https://api.github.com/repos/m90/seeThru/issues/23","id":142868139,"user":{"login":"m90","id":1662740,"avatar_url":"https://avatars.githubusercontent.com/u/1662740?v=3","gravatar_id":"","url":"https://api.github.com/users/m90","html_url":"https://github.com/m90","followers_url":"https://api.github.com/users/m90/followers","following_url":"https://api.github.com/users/m90/following{/other_user}","gists_url":"https://api.github.com/users/m90/gists{/gist_id}","starred_url":"https://api.github.com/users/m90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m90/subscriptions","organizations_url":"https://api.github.com/users/m90/orgs","repos_url":"https://api.github.com/users/m90/repos","events_url":"https://api.github.com/users/m90/events{/privacy}","received_events_url":"https://api.github.com/users/m90/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T09:34:08Z","updated_at":"2015-09-24T09:34:08Z","body":"That's not really what the script is doing though.\r\n\r\nThere used to be a bug in the first release of Safari 6 that did something similar.\r\n\r\nProbably a browser / OS related thing therefore unfortunately.\r\n\r\n"}}