{"action":"created","issue":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/303","labels_url":"https://api.github.com/repos/bytedeco/javacv/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/bytedeco/javacv/issues/303/comments","events_url":"https://api.github.com/repos/bytedeco/javacv/issues/303/events","html_url":"https://github.com/bytedeco/javacv/issues/303","id":125392889,"number":303,"title":"Handling recording of longer duration videos","user":{"login":"Dijil","id":16190131,"avatar_url":"https://avatars.githubusercontent.com/u/16190131?v=3","gravatar_id":"","url":"https://api.github.com/users/Dijil","html_url":"https://github.com/Dijil","followers_url":"https://api.github.com/users/Dijil/followers","following_url":"https://api.github.com/users/Dijil/following{/other_user}","gists_url":"https://api.github.com/users/Dijil/gists{/gist_id}","starred_url":"https://api.github.com/users/Dijil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dijil/subscriptions","organizations_url":"https://api.github.com/users/Dijil/orgs","repos_url":"https://api.github.com/users/Dijil/repos","events_url":"https://api.github.com/users/Dijil/events{/privacy}","received_events_url":"https://api.github.com/users/Dijil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-07T13:22:10Z","updated_at":"2016-01-07T14:19:42Z","closed_at":null,"body":"I am using RecordActivity sample to record a video a video of size 480*480 with duration of 10 seconds. But when recording duration is increased to more than 25 seconds an out of memory exception occurs.\r\n\r\n```\r\nimages[i] = new Frame(imageWidth, imageHeight, Frame.DEPTH_UBYTE, 2);\r\n```\r\n\r\nException occurs at the above line where memory is allocated for frames. So I am now looking at implementing a solution so that  short videos are saved in background and then combined later. Do we need to use multiple instances of FFmpegFrameRecorder to handle this? "},"comment":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/comments/169677142","html_url":"https://github.com/bytedeco/javacv/issues/303#issuecomment-169677142","issue_url":"https://api.github.com/repos/bytedeco/javacv/issues/303","id":169677142,"user":{"login":"saudet","id":3328023,"avatar_url":"https://avatars.githubusercontent.com/u/3328023?v=3","gravatar_id":"","url":"https://api.github.com/users/saudet","html_url":"https://github.com/saudet","followers_url":"https://api.github.com/users/saudet/followers","following_url":"https://api.github.com/users/saudet/following{/other_user}","gists_url":"https://api.github.com/users/saudet/gists{/gist_id}","starred_url":"https://api.github.com/users/saudet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudet/subscriptions","organizations_url":"https://api.github.com/users/saudet/orgs","repos_url":"https://api.github.com/users/saudet/repos","events_url":"https://api.github.com/users/saudet/events{/privacy}","received_events_url":"https://api.github.com/users/saudet/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T14:19:42Z","updated_at":"2016-01-07T14:19:42Z","body":"I'm not sure I understand your question. Please explain what you are trying to achieve."}}