{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/2069","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/2069/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/2069/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/2069/events","html_url":"https://github.com/google/ExoPlayer/issues/2069","id":189398256,"number":2069,"title":"MPEG-TS NO_SUPPORTED_TYPE","user":{"login":"dmfrey","id":946892,"avatar_url":"https://avatars.githubusercontent.com/u/946892?v=3","gravatar_id":"","url":"https://api.github.com/users/dmfrey","html_url":"https://github.com/dmfrey","followers_url":"https://api.github.com/users/dmfrey/followers","following_url":"https://api.github.com/users/dmfrey/following{/other_user}","gists_url":"https://api.github.com/users/dmfrey/gists{/gist_id}","starred_url":"https://api.github.com/users/dmfrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmfrey/subscriptions","organizations_url":"https://api.github.com/users/dmfrey/orgs","repos_url":"https://api.github.com/users/dmfrey/repos","events_url":"https://api.github.com/users/dmfrey/events{/privacy}","received_events_url":"https://api.github.com/users/dmfrey/received_events","type":"User","site_admin":false},"labels":[{"id":106814995,"url":"https://api.github.com/repos/google/ExoPlayer/labels/wontfix","name":"wontfix","color":"d4c5f9","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-15T13:56:42Z","updated_at":"2016-11-21T10:06:02Z","closed_at":"2016-11-16T09:00:46Z","body":"I am attempting to play MPEG-TS streams that are recorded on a MythTV Backend in the app MythTV Player.  However, every attempt to produce a MediaSource from the input url. The EventLogger output from the demo app produces this output:\r\n\r\n    11-14 23:34:48.413 16480-16480/org.mythtv.android D/EventLogger: sourceInfo [periodCount=1, windowCount=1\r\n    11-14 23:34:48.413 16480-16480/org.mythtv.android D/EventLogger:   period [?]\r\n    11-14 23:34:48.413 16480-16480/org.mythtv.android D/EventLogger:   window [?, false, false]\r\n    11-14 23:34:48.413 16480-16480/org.mythtv.android D/EventLogger: ]\r\n    11-14 23:34:48.441 16480-16680/org.mythtv.android W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc\r\n    11-14 23:34:48.476 16480-16680/org.mythtv.android I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es\r\n    11-14 23:34:48.481 16480-16480/org.mythtv.android D/EventLogger: Tracks [\r\n    11-14 23:34:48.481 16480-16480/org.mythtv.android D/EventLogger:   Renderer:0 [\r\n    11-14 23:34:48.481 16480-16480/org.mythtv.android D/EventLogger:     Group:0, adaptive_supported=N/A [\r\n    11-14 23:34:48.481 16480-16480/org.mythtv.android D/EventLogger:       [ ] Track:0, id=null, mimeType=video/mpeg2, res=1920x1080, supported=NO_UNSUPPORTED_TYPE\r\n    11-14 23:34:48.481 16480-16480/org.mythtv.android D/EventLogger:     ]\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger:   ]\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger:   Renderer:1 [\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger:     Group:0, adaptive_supported=N/A [\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger:       [ ] Track:0, id=null, mimeType=audio/ac3, channels=6, sample_rate=48000, language=eng, supported=NO_UNSUPPORTED_TYPE\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger:     ]\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger:     Group:1, adaptive_supported=N/A [\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger:       [ ] Track:0, id=null, mimeType=audio/ac3, channels=1, sample_rate=48000, language=eng, supported=NO_UNSUPPORTED_TYPE\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger:     ]\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger:   ]\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger: ]\r\n    11-14 23:34:48.482 16480-16480/org.mythtv.android D/EventLogger: positionDiscontinuity\r\n    11-14 23:34:48.483 16480-16480/org.mythtv.android D/EventLogger: loading [false]\r\n\r\nOf note here are the following lines:\r\n\r\n    11-14 23:34:48.441 16480-16680/org.mythtv.android W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc\r\n    11-14 23:34:48.476 16480-16680/org.mythtv.android I/VideoCapabilities: Unsupported profile 4 \r\n\r\nI have tried searching this issue and have not found a whole lot of details regarding these unsupported types.\r\n\r\nI, unfortunately, cannot provide a stream to test as their file sizes make these files not easy to share. The range in the 3-15 Gb. I could, however, work with someone directly with an URL to my own backend, but this will have to be taken off-list.\r\n\r\nI have setup the code to match the ExoPlayer demo app. I can point to a branch in my repo. It is using ExoPlayer version r2.0.4.\r\n\r\nThere is no bug report to produce as the output above is the only output. No exception has been thrown.\r\n\r\nTesting is being performed on a Nexus 6 running Android 7.0. I can also test on a Samsung Galaxy S7 running Android 6.0.\r\n"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/261895212","html_url":"https://github.com/google/ExoPlayer/issues/2069#issuecomment-261895212","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/2069","id":261895212,"user":{"login":"ojw28","id":7881572,"avatar_url":"https://avatars.githubusercontent.com/u/7881572?v=3","gravatar_id":"","url":"https://api.github.com/users/ojw28","html_url":"https://github.com/ojw28","followers_url":"https://api.github.com/users/ojw28/followers","following_url":"https://api.github.com/users/ojw28/following{/other_user}","gists_url":"https://api.github.com/users/ojw28/gists{/gist_id}","starred_url":"https://api.github.com/users/ojw28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojw28/subscriptions","organizations_url":"https://api.github.com/users/ojw28/orgs","repos_url":"https://api.github.com/users/ojw28/repos","events_url":"https://api.github.com/users/ojw28/events{/privacy}","received_events_url":"https://api.github.com/users/ojw28/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T10:06:02Z","updated_at":"2016-11-21T10:06:02Z","body":"Read the top of that page about the difference between container format and sample format. We support MPEG-TS as a container format, but the underlying platform still needs to provide a decoder for the sample format for playback to work. See the second column of the table [here](https://developer.android.com/guide/appendix/media-formats.html#core) for supported sample formats, which does not contains video/mpeg2 (aka H262, I think).\r\n\r\nNote that in addition, it's necessary for us to do some work to support each sample format at the container format level (e.g. parsing the correct decoder initialization data). It looks like we've already done that for H262 in MPEG-TS, [here](https://github.com/google/ExoPlayer/blob/r2.0.4/library/src/main/java/com/google/android/exoplayer2/extractor/ts/H262Reader.java).\r\n\r\nSo in summary, if the device doesn't have a video/mpeg2 decoder, you'll need to implement an extension that provides one, as per my previous response above."}}
{"actor":{"display_login":"ojw28"}}