Some movies freezing are because of Win32DirectSound - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: Some movies freezing are because of Win32DirectSound (/showthread.php?tid=36771) |
Some movies freezing are because of Win32DirectSound - motty666 - 2008-09-05 Hi guys, I'm using Atlantis 4 and it works great with 99% of my movies. It is really impressive how it plays perfectly almost everything you throw at it. However I have a couple of xvid and divx that are consistently freezing after 2-3 seconds. For those movies the debug log shows a problem with win32directsound : 23:16:17 T:880 M:643833856 DEBUG: Load DialogProgress.xml: 22.93ms 23:16:17 T:3556 M:644579328 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(16000.000000, 1) 23:16:17 T:3556 M:644694016 DEBUG: CDVDAudioCodecPassthrough:arseFrame - source flags changed flags:17 sr:48000 br:448000 23:16:17 T:3556 M:644694016 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through 23:16:17 T:796 M:644780032 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE 23:16:17 T:796 M:644190208 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(40000.000000, 1) 23:16:17 T:796 M:643874816 NOTICE: fps: 25.000000, pwidth: 592, pheight: 320, dwidth: 592, dheight: 320 23:16:17 T:796 M:643862528 DEBUG: CDVDPlayerVideo::OutputPicture - change configuration. 592x320. framerate: 25.00 23:16:17 T:796 M:643854336 NOTICE: Display resolution AUTO : 1920x1080 (Full Screen) (12) 23:16:17 T:796 M:643850240 WARNING: Upscale: selected algorithm 1 23:16:17 T:156 M:643850240 DEBUG: Activating window ID: 12005 23:16:17 T:156 M:643850240 DEBUG: Checking if window ID 12005 is locked. 23:16:17 T:2452 M:643850240 DEBUG: CThread:taticThread, deleting thread object 23:16:17 T:2452 M:643850240 DEBUG: CThread:taticThread, deleting thread graphic context 23:16:17 T:2452 M:643850240 DEBUG: Thread 2452 terminating 23:16:17 T:3556 M:643817472 DEBUG: CWin32DirectSound::CWin32DirectSound - primary sound buffer created 23:16:17 T:3556 M:643817472 ERROR: CWin32DirectSound::CWin32DirectSound - cannot create secondary (stream)buffer (DSERR_UNSUPPORTED) 23:16:17 T:3556 M:643809280 ERROR: CThread:taticThread : Access violation at 0x0041596e: Reading location 0x00000000 23:16:17 T:3556 M:643805184 NOTICE: Closing audio device 23:16:17 T:3556 M:643805184 ERROR: CThread:taticThread : Access violation at 0x0041575c: Reading location 0x00000000 23:16:17 T:3556 M:643805184 DEBUG: CThread:taticThread, deleting thread graphic context 23:16:17 T:3556 M:643805184 DEBUG: Thread 3556 terminating I first thought of a driver problem but I compared the log with a "working" movie and the secondary stream buffer is created correctly: 23:28:25 T:4064 M:664887296 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(26122.909228, 1) 23:28:25 T:4064 M:664551424 NOTICE: Creating audio device with codec id: 86017, channels: 2, sample rate: 44100, no pass-through 23:28:25 T:4064 M:664535040 DEBUG: CWin32DirectSound::CWin32DirectSound - primary sound buffer created 23:28:25 T:4064 M:664338432 DEBUG: CWin32DirectSound::CWin32DirectSound - secondary sound (stream)buffer created 23:28:25 T:4064 M:664334336 WARNING: CWin32DirectSound::AddPackets - buffer underrun 23:28:25 T:2716 M:664326144 NOTICE: fps: 23.976215, pwidth: 640, pheight: 304, dwidth: 640, dheight: 304 23:28:25 T:2716 M:664322048 DEBUG: CDVDPlayerVideo::OutputPicture - change configuration. 640x304. framerate: 23.98 23:28:25 T:2716 M:664313856 NOTICE: Display resolution AUTO : 1920x1080 (Full Screen) (12) The audio codec and other sound device parameters are different... I'm going to check whether all the movies that are freezing use codec id 86020. Also, the freezing movies are playing fine in media player classic so I don't think it's a problem with the movies... I'm using a SoundMAX integrated sound card. Anyone else has seen this problem? Should I open a bug for this issue? Otherwise, XBMC for windows rocks!! Thanks! - WiSo - 2008-09-05 the codec id isn't used to create the sound buffer but could be an indication. The only difference is then the pass-through mode which is used for creating the primary buffer (which works). The error message indicates that a feature is requested what your sound card doesn't support. Honestly I can't see what it should be since both sound formats look valid for me. - motty666 - 2008-09-08 Setting back the audio output to analog seems to have solved my problem. Thanks |