{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/1518","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/1518/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/1518/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/1518/events","html_url":"https://github.com/mpv-player/mpv/issues/1518","id":55419578,"number":1518,"title":"Cannot seek within cached data?","user":{"login":"kokoko3k","id":1230726,"avatar_url":"https://avatars.githubusercontent.com/u/1230726?v=3","gravatar_id":"","url":"https://api.github.com/users/kokoko3k","html_url":"https://github.com/kokoko3k","followers_url":"https://api.github.com/users/kokoko3k/followers","following_url":"https://api.github.com/users/kokoko3k/following{/other_user}","gists_url":"https://api.github.com/users/kokoko3k/gists{/gist_id}","starred_url":"https://api.github.com/users/kokoko3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokoko3k/subscriptions","organizations_url":"https://api.github.com/users/kokoko3k/orgs","repos_url":"https://api.github.com/users/kokoko3k/repos","events_url":"https://api.github.com/users/kokoko3k/events{/privacy}","received_events_url":"https://api.github.com/users/kokoko3k/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-25T15:47:57Z","updated_at":"2015-03-03T14:29:00Z","closed_at":"2015-03-03T14:07:53Z","body":"I was trying to do some sort of timeshifting with a dvb card, but i noticed that even if i set a very big cache (100MB), mpv is unable to seek.\r\nI know the devs have not dvb card, so i reproduced the issue by dumping the stream and \"catting\" it to mpv.\r\n\r\nso, the followings are equivalent:\r\n```\r\n#mpv dvb://cielo --demuxer-lavf-analyzeduration=1 --demuxer-lavf-probesize=512000 --cache-secs=10 --cache=100000\r\n#cat /tmp/stream.ts |mpv - --cache-secs=10 --cache=100000\r\n```\r\nThe dumped stream is here (35MB):\r\nhttp://wpage.unina.it/aorefice/sharevari/stream.ts\r\nOf course, before i seek, i let the cache to fill, but as soon as i hit the arrow key, the stream simply restarts from the beginning.\r\n\r\n\r\nNote that for some reason, mplayer is able to seek within the cached data in this particular case."},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/76954844","html_url":"https://github.com/mpv-player/mpv/issues/1518#issuecomment-76954844","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/1518","id":76954844,"user":{"login":"kokoko3k","id":1230726,"avatar_url":"https://avatars.githubusercontent.com/u/1230726?v=3","gravatar_id":"","url":"https://api.github.com/users/kokoko3k","html_url":"https://github.com/kokoko3k","followers_url":"https://api.github.com/users/kokoko3k/followers","following_url":"https://api.github.com/users/kokoko3k/following{/other_user}","gists_url":"https://api.github.com/users/kokoko3k/gists{/gist_id}","starred_url":"https://api.github.com/users/kokoko3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokoko3k/subscriptions","organizations_url":"https://api.github.com/users/kokoko3k/orgs","repos_url":"https://api.github.com/users/kokoko3k/repos","events_url":"https://api.github.com/users/kokoko3k/events{/privacy}","received_events_url":"https://api.github.com/users/kokoko3k/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T14:29:00Z","updated_at":"2015-03-03T14:29:00Z","body":"Is ok to me."}}