Opened 15 years ago

Closed 15 years ago

#6489 closed patch (wontfix)

win32 directx audio sync fix

Reported by: Jeff Lu <jll544@…> Owned by: Nigel
Priority: minor Milestone: unknown
Component: Ports - Windows Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

directx AV sync problems due to calc bugs in audiooutput_dx

Attachments (4)

audio_dx.patch (591 bytes) - added by Jeff Lu <jll544@…> 15 years ago.
patch
log_before.txt (76.0 KB) - added by Jeff Lu <jll544@…> 15 years ago.
log before patch
log_after.txt (42.1 KB) - added by Jeff Lu <jll544@…> 15 years ago.
log after patch
523d_appcompat.txt (23.1 KB) - added by majost@… 15 years ago.
Windows Crash Manager Backtrace

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by Jeff Lu <jll544@…>

Attachment: audio_dx.patch added

patch

Changed 15 years ago by Jeff Lu <jll544@…>

Attachment: log_before.txt added

log before patch

Changed 15 years ago by Jeff Lu <jll544@…>

Attachment: log_after.txt added

log after patch

comment:1 Changed 15 years ago by majost@…

HD h264 content still appears to have audio sync issues. The issue may be with the version of ffmpeg in the fixes branch. However, previously I was able to play the content -- but the sound was severely out of sync, with the patch applied mythfrontend crashes when it attempts to resync the audio.

Despite compiling with --enable-symbol-visibility and --compile-type=debug, I was unable to run the frontend with debugging symbols in gdb. I have included a backtrack from windows crash manager and a (limited) gdb backtrace.


(gdb) bt full #0 0x683d024c in ff_imdct_calc_sse (s=0x1d27d6b0, output=0x7c96f0a0,

input=0xffffffff, tmp=0x7c96f07c) at i386/fft_sse.c:170

k = 0 n8 = 128 n4 = 489114528 n2 = 489151152 n = 32 revtab = (const uint16_t *) 0x1bd0ec88 tcos = (const FFTSample *) 0x40 tsin = (const FFTSample *) 0x80 in1 = (const FFTSample *) 0x100 in2 = (const FFTSample *) 0xf90f6a0 z = (FFTComplex *) 0x1d27d6b0

#1 0x1bd0ee78 in ?? () No symbol table info available.

Changed 15 years ago by majost@…

Attachment: 523d_appcompat.txt added

Windows Crash Manager Backtrace

comment:2 in reply to:  1 Changed 15 years ago by Jeff Lu <jll544@…>

Replying to majost@lagparty.org: Your gdb backtrace shows only fft_sse.c, which is quite low-level stuff in ffmpeg. With such limited info, I can't see a connection with AVsync. My own limited testing with 720p h264 files hasn't produced any crashes.

comment:3 Changed 15 years ago by markk

Resolution: wontfix
Status: newclosed

Changes will be applied to trunk in #6538.

Note: See TracTickets for help on using tickets.