{"action":"created","issue":{"url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/588","repository_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer","labels_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/588/comments","events_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/588/events","html_url":"https://github.com/UniversalMediaServer/UniversalMediaServer/issues/588","id":92701169,"number":588,"title":"Transkoding audio files to PCM gives wrong pitch (FFmpeg Audio) for some files","user":{"login":"Nadahar","id":12900583,"avatar_url":"https://avatars.githubusercontent.com/u/12900583?v=3","gravatar_id":"","url":"https://api.github.com/users/Nadahar","html_url":"https://github.com/Nadahar","followers_url":"https://api.github.com/users/Nadahar/followers","following_url":"https://api.github.com/users/Nadahar/following{/other_user}","gists_url":"https://api.github.com/users/Nadahar/gists{/gist_id}","starred_url":"https://api.github.com/users/Nadahar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nadahar/subscriptions","organizations_url":"https://api.github.com/users/Nadahar/orgs","repos_url":"https://api.github.com/users/Nadahar/repos","events_url":"https://api.github.com/users/Nadahar/events{/privacy}","received_events_url":"https://api.github.com/users/Nadahar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2015-07-02T18:24:49Z","updated_at":"2016-09-03T17:48:21Z","closed_at":null,"body":"Some audio files, when transcoded with FFmpeg Audio, plays with wrong pitch when I play them om both my available renderers (Onkyo TX-NR807 and foobar2000). There aren't many options for audio transcoding, toggeling resampling to 44,1/48 doesn't fix it. It's certain files, and they are always transcoded with wrong pitch (some to low, some to high). When I try to transcode the same file with the same options (only -f wav instead of -f sb16be and a filename instead of pipe), the files play normally in all the media players I've tested.\r\n\r\nI've looked at bitrate, sampling rate, bit depth on the source files without being any smarter (it probably takes more). Do anyone have any knowledge of this, is it some kind of a bug, a DNLA/uPnP limitation or some configuring options I haven't found?\r\n\r\nExamples:\r\n* Format: OGG, Codec: Vorbis, VBR, 44.1 KHz (pitch too high)\r\n* Format: M4A, Codec: AAC LC, VBR, 44.1 KHz (pitch too high)\r\n* Format: M4A, Codec: AAC LC, VBR, 8 KHz, Mono (pitch smurf high)\r\n* Format: 3GP, Codec: HE-AACv2, VBR, 32 KHz (pitch too high)\r\n* Format: M4A, Codec: AAC LC, VBR, 22.05 KHz (pitch too high)\r\n* Format: M4A, Codec: AAC LC, VBR, 44.1 KHz (pitch too high)\r\n* Format: M4A, Codec: ALAC, VBR, 44.1 KHz, 16 bits (pitch too high)\r\n* Format: AC3, Codec: AC3, CBR: 448 Kbps, 48 KHz, 16 bits, 5 channels (pitch too low)\r\n* Format: WAV, Codec: DTS, CBR: 1411.2 Kbps, 44.1 KHz, 24 bits, 5 channels (pitch too low)\r\n* Format: FLAC, Codec: FLAC, VBR, 44.1 KHz, 16 bits (pitch too high)"},"comment":{"url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/comments/244560247","html_url":"https://github.com/UniversalMediaServer/UniversalMediaServer/issues/588#issuecomment-244560247","issue_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/588","id":244560247,"user":{"login":"Sami32","id":18471069,"avatar_url":"https://avatars.githubusercontent.com/u/18471069?v=3","gravatar_id":"","url":"https://api.github.com/users/Sami32","html_url":"https://github.com/Sami32","followers_url":"https://api.github.com/users/Sami32/followers","following_url":"https://api.github.com/users/Sami32/following{/other_user}","gists_url":"https://api.github.com/users/Sami32/gists{/gist_id}","starred_url":"https://api.github.com/users/Sami32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sami32/subscriptions","organizations_url":"https://api.github.com/users/Sami32/orgs","repos_url":"https://api.github.com/users/Sami32/repos","events_url":"https://api.github.com/users/Sami32/events{/privacy}","received_events_url":"https://api.github.com/users/Sami32/received_events","type":"User","site_admin":false},"created_at":"2016-09-03T17:48:21Z","updated_at":"2016-09-03T17:48:21Z","body":"@Nadahar So, i tried again with your files, and it's worked for me.\r\n\r\n**BUT**, since my TV support WAV up to 48 kHz, your files files needed to become resampled, normal you could say, but not really...because they use my render configuration `s:48000`, and since i never tried without before, i never knew that resampling was problematic.\r\nSo when i decided to delete it, i discover that \"Automatic audio resampling\" was not working for me, so i'm surprise that it have any effect on your files.\r\n\r\nIt could explain why it's working for me if it doesn't work."}}
{"actor":{"display_login":"Sami32"}}