{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/652","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/652/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/652/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/652/events","html_url":"https://github.com/google/ExoPlayer/issues/652","id":96887204,"number":652,"title":"Unhandled exception playing fmp4","user":{"login":"markniebur","id":11617349,"avatar_url":"https://avatars.githubusercontent.com/u/11617349?v=3","gravatar_id":"","url":"https://api.github.com/users/markniebur","html_url":"https://github.com/markniebur","followers_url":"https://api.github.com/users/markniebur/followers","following_url":"https://api.github.com/users/markniebur/following{/other_user}","gists_url":"https://api.github.com/users/markniebur/gists{/gist_id}","starred_url":"https://api.github.com/users/markniebur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markniebur/subscriptions","organizations_url":"https://api.github.com/users/markniebur/orgs","repos_url":"https://api.github.com/users/markniebur/repos","events_url":"https://api.github.com/users/markniebur/events{/privacy}","received_events_url":"https://api.github.com/users/markniebur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-23T19:21:10Z","updated_at":"2015-07-23T19:31:38Z","closed_at":null,"body":"I'm trying to play some fmp4 video and am getting the following stack track:\r\n```\r\n07-20 18:05:57.021  31070-32725/? E/LoadTask﹕ Unexpected exception loading stream\r\njava.lang.IllegalStateException: Top bit not zero: -268435456\r\nat com.google.android.exoplayer.util.ParsableByteArray.readUnsignedIntToInt(ParsableByteArray.java:240)\r\nat com.google.android.exoplayer.extractor.mp4.FragmentedMp4Extractor.readSample(FragmentedMp4Extractor.java:628)\r\nat com.google.android.exoplayer.extractor.mp4.FragmentedMp4Extractor.read(FragmentedMp4Extractor.java:162)\r\nat com.google.android.exoplayer.chunk.ChunkExtractorWrapper.read(ChunkExtractorWrapper.java:93)\r\nat com.google.android.exoplayer.chunk.ContainerMediaChunk.load(ContainerMediaChunk.java:155)\r\nat com.google.android.exoplayer.upstream.Loader$LoadTask.run(Loader.java:209)\r\nat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)\r\nat java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n\r\nat java.lang.Thread.run(Thread.java:818)\r\n```\r\n\r\nThis video plays fine in the dash-if player and in QT/vlc.  Any idea what could be causing this exception?\r\nVideo is at: https://drive.google.com/file/d/0B7NmnUABUz_FS3VxRGFVRU1UVzg/view?usp=sharing"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/124218810","html_url":"https://github.com/google/ExoPlayer/issues/652#issuecomment-124218810","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/652","id":124218810,"user":{"login":"VishwanathPatil","id":10511913,"avatar_url":"https://avatars.githubusercontent.com/u/10511913?v=3","gravatar_id":"","url":"https://api.github.com/users/VishwanathPatil","html_url":"https://github.com/VishwanathPatil","followers_url":"https://api.github.com/users/VishwanathPatil/followers","following_url":"https://api.github.com/users/VishwanathPatil/following{/other_user}","gists_url":"https://api.github.com/users/VishwanathPatil/gists{/gist_id}","starred_url":"https://api.github.com/users/VishwanathPatil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VishwanathPatil/subscriptions","organizations_url":"https://api.github.com/users/VishwanathPatil/orgs","repos_url":"https://api.github.com/users/VishwanathPatil/repos","events_url":"https://api.github.com/users/VishwanathPatil/events{/privacy}","received_events_url":"https://api.github.com/users/VishwanathPatil/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T19:31:38Z","updated_at":"2015-07-23T19:31:38Z","body":"You have moov fragment in that file ?\nOn Jul 24, 2015 12:51 AM, \"markniebur\" <notifications@github.com> wrote:\n>\n> I'm trying to play some fmp4 video and am getting the following stack\ntrack:\n> ```07-20 18:05:57.021 31070-32725/? E/LoadTask﹕ Unexpected exception\nloading stream\n> java.lang.IllegalStateException: Top bit not zero: -268435456\n> at\ncom.google.android.exoplayer.util.ParsableByteArray.readUnsignedIntToInt(ParsableByteArray.java:240)\n> at\ncom.google.android.exoplayer.extractor.mp4.FragmentedMp4Extractor.readSample(FragmentedMp4Extractor.java:628)\n> at\ncom.google.android.exoplayer.extractor.mp4.FragmentedMp4Extractor.read(FragmentedMp4Extractor.java:162)\n> at\ncom.google.android.exoplayer.chunk.ChunkExtractorWrapper.read(ChunkExtractorWrapper.java:93)\n> at\ncom.google.android.exoplayer.chunk.ContainerMediaChunk.load(ContainerMediaChunk.java:155)\n> at\ncom.google.android.exoplayer.upstream.Loader$LoadTask.run(Loader.java:209)\n> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)\n> at java.util.concurrent.FutureTask.run(FutureTask.java:237)\n> at\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\n> at\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\n>\n> at java.lang.Thread.run(Thread.java:818)```\n>\n> This video plays fine in the dash-if player and in QT/vlc. Any idea what\ncould be causing this exception?\n>\n> —\n> Reply to this email directly or view it on GitHub.\n"}}