{"action":"closed","issue":{"url":"https://api.github.com/repos/janbar/demux-mpegts/issues/1","labels_url":"https://api.github.com/repos/janbar/demux-mpegts/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/janbar/demux-mpegts/issues/1/comments","events_url":"https://api.github.com/repos/janbar/demux-mpegts/issues/1/events","html_url":"https://github.com/janbar/demux-mpegts/issues/1","id":105520568,"number":1,"title":"`AVCONTEXT_IO_ERROR` is raised when demuxing a TS video.","user":{"login":"calvin","id":5280,"avatar_url":"https://avatars.githubusercontent.com/u/5280?v=3","gravatar_id":"","url":"https://api.github.com/users/calvin","html_url":"https://github.com/calvin","followers_url":"https://api.github.com/users/calvin/followers","following_url":"https://api.github.com/users/calvin/following{/other_user}","gists_url":"https://api.github.com/users/calvin/gists{/gist_id}","starred_url":"https://api.github.com/users/calvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvin/subscriptions","organizations_url":"https://api.github.com/users/calvin/orgs","repos_url":"https://api.github.com/users/calvin/repos","events_url":"https://api.github.com/users/calvin/events{/privacy}","received_events_url":"https://api.github.com/users/calvin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-09T05:13:15Z","updated_at":"2015-09-09T09:33:59Z","closed_at":"2015-09-09T09:33:59Z","body":"Platform: iOS 8.1\r\nVideo: H.264/MPEG-4 AVC, 1920 x 1080\r\nAudio: ACC, Mono\r\n\r\nThe audio is demuxed properly, however, not the video.\r\n\r\n```\r\n[DEMUX] dump stream infos for channel 1 PID 1011\r\n  Codec name     : h264\r\n  Language       : \r\n  Identifier     : 00000000\r\n  FPS scale      : 33367\r\n  FPS rate       : 1000000\r\n  Interlaced     : false\r\n  Height         : 1080\r\n  Width          : 1920\r\n  Aspect         : 1.778\r\n  Channels       : 0\r\n  Sample rate    : 0\r\n  Block align    : 0\r\n  Bit rate       : 0\r\n  Bit per sample : 0\r\n\r\n[DEMUX] time 00003.003 : PTS=32699667 Position=3386632\r\n[DEMUX] time 00006.006 : PTS=32969937 Position=6560072\r\n[DEMUX] time 00009.009 : PTS=33240207 Position=9745544\r\n[DEMUX] Do: stopped with status -2\r\n```\r\n\r\nThe error is raised at https://github.com/janbar/demux-mpegts/blob/61fa66dcb687cf48e3b82c0cfc46f913b2a42382/src/tsDemuxer.cpp#L332, when `av_pos =  10571052` and `av_pkt_size =  188`.\r\nThe video in question is supplied to the author's email, <j...68@gmail.com> on 2015-09-09."}}