{"action":"created","issue":{"url":"https://api.github.com/repos/ampache/ampache/issues/811","labels_url":"https://api.github.com/repos/ampache/ampache/issues/811/labels{/name}","comments_url":"https://api.github.com/repos/ampache/ampache/issues/811/comments","events_url":"https://api.github.com/repos/ampache/ampache/issues/811/events","html_url":"https://github.com/ampache/ampache/issues/811","id":69738332,"number":811,"title":"Default install from source in ubuntu cant transcode to ogg untill i force sample rate >44K","user":{"login":"mrpurplenz","id":2926203,"avatar_url":"https://avatars.githubusercontent.com/u/2926203?v=3","gravatar_id":"","url":"https://api.github.com/users/mrpurplenz","html_url":"https://github.com/mrpurplenz","followers_url":"https://api.github.com/users/mrpurplenz/followers","following_url":"https://api.github.com/users/mrpurplenz/following{/other_user}","gists_url":"https://api.github.com/users/mrpurplenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mrpurplenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrpurplenz/subscriptions","organizations_url":"https://api.github.com/users/mrpurplenz/orgs","repos_url":"https://api.github.com/users/mrpurplenz/repos","events_url":"https://api.github.com/users/mrpurplenz/events{/privacy}","received_events_url":"https://api.github.com/users/mrpurplenz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-21T04:11:24Z","updated_at":"2015-04-21T18:21:24Z","closed_at":null,"body":"Hi, I just downloaded and install 3.7.0 in ubuntu. I'm still loving it - and I cant believe the improvements since I was here last - supa! Just wow.\r\nUnfortunately:\r\nIn my freshly installed system (ampache 3.7.0/ubuntu server 14.04 LTS) libvorbis tries (and fails) to transcode to ogg. For me the solution was to go to the config file and edit the encode_args_ogg line.\r\nI replaced \"%SAMPLE%K\" with \"max(%SAMPLE%K\\,45K)\"\r\nFor some reason sample rates less than 45K (such as the default 32K) crash libvorbis. This hack limits the low end to 45K which doesnt crash libvorbis. I'm not sure  where the fix should go or whether \"ubuntu/libvorbis\" is considered too unique to solve the problem in a general way. I dont think the best solution is for ubuntu users to have a broken ogg transcode and have to hack the solution into the ogg encode args though. Perhaps upping the default 32K to 45K %SAMPLE% value? with a note about oggs not working below 45?"},"comment":{"url":"https://api.github.com/repos/ampache/ampache/issues/comments/94895039","html_url":"https://github.com/ampache/ampache/issues/811#issuecomment-94895039","issue_url":"https://api.github.com/repos/ampache/ampache/issues/811","id":94895039,"user":{"login":"dhsc19","id":10291198,"avatar_url":"https://avatars.githubusercontent.com/u/10291198?v=3","gravatar_id":"","url":"https://api.github.com/users/dhsc19","html_url":"https://github.com/dhsc19","followers_url":"https://api.github.com/users/dhsc19/followers","following_url":"https://api.github.com/users/dhsc19/following{/other_user}","gists_url":"https://api.github.com/users/dhsc19/gists{/gist_id}","starred_url":"https://api.github.com/users/dhsc19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhsc19/subscriptions","organizations_url":"https://api.github.com/users/dhsc19/orgs","repos_url":"https://api.github.com/users/dhsc19/repos","events_url":"https://api.github.com/users/dhsc19/events{/privacy}","received_events_url":"https://api.github.com/users/dhsc19/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T18:21:24Z","updated_at":"2015-04-21T18:21:24Z","body":"I think official Xiph.org Foundation vorbis can only go as low as 45k anyway."}}