http://bugs.winehq.org/show_bug.cgi?id=60481 Bug ID: 60481 Summary: Observer: System Redux: severely distorted, slow-sounding audio during MP4 playback following the Wine 11.12 resampler changes Product: Wine Version: 11.12 Hardware: x86-64 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: winegstreamer Assignee: wine-bugs@list.winehq.org Reporter: gyebro69@gmail.com CC: rbernon@codeweavers.com Target Milestone: --- Regression SHA1: 3c4a1ec11487d5879d5f973eb198b3895cc11f70 Distribution: ArchLinux Created attachment 82322 --> http://bugs.winehq.org/attachment.cgi?id=82322 plain terminal output (wine-11.19-170-ga15ee2ccf20) Observer: System Redux (GOG version, 64-bit executable) has an audio regression affecting its MP4 videos. Audio is severely distorted and sounds as though it is playing at a reduced speed. I don't have the game on Steam to compare it to the GOG version. The issue occurs with both the game's DirectX 11 and DirectX 12 renderers, and with both legacy shared WoW64 and new WoW64 builds. It is still present in wine-11.19-170-ga15ee2ccf20. Steps to reproduce: 1. Launch the game. 2. After the silent splash screens, let Introduction_Redux.mp4 play. 3. Listen to the severely distorted, slow-sounding audio. Other affected in-game videos include: - NewGameIntroduction.mp4, played when starting a new game. - IntroObserver.mp4. - o_video_screen_01_a.mp4, displayed on the character's laptop while sitting in the car. These other videos display an image, but their audio is similarly distorted. The same source MP4 files play correctly with both gst-play-1.0 and ffplay on the same system. Introduction_Redux.mp4 has a separate, longstanding black-image issue. That issue predates this regression and is not the subject of this report. Playback initially broke completely between Wine 11.11 and 11.12: the affected videos produced neither an image nor audio, and could be skipped by pressing a key. I bisected that complete playback failure to: 3c4a1ec11487d5879d5f973eb198b3895cc11f70 winegstreamer/resampler: Translate IMFTransform calls to IMediaObject. I verified the bisect result. This is also the regression commit reported in bug #60307 for The Bard's Tale IV Director's Cut. Commit 91fabe0d1dc0f766df0c54809b0b2811f28bcf1d: resampledmo: Don't use AVRational as time base. restored playback in Observer: System Redux as well, but the audio remained severely distorted. To narrow this down, I tested: - e3ef49921efb44cb416baba6e189fb93dd600bfb, the commit immediately following 3c4a1ec1, with 91fabe0d applied: playback resumes, but audio is distorted. - 3c4a1ec11487d5879d5f973eb198b3895cc11f70 itself, with the same time-base fix adapted to dlls/winegstreamer/resampler.c: playback also resumes, but audio is distorted. Thus, the distorted audio is already reproducible with 3c4a1ec1 plus the time-base fix; the subsequent move of the resampler implementation into resampledmo (e3ef4992) and later Wine changes are not required. Media details: Introduction_Redux.mp4 contains H.264 High-profile video and two AAC LC audio tracks. Both audio tracks are stereo, 48,000 Hz, approximately 160 kb/s. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.