{"action":"created","issue":{"url":"https://api.github.com/repos/RSATom/WebChimera.js/issues/75","repository_url":"https://api.github.com/repos/RSATom/WebChimera.js","labels_url":"https://api.github.com/repos/RSATom/WebChimera.js/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/RSATom/WebChimera.js/issues/75/comments","events_url":"https://api.github.com/repos/RSATom/WebChimera.js/issues/75/events","html_url":"https://github.com/RSATom/WebChimera.js/issues/75","id":153740149,"number":75,"title":"vlcMedia.duration returns 0 after vlcMedia.parse() but still plays it","user":{"login":"Chayemor","id":3482816,"avatar_url":"https://avatars.githubusercontent.com/u/3482816?v=3","gravatar_id":"","url":"https://api.github.com/users/Chayemor","html_url":"https://github.com/Chayemor","followers_url":"https://api.github.com/users/Chayemor/followers","following_url":"https://api.github.com/users/Chayemor/following{/other_user}","gists_url":"https://api.github.com/users/Chayemor/gists{/gist_id}","starred_url":"https://api.github.com/users/Chayemor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chayemor/subscriptions","organizations_url":"https://api.github.com/users/Chayemor/orgs","repos_url":"https://api.github.com/users/Chayemor/repos","events_url":"https://api.github.com/users/Chayemor/events{/privacy}","received_events_url":"https://api.github.com/users/Chayemor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-09T09:49:25Z","updated_at":"2016-05-09T15:06:01Z","closed_at":null,"body":"I have encountered a problem with \".mpg\" videos. Files are parsed and only after `vlcMedia.parsed` is true do I try to access `vlcMedia.duration` It works great with all file formats except \".mpg\" (MPEG codec). If I open the video with VLC Player, the duration shows fine, it's when I try to get it through code that it doesn't work. The duration always returns 0 even if I do *setTimeOuts * after parsing. Here is the thing, when played, the duration shows up on the WCJS-PLAYER just fine.\r\n\r\nOriginally I created this issue in the **wcjs-player** project but redirected it here.\r\n\r\n![fbba7a66-15d9-11e6-8d6a-2b198d39c965](https://cloud.githubusercontent.com/assets/3482816/15109487/e6d0a470-15db-11e6-86ac-3066607139eb.png)\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34044280-vlcmedia-duration-returns-0-after-vlcmedia-parse-but-still-plays-it?utm_campaign=plugin&utm_content=tracker%2F16674663&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F16674663&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/RSATom/WebChimera.js/issues/comments/217891463","html_url":"https://github.com/RSATom/WebChimera.js/issues/75#issuecomment-217891463","issue_url":"https://api.github.com/repos/RSATom/WebChimera.js/issues/75","id":217891463,"user":{"login":"RSATom","id":1049634,"avatar_url":"https://avatars.githubusercontent.com/u/1049634?v=3","gravatar_id":"","url":"https://api.github.com/users/RSATom","html_url":"https://github.com/RSATom","followers_url":"https://api.github.com/users/RSATom/followers","following_url":"https://api.github.com/users/RSATom/following{/other_user}","gists_url":"https://api.github.com/users/RSATom/gists{/gist_id}","starred_url":"https://api.github.com/users/RSATom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RSATom/subscriptions","organizations_url":"https://api.github.com/users/RSATom/orgs","repos_url":"https://api.github.com/users/RSATom/repos","events_url":"https://api.github.com/users/RSATom/events{/privacy}","received_events_url":"https://api.github.com/users/RSATom/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T15:06:01Z","updated_at":"2016-05-09T15:06:01Z","body":"What does `.input.length` return while this .mpg is playing?"}}