{"action":"created","issue":{"url":"https://api.github.com/repos/popcornmix/omxplayer/issues/457","repository_url":"https://api.github.com/repos/popcornmix/omxplayer","labels_url":"https://api.github.com/repos/popcornmix/omxplayer/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/popcornmix/omxplayer/issues/457/comments","events_url":"https://api.github.com/repos/popcornmix/omxplayer/issues/457/events","html_url":"https://github.com/popcornmix/omxplayer/issues/457","id":154267949,"number":457,"title":"What limits --threshold value?","user":{"login":"its27","id":6617390,"avatar_url":"https://avatars.githubusercontent.com/u/6617390?v=3","gravatar_id":"","url":"https://api.github.com/users/its27","html_url":"https://github.com/its27","followers_url":"https://api.github.com/users/its27/followers","following_url":"https://api.github.com/users/its27/following{/other_user}","gists_url":"https://api.github.com/users/its27/gists{/gist_id}","starred_url":"https://api.github.com/users/its27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/its27/subscriptions","organizations_url":"https://api.github.com/users/its27/orgs","repos_url":"https://api.github.com/users/its27/repos","events_url":"https://api.github.com/users/its27/events{/privacy}","received_events_url":"https://api.github.com/users/its27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-11T15:09:46Z","updated_at":"2016-05-11T18:04:39Z","closed_at":null,"body":"Can you tell me what limits how high the --threshold value can be set? High values result in a black screen even with 128MB of RAM dedicated to the GPU.\r\n\r\nDo the values below need to ne increased as well?\r\n\r\n--audio_fifo  n         Size of audio output fifo in seconds\r\n--video_fifo  n         Size of video output fifo in MB\r\n--audio_queue n         Size of audio input queue in MB\r\n--video_queue n         Size of video input queue in MB"},"comment":{"url":"https://api.github.com/repos/popcornmix/omxplayer/issues/comments/218541026","html_url":"https://github.com/popcornmix/omxplayer/issues/457#issuecomment-218541026","issue_url":"https://api.github.com/repos/popcornmix/omxplayer/issues/457","id":218541026,"user":{"login":"popcornmix","id":1053730,"avatar_url":"https://avatars.githubusercontent.com/u/1053730?v=3","gravatar_id":"","url":"https://api.github.com/users/popcornmix","html_url":"https://github.com/popcornmix","followers_url":"https://api.github.com/users/popcornmix/followers","following_url":"https://api.github.com/users/popcornmix/following{/other_user}","gists_url":"https://api.github.com/users/popcornmix/gists{/gist_id}","starred_url":"https://api.github.com/users/popcornmix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popcornmix/subscriptions","organizations_url":"https://api.github.com/users/popcornmix/orgs","repos_url":"https://api.github.com/users/popcornmix/repos","events_url":"https://api.github.com/users/popcornmix/events{/privacy}","received_events_url":"https://api.github.com/users/popcornmix/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T18:04:39Z","updated_at":"2016-05-11T18:04:39Z","body":"threshold determines how much data should be buffered up before resuming playback.\r\nFor a fast stream (e.g. reading from local sdcard/usb storage) then you want a small value.\r\nFor a slow stream (low wuality wifi or internet) you may want a larger value.\r\n\r\nThe buffering measured is the gpu fifo.\r\nHowever if you ask for a higher threshold than the amount of gpu fifo then it will never resume.\r\n\r\nBy default threshold is 0.2s. The default audio fifo size is 2s, so you don't want to go above that without increasing it."}}