{"action":"opened","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/1901","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/1901/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/1901/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/1901/events","html_url":"https://github.com/google/ExoPlayer/issues/1901","id":181324710,"number":1901,"title":"Custom MediaExtractor based on ExoPlayer's Extractor","user":{"login":"vxhviet","id":17634476,"avatar_url":"https://avatars.githubusercontent.com/u/17634476?v=3","gravatar_id":"","url":"https://api.github.com/users/vxhviet","html_url":"https://github.com/vxhviet","followers_url":"https://api.github.com/users/vxhviet/followers","following_url":"https://api.github.com/users/vxhviet/following{/other_user}","gists_url":"https://api.github.com/users/vxhviet/gists{/gist_id}","starred_url":"https://api.github.com/users/vxhviet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vxhviet/subscriptions","organizations_url":"https://api.github.com/users/vxhviet/orgs","repos_url":"https://api.github.com/users/vxhviet/repos","events_url":"https://api.github.com/users/vxhviet/events{/privacy}","received_events_url":"https://api.github.com/users/vxhviet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-06T04:58:04Z","updated_at":"2016-10-06T04:58:04Z","closed_at":null,"body":"[Question]\r\nDear ExoPlayer developers,\r\n\r\nI'm not sure if this is the appropriate place to ask this question but I would love to receive some input from you guys. In our app, the seeking is the most crucial feature so I've been working directly with `MediaCodec` based on example from [grafika's MoviePlayer](https://github.com/google/grafika/blob/master/src/com/android/grafika/MoviePlayer.java). This works fine with normal Android video but it has trouble reading iOS's `mov` or even `mp4` video. Correct me if I'm wrong but I think the key problem here is the default `MediaExtractor` cannot read iOS's files. If I can somehow make the extractor work, then I can just pass the raw data into `MediaCodec` for decoding as usual.  \r\n\r\nThis [blog post](http://morphinity.github.io/blog/2015/12/03/decoding-frame-bitmap.html) is like the only material regarding this matter that I can find, but unfortunately the section about customized `MediaExtractor` is very brief. I would be very appreciated if you guys can provide some general guidance as I can see `ExoPlayer` has no problem reading iOS's files at all.\r\n\r\nThank you so much for your time. \r\n"}}
{"actor":{"display_login":"vxhviet"}}