{"action":"created","issue":{"url":"https://api.github.com/repos/dickontoo/omxmotion/issues/3","labels_url":"https://api.github.com/repos/dickontoo/omxmotion/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dickontoo/omxmotion/issues/3/comments","events_url":"https://api.github.com/repos/dickontoo/omxmotion/issues/3/events","html_url":"https://github.com/dickontoo/omxmotion/issues/3","id":75211191,"number":3,"title":"Writing (kind of) corrupt video","user":{"login":"towolf","id":345210,"avatar_url":"https://avatars.githubusercontent.com/u/345210?v=3","gravatar_id":"","url":"https://api.github.com/users/towolf","html_url":"https://github.com/towolf","followers_url":"https://api.github.com/users/towolf/followers","following_url":"https://api.github.com/users/towolf/following{/other_user}","gists_url":"https://api.github.com/users/towolf/gists{/gist_id}","starred_url":"https://api.github.com/users/towolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towolf/subscriptions","organizations_url":"https://api.github.com/users/towolf/orgs","repos_url":"https://api.github.com/users/towolf/repos","events_url":"https://api.github.com/users/towolf/events{/privacy}","received_events_url":"https://api.github.com/users/towolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-05-11T12:49:09Z","updated_at":"2015-05-11T22:05:27Z","closed_at":null,"body":"Hi, your project is pretty interesting.\r\n\r\nI built it today to check it out and I’m not sure what I’m supposed to see.\r\n\r\nStarting it, it prints\r\n```\r\nFramerate:\t1966080 (1e0000); (30.000000)\r\n```\r\n\r\nSo, I assume it is supposed to write \"live action\" 30fps video? When I play the output mkv files (with `mpv`, `ffplay`, or `totem`), I get either a kind of low framerate \"timelapse\" with lots of errors, or one or two frames and then nothing (with lots of errors).\r\n\r\nThe output seems to have zeroed PTS timestamps\r\n\r\n![screenshot from 2015-05-11 14-32-15](https://cloud.githubusercontent.com/assets/345210/7564893/68bee65a-f7eb-11e4-82ed-0167b8a9110b.png)\r\n\r\nAnd it’s complaining about incomplete units frequently.\r\n\r\nI re-encoded a video to generate fresh timestamps and suddenly I got \"full motion\" video:\r\n\r\n```\r\nffmpeg  -i file:2015-05-11T14\\:12\\:44.mkv  -preset superfast -vf \"setpts=N/(25*TB)\" test.mp4\r\n```\r\n\r\nSo, there were *all the frames* in the file, but the \"corrupted\" muxing and/or the h.264 stream prevented playing them properly. The player skips almost all of them somehow.\r\n\r\nI think it would b good if the camera native timestamps were muxed into the file. And muxing to mp4 would be best, so the files can be played natively straight in the browser."},"comment":{"url":"https://api.github.com/repos/dickontoo/omxmotion/issues/comments/101061942","html_url":"https://github.com/dickontoo/omxmotion/issues/3#issuecomment-101061942","issue_url":"https://api.github.com/repos/dickontoo/omxmotion/issues/3","id":101061942,"user":{"login":"towolf","id":345210,"avatar_url":"https://avatars.githubusercontent.com/u/345210?v=3","gravatar_id":"","url":"https://api.github.com/users/towolf","html_url":"https://github.com/towolf","followers_url":"https://api.github.com/users/towolf/followers","following_url":"https://api.github.com/users/towolf/following{/other_user}","gists_url":"https://api.github.com/users/towolf/gists{/gist_id}","starred_url":"https://api.github.com/users/towolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towolf/subscriptions","organizations_url":"https://api.github.com/users/towolf/orgs","repos_url":"https://api.github.com/users/towolf/repos","events_url":"https://api.github.com/users/towolf/events{/privacy}","received_events_url":"https://api.github.com/users/towolf/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T22:05:27Z","updated_at":"2015-05-11T22:05:27Z","body":"> including libx264 support\r\n\r\nJust wondering, why is that needed? We have H264 already?\r\n\r\n> had issues with the MOOV atom nonsense\r\n\r\nMaybe you need this with MOOV muxed at the front? I think they call this variant \"faststart\". Normally MOOV is at the end, which is pretty silly.\r\n\r\nBut when ffmpeg is writing the files it should finalize them properly?\r\n\r\nGoing to try it now.\r\n"}}