{"action":"created","issue":{"url":"https://api.github.com/repos/ArduCAM/Arduino/issues/373","repository_url":"https://api.github.com/repos/ArduCAM/Arduino","labels_url":"https://api.github.com/repos/ArduCAM/Arduino/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/ArduCAM/Arduino/issues/373/comments","events_url":"https://api.github.com/repos/ArduCAM/Arduino/issues/373/events","html_url":"https://github.com/ArduCAM/Arduino/issues/373","id":376469136,"node_id":"MDU6SXNzdWUzNzY0NjkxMzY=","number":373,"title":"Video2SD demo: invalid AVI file and capture speed is wrong","user":{"login":"XFer012","id":16563943,"node_id":"MDQ6VXNlcjE2NTYzOTQz","avatar_url":"https://avatars0.githubusercontent.com/u/16563943?v=4","gravatar_id":"","url":"https://api.github.com/users/XFer012","html_url":"https://github.com/XFer012","followers_url":"https://api.github.com/users/XFer012/followers","following_url":"https://api.github.com/users/XFer012/following{/other_user}","gists_url":"https://api.github.com/users/XFer012/gists{/gist_id}","starred_url":"https://api.github.com/users/XFer012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XFer012/subscriptions","organizations_url":"https://api.github.com/users/XFer012/orgs","repos_url":"https://api.github.com/users/XFer012/repos","events_url":"https://api.github.com/users/XFer012/events{/privacy}","received_events_url":"https://api.github.com/users/XFer012/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T16:31:27Z","updated_at":"2018-11-02T01:05:45Z","closed_at":null,"author_association":"NONE","body":"Hello, using your demo code with my Arducam_Mini_2MP\r\nhttps://github.com/ArduCAM/Arduino/tree/master/ArduCAM/examples/mini/ArduCAM_Mini_Video2SD\r\n\r\n1) The saved clip is an incorrect AVI (MJPEG) file: most players refuse to play it (\"malformed header\" and/or \"invalid chunks\"). \r\nWith the few players which nevertheless try to play the clip, video speed is wrong (way too fast, like 100+ FPS) and only 100 out of 200 frames are decoded (the others are skipped!).\r\nUnfortunately it's too difficult for me to understand what's going on; maybe chunk headers are wrongly calculated/written?\r\n\r\n2) Despite having capture rate at \"0x05\" (5 FPS), the camera does not record for 40 seconds (200 frames / 5 fps), but for 14 seconds only. \r\nThis suggests actual capture rate is wrong...?\r\n\r\nThank you very much for your support.\r\nYour products are wonderful, they warrant just a bit more effort on the software/docs side maybe? :)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ArduCAM/Arduino/issues/comments/435237994","html_url":"https://github.com/ArduCAM/Arduino/issues/373#issuecomment-435237994","issue_url":"https://api.github.com/repos/ArduCAM/Arduino/issues/373","id":435237994,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTIzNzk5NA==","user":{"login":"UCTRONICS","id":27711713,"node_id":"MDQ6VXNlcjI3NzExNzEz","avatar_url":"https://avatars3.githubusercontent.com/u/27711713?v=4","gravatar_id":"","url":"https://api.github.com/users/UCTRONICS","html_url":"https://github.com/UCTRONICS","followers_url":"https://api.github.com/users/UCTRONICS/followers","following_url":"https://api.github.com/users/UCTRONICS/following{/other_user}","gists_url":"https://api.github.com/users/UCTRONICS/gists{/gist_id}","starred_url":"https://api.github.com/users/UCTRONICS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCTRONICS/subscriptions","organizations_url":"https://api.github.com/users/UCTRONICS/orgs","repos_url":"https://api.github.com/users/UCTRONICS/repos","events_url":"https://api.github.com/users/UCTRONICS/events{/privacy}","received_events_url":"https://api.github.com/users/UCTRONICS/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T01:05:45Z","updated_at":"2018-11-02T01:05:45Z","author_association":"CONTRIBUTOR","body":"@XFer012 \r\nHi, This is just a test demo. We just use it to test our camera. We fake an AVI header and write the image data to the AVI file. For Arduino UNO platform, it is very difficult to encode the AVI file.\r\nIf you are interested, we are willing to work together with you."}}
{"actor":{"display_login":"UCTRONICS"}}