{"action":"created","issue":{"url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/41","repository_url":"https://api.github.com/repos/saki4510t/UVCCamera","labels_url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/41/comments","events_url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/41/events","html_url":"https://github.com/saki4510t/UVCCamera/issues/41","id":133095426,"number":41,"title":"USBCameraTest3 - How to make video files streamable?","user":{"login":"PinkJazz","id":3534265,"avatar_url":"https://avatars.githubusercontent.com/u/3534265?v=3","gravatar_id":"","url":"https://api.github.com/users/PinkJazz","html_url":"https://github.com/PinkJazz","followers_url":"https://api.github.com/users/PinkJazz/followers","following_url":"https://api.github.com/users/PinkJazz/following{/other_user}","gists_url":"https://api.github.com/users/PinkJazz/gists{/gist_id}","starred_url":"https://api.github.com/users/PinkJazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PinkJazz/subscriptions","organizations_url":"https://api.github.com/users/PinkJazz/orgs","repos_url":"https://api.github.com/users/PinkJazz/repos","events_url":"https://api.github.com/users/PinkJazz/events{/privacy}","received_events_url":"https://api.github.com/users/PinkJazz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-11T21:46:55Z","updated_at":"2016-02-13T07:03:28Z","closed_at":null,"body":"I am currently writing a modified version of USBCameraTest3 with playback, and would like to use a VideoView for playback.  However, today I just found out that the created video files are non-streamable, as I get the error \"Can't play this video\" when loading the video into my VideoView.  Apparently VideoView requires streamable video files.\r\n\r\nI was wondering, what changes should I make to make my output video files streamable?"},"comment":{"url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/comments/183612914","html_url":"https://github.com/saki4510t/UVCCamera/issues/41#issuecomment-183612914","issue_url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/41","id":183612914,"user":{"login":"saki4510t","id":6743409,"avatar_url":"https://avatars.githubusercontent.com/u/6743409?v=3","gravatar_id":"","url":"https://api.github.com/users/saki4510t","html_url":"https://github.com/saki4510t","followers_url":"https://api.github.com/users/saki4510t/followers","following_url":"https://api.github.com/users/saki4510t/following{/other_user}","gists_url":"https://api.github.com/users/saki4510t/gists{/gist_id}","starred_url":"https://api.github.com/users/saki4510t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saki4510t/subscriptions","organizations_url":"https://api.github.com/users/saki4510t/orgs","repos_url":"https://api.github.com/users/saki4510t/repos","events_url":"https://api.github.com/users/saki4510t/events{/privacy}","received_events_url":"https://api.github.com/users/saki4510t/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T07:03:28Z","updated_at":"2016-02-13T07:03:28Z","body":"Hi,\r\nI'm not sure what actually you want to do and how you do it.\r\nIf you try to playback from local storage after capturing and finish saving video images to local storage,  I assume you will misunderstand how to use VideoView and use wrong way to initialize, load and start playback. \r\nBecause all VideoView, MediaPlayer and MediaCodec decoder can playback regardless the movie file is streamable or not if it is on local storage.\r\nI assume most possible reason is you use wrong path, url and/or you will call `VideoView#start` just after calling `VideoView#setVideoPath` etc. without waiting to finish preparing.\r\n\r\nFYI, if you really need streamable format, you need to convert it by yourself after saving movie file(s) \r\nusing FFMPEG etc.\r\n\r\nsaki"}}