INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: Multichannel wav crashes MC + 5.1. DirectShow audio problems [5.1 solved]  (Read 14764 times)

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird

EDIT (January 15, 2007)

Jim merged my thread from the beta beta board with a thread from this board as I requested.



I may have encountered a bug.

I have tried to play some 5.1 and 4.0 wave files. The files play normally, but immediately after the playback has stopped MC always displays a runtime error warning and crashes (see the attachment). I tested this with only one file in playing now so there is no next file to play.

A test file that crashes MC is available here:
http://www.microsoft.com/windows/windowsmedia/howto/articles/Multichannel.aspx
(I tried the 6 channel version)

MC 12.0.303

Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #1 on: August 10, 2007, 06:12:36 pm »

i just tried the 6 channel version several times, and mc did not crash. could it have something to do with dsp effects. like upgrading the sound to 48Hz? if you those things?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #2 on: August 11, 2007, 06:00:35 am »

I disabled all DSP and also third party plugins before testing.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #3 on: August 11, 2007, 06:27:37 am »

I tested the 6 channel wave sample with MC11.1. It produces a similar crash.

Foobar2000 and WMP11 can play the file without problems.

Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #4 on: August 12, 2007, 04:40:33 am »

I think I found a setting that causes the crash.

I had in:
Windows Control Panel > Sounds and Audio Devices > Speaker Settings > Advanced > Speakers > Desktop Stereo Speakers

I changed it to: 5.1 Surround Speakers and the files started to work fine.

WMP11 and Foobar2000 seem to not care about the "speakers" setting. They play multichannel wave files correctly through all 6 speakers without crashing.

I used the standard Direct Sound output mode with all three programs (it's the only available mode in WMP). However, MC crashes also when Wave Out or ASIO is used. The crash seem to be related to the "Stop" event. The files play normally but when the file ends or if the Stop button is pressed in the middle of the file MC crashes.

Should MC be able to handle this like the other programs can or at least be able to handle the situation gracefully?

My Terratec DMX 6 Fire 24/96 sound card has several analog and digital outputs that can be used simultaneously. In the front module it has a standard headphone socket and two RCA connectors for analog stereo output. It has the analog 5.1 connectors on the back panel of the actual PCI card.

I have noticed that some programs don't work correctly if I don't have the Control Panel > Speaker setting set to stereo. For example, they can try to output mono signal only to the center channel which may not be connected if I happen to use the headphones or desktop speakers instead of the 5.1 HT system.


Media Center Registered 12.0.304 -- C:\Soft\MC12\

Microsoft Windows XP  Workstation 5.1 Service Pack 2 (Build 2600)
Intel Pentium 4 2780 MHz MMX / Memory: Total - 1048 MB, Free - 356 MB
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42378
  • Shoes gone again!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #5 on: August 12, 2007, 01:17:24 pm »

Thanks for all the details.  Hopefully it'll be an easy fix.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42378
  • Shoes gone again!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #6 on: August 15, 2007, 11:51:05 am »

We've had troubles reproducing this.  Could someone else try as well?

Thanks.
Logged
Matt Ashland, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #7 on: August 15, 2007, 01:41:05 pm »

I can reproduce the crash using two different 6 channel sound devices (The mentioned Terratec and an integrated C-Media CMI9739A). Unfortunately these are both on the same PC. Our other PCs don't have a sound card with multichannel analog outputs.

Did you try a 5.1 or 7.1 sound card with the control panel setting "Desktop Stereo Speakers" ?

Here are the last lines of a log, but I don't think MC could include anything that is related to the crash:
Code: [Select]
Name="Filename">D:\6 Channel\6_Channel_ID.wav</Item><Item Name="ReplayGainTrackAutoPreamp">0</Item><Item Name="FileType">wav</Item><Item Name="ReplayGainTrack">0</Item><Item Name="ReplayGainAlbumAutoPreamp">0</Item><Item Name="ReplayGainAlbum">0</Item><Item Name="MediaType">Audio</Item><Item Name="DatabaseKey">17259021</Item><Item Name="PlaylistIndex">0</Item></XMLFN> / wav
0003609: 492: Playback: CPlaybackEngImpl::Play: Start
0003625: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Soft\MC12\Data\Default Resources\FileAssociations.xml
0003625: 492: Reader: CLocalReader::Close: Closing: C:\Soft\MC12\Data\Default Resources\FileAssociations.xml
0003625: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Soft\MC12\Data\Default Resources\FileAssociations.xml
0003625: 492: Reader: CLocalReader::Close: Closing: C:\Soft\MC12\Data\Default Resources\FileAssociations.xml
0003625: 492: Playback: CPlaybackEngImpl::Play: Playing D:\6 Channel\6_Channel_ID.wav with type wav
0003625: 492: Playback: CPlaybackEngImpl::StartPlayFile: Start
0003640: 492: Reader: CLocalReader::OpenInternal: Opening: D:\6 Channel\6_Channel_ID.wav
0003640: 492: Reader: CLocalReader::Close: Closing: D:\6 Channel\6_Channel_ID.wav
0003640: 492: Playback: CWaveFeederHelper::GetForceDirectShow: Returning FALSE for file D:\6 Channel\6_Channel_ID.wav
0003656: 492: Playback: CMJWaveFeeder::Play: Start
0003656: 492: Playback: CMJWaveFeeder::Play: bRadio = 0, m_strFilename = D:\6 Channel\6_Channel_ID.wav, setting MJ_INPUT_SOURCE_INFO_CACHE_ALL_METADATA
0003656: 492: Playback: CMJWaveFeeder::Play: Finish (0 ms)
0003656: 492: Playback: CPlaybackEngImpl::StartPlayFile: Play returned: 1
0003656: 4088: Reader: CLocalReader::OpenInternal: Opening: D:\6 Channel\6_Channel_ID.wav
0003656: 492: Playback: CPlaybackEngImpl::Play: StartPlayFile returned 1
0003656: 4088: Playback: CPlayerZone::OnNewStream: Start
0003656: 492: Playback: CPlaybackEngImpl::Play: Finish (47 ms)
0003656: 4088: Playback: CPlayerZone::OnNewStream: Finish (0 ms)
0003656: 492: Playback: CPlayerZone::Play: Play succeeded
0003656: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Z\_MC12lib\field (service_ stream metadata).jmd
0003656: 492: Playback: CPlayerZone::Play: Finish (94 ms)
0003656: 492: General: CMJFileListCtrl::OnPaint: Start
0003656: 492: General: CMJFileListCtrl::OnPaint: Updating view port
0003656: 492: General: CJRReportCtrl::OnPaint: Start
0003672: 492: General: CJRReportCtrl::OnPaint: Finish (16 ms)
0003672: 492: General: CMJFileListCtrl::OnPaint: Finish (16 ms)
0003672: 492: General: CJRReportCtrlLayout::LayoutControl::UpdateScrollbars: Start
0003672: 492: General: CJRReportCtrlLayout::LayoutControl::UpdateScrollbars: Finish (0 ms)
0003672: 492: General: CJRReportCtrlLayout::LayoutControl::UpdateScrollbars: Start
0003672: 492: General: CJRReportCtrlLayout::LayoutControl::UpdateScrollbars: Finish (0 ms)
0003703: 492: General: CMJFileListCtrl::OnPaint: Start
0003703: 492: General: CMJFileListCtrl::OnPaint: Updating view port
0003703: 492: General: CJRReportCtrl::OnPaint: Start
0003703: 492: General: CJRReportCtrl::OnPaint: Finish (0 ms)
0003703: 492: General: CMJFileListCtrl::OnPaint: Finish (0 ms)
0003719: 3932: Playback: CWaveOutBinPlayThread::Thread: Start
0003734: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Z\_MC12lib\field (rating).jmd
0003734: 492: Reader: CLocalReader::Close: Closing: C:\Z\_MC12lib\field (rating).jmd
0003734: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Soft\MC12\MegaSkins\Noire\PlayerBar_PauseButton.png
0003734: 492: Reader: CLocalReader::Close: Closing: C:\Soft\MC12\MegaSkins\Noire\PlayerBar_PauseButton.png
0003734: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Soft\MC12\Data\Default Skin Items\Standard View\List_RatingClear.png
0003734: 492: Reader: CLocalReader::Close: Closing: C:\Soft\MC12\Data\Default Skin Items\Standard View\List_RatingClear.png
0003969: 4088: SDK: CMJCurPlaylistAutomation::CMJCurPlaylistAutomation: Global Count: 1
0003969: 4088: SDK: CMJCurPlaylistAutomation::OnFinalRelease: All objects released
0003969: 4088: SDK: CMJCurPlaylistAutomation::~CMJCurPlaylistAutomation: Global Count: 0
0003984: 492: Playback: CPlayerZone::Next: Start
0003984: 492: Playback: CPlayerZone::Next: Checking for invalid position
0003984: 492: Playback: CPlayerZone::Next: Attempting next chapter
0003984: 492: Playback: CPlayerZone::Next: Checking for next disabled
0003984: 492: Playback: CPlayerZone::Next: Checking for display / internal mismatch
0003984: 492: Playback: CPlayerZone::Next: Checking can play next state
0003984: 492: Playback: CPlayerZone::Next: Next track not playable
0003984: 492: Playback: CPlayerZone::Next: Finish (0 ms)
0003984: 492: General: CMJFileListCtrl::OnPaint: Start
0003984: 492: General: CMJFileListCtrl::OnPaint: Updating view port
0003984: 492: General: CJRReportCtrl::OnPaint: Start
0003984: 492: General: CJRReportCtrl::OnPaint: Finish (0 ms)
0003984: 492: General: CMJFileListCtrl::OnPaint: Finish (0 ms)
0009859: 492: Playback: CPlayerZone::Stop: Start
0009859: 492: Playback: CPlayerZone::Stop: Checking for not loaded playback engine
0009859: 492: Playback: CPlayerZone::Stop: Checking for TV time-shifting or recording
0009859: 492: Playback: CPlayerZone::Stop: Firing stop to playback engine
0009859: 492: Playback: CMJPlayerCore::Stop: Start
0009859: 492: Playback: CMJPlayerCore::Stop: Pausing playback to stop sound
0009859: 492: Playback: CMJPlayerCore::Stop: Stopping visualization data thread
0009953: 492: Playback: CMJPlayerCore::Stop: Closing feeder thread
0009953: 492: Reader: CLocalReader::Close: Closing: D:\6 Channel\6_Channel_ID.wav
0009953: 492: Reader: CLocalReader::Close: Closing: D:\6 Channel\6_Channel_ID.wav
0009969: 492: Playback: CMJPlayerCore::Stop: Closing main output bin
0009969: 492: Playback: CWaveOutBinPlayThread::~CWaveOutBinPlayThread: Start
0009969: 3932: Playback: CWaveOutBinPlayThread::Thread: Finish (6250 ms)
0009984: 492: Playback: CWaveOutBinPlayThread::~CWaveOutBinPlayThread: Finish (15 ms)
0010015: 492: General: CMJFileListCtrl::OnPaint: Start
0010015: 492: General: CMJFileListCtrl::OnPaint: Updating view port
0010015: 492: General: CJRReportCtrl::OnPaint: Start
0010031: 492: General: CJRReportCtrl::OnPaint: Finish (16 ms)
0010031: 492: General: CMJFileListCtrl::OnPaint: Finish (16 ms)
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #8 on: August 15, 2007, 06:00:07 pm »

i tried it. the speakers are on desktop stereo speakers. i use a RME fireface 800 as soundcard. asio. no crash here.
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #9 on: August 16, 2007, 10:33:32 am »

How are you playing this?  If you hit play while on the start page does it crash?  And how many columns in your view?

I can reproduce the crash using two different 6 channel sound devices (The mentioned Terratec and an integrated C-Media CMI9739A). Unfortunately these are both on the same PC. Our other PCs don't have a sound card with multichannel analog outputs.

Did you try a 5.1 or 7.1 sound card with the control panel setting "Desktop Stereo Speakers" ?

Here are the last lines of a log, but I don't think MC could include anything that is related to the crash:
Code: [Select]
Name="Filename">D:\6 Channel\6_Channel_ID.wav</Item><Item Name="ReplayGainTrackAutoPreamp">0</Item><Item Name="FileType">wav</Item><Item Name="ReplayGainTrack">0</Item><Item Name="ReplayGainAlbumAutoPreamp">0</Item><Item Name="ReplayGainAlbum">0</Item><Item Name="MediaType">Audio</Item><Item Name="DatabaseKey">17259021</Item><Item Name="PlaylistIndex">0</Item></XMLFN> / wav
0003609: 492: Playback: CPlaybackEngImpl::Play: Start
0003625: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Soft\MC12\Data\Default Resources\FileAssociations.xml
0003625: 492: Reader: CLocalReader::Close: Closing: C:\Soft\MC12\Data\Default Resources\FileAssociations.xml
0003625: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Soft\MC12\Data\Default Resources\FileAssociations.xml
0003625: 492: Reader: CLocalReader::Close: Closing: C:\Soft\MC12\Data\Default Resources\FileAssociations.xml
0003625: 492: Playback: CPlaybackEngImpl::Play: Playing D:\6 Channel\6_Channel_ID.wav with type wav
0003625: 492: Playback: CPlaybackEngImpl::StartPlayFile: Start
0003640: 492: Reader: CLocalReader::OpenInternal: Opening: D:\6 Channel\6_Channel_ID.wav
0003640: 492: Reader: CLocalReader::Close: Closing: D:\6 Channel\6_Channel_ID.wav
0003640: 492: Playback: CWaveFeederHelper::GetForceDirectShow: Returning FALSE for file D:\6 Channel\6_Channel_ID.wav
0003656: 492: Playback: CMJWaveFeeder::Play: Start
0003656: 492: Playback: CMJWaveFeeder::Play: bRadio = 0, m_strFilename = D:\6 Channel\6_Channel_ID.wav, setting MJ_INPUT_SOURCE_INFO_CACHE_ALL_METADATA
0003656: 492: Playback: CMJWaveFeeder::Play: Finish (0 ms)
0003656: 492: Playback: CPlaybackEngImpl::StartPlayFile: Play returned: 1
0003656: 4088: Reader: CLocalReader::OpenInternal: Opening: D:\6 Channel\6_Channel_ID.wav
0003656: 492: Playback: CPlaybackEngImpl::Play: StartPlayFile returned 1
0003656: 4088: Playback: CPlayerZone::OnNewStream: Start
0003656: 492: Playback: CPlaybackEngImpl::Play: Finish (47 ms)
0003656: 4088: Playback: CPlayerZone::OnNewStream: Finish (0 ms)
0003656: 492: Playback: CPlayerZone::Play: Play succeeded
0003656: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Z\_MC12lib\field (service_ stream metadata).jmd
0003656: 492: Playback: CPlayerZone::Play: Finish (94 ms)
0003656: 492: General: CMJFileListCtrl::OnPaint: Start
0003656: 492: General: CMJFileListCtrl::OnPaint: Updating view port
0003656: 492: General: CJRReportCtrl::OnPaint: Start
0003672: 492: General: CJRReportCtrl::OnPaint: Finish (16 ms)
0003672: 492: General: CMJFileListCtrl::OnPaint: Finish (16 ms)
0003672: 492: General: CJRReportCtrlLayout::LayoutControl::UpdateScrollbars: Start
0003672: 492: General: CJRReportCtrlLayout::LayoutControl::UpdateScrollbars: Finish (0 ms)
0003672: 492: General: CJRReportCtrlLayout::LayoutControl::UpdateScrollbars: Start
0003672: 492: General: CJRReportCtrlLayout::LayoutControl::UpdateScrollbars: Finish (0 ms)
0003703: 492: General: CMJFileListCtrl::OnPaint: Start
0003703: 492: General: CMJFileListCtrl::OnPaint: Updating view port
0003703: 492: General: CJRReportCtrl::OnPaint: Start
0003703: 492: General: CJRReportCtrl::OnPaint: Finish (0 ms)
0003703: 492: General: CMJFileListCtrl::OnPaint: Finish (0 ms)
0003719: 3932: Playback: CWaveOutBinPlayThread::Thread: Start
0003734: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Z\_MC12lib\field (rating).jmd
0003734: 492: Reader: CLocalReader::Close: Closing: C:\Z\_MC12lib\field (rating).jmd
0003734: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Soft\MC12\MegaSkins\Noire\PlayerBar_PauseButton.png
0003734: 492: Reader: CLocalReader::Close: Closing: C:\Soft\MC12\MegaSkins\Noire\PlayerBar_PauseButton.png
0003734: 492: Reader: CLocalReader::OpenInternal: Opening: C:\Soft\MC12\Data\Default Skin Items\Standard View\List_RatingClear.png
0003734: 492: Reader: CLocalReader::Close: Closing: C:\Soft\MC12\Data\Default Skin Items\Standard View\List_RatingClear.png
0003969: 4088: SDK: CMJCurPlaylistAutomation::CMJCurPlaylistAutomation: Global Count: 1
0003969: 4088: SDK: CMJCurPlaylistAutomation::OnFinalRelease: All objects released
0003969: 4088: SDK: CMJCurPlaylistAutomation::~CMJCurPlaylistAutomation: Global Count: 0
0003984: 492: Playback: CPlayerZone::Next: Start
0003984: 492: Playback: CPlayerZone::Next: Checking for invalid position
0003984: 492: Playback: CPlayerZone::Next: Attempting next chapter
0003984: 492: Playback: CPlayerZone::Next: Checking for next disabled
0003984: 492: Playback: CPlayerZone::Next: Checking for display / internal mismatch
0003984: 492: Playback: CPlayerZone::Next: Checking can play next state
0003984: 492: Playback: CPlayerZone::Next: Next track not playable
0003984: 492: Playback: CPlayerZone::Next: Finish (0 ms)
0003984: 492: General: CMJFileListCtrl::OnPaint: Start
0003984: 492: General: CMJFileListCtrl::OnPaint: Updating view port
0003984: 492: General: CJRReportCtrl::OnPaint: Start
0003984: 492: General: CJRReportCtrl::OnPaint: Finish (0 ms)
0003984: 492: General: CMJFileListCtrl::OnPaint: Finish (0 ms)
0009859: 492: Playback: CPlayerZone::Stop: Start
0009859: 492: Playback: CPlayerZone::Stop: Checking for not loaded playback engine
0009859: 492: Playback: CPlayerZone::Stop: Checking for TV time-shifting or recording
0009859: 492: Playback: CPlayerZone::Stop: Firing stop to playback engine
0009859: 492: Playback: CMJPlayerCore::Stop: Start
0009859: 492: Playback: CMJPlayerCore::Stop: Pausing playback to stop sound
0009859: 492: Playback: CMJPlayerCore::Stop: Stopping visualization data thread
0009953: 492: Playback: CMJPlayerCore::Stop: Closing feeder thread
0009953: 492: Reader: CLocalReader::Close: Closing: D:\6 Channel\6_Channel_ID.wav
0009953: 492: Reader: CLocalReader::Close: Closing: D:\6 Channel\6_Channel_ID.wav
0009969: 492: Playback: CMJPlayerCore::Stop: Closing main output bin
0009969: 492: Playback: CWaveOutBinPlayThread::~CWaveOutBinPlayThread: Start
0009969: 3932: Playback: CWaveOutBinPlayThread::Thread: Finish (6250 ms)
0009984: 492: Playback: CWaveOutBinPlayThread::~CWaveOutBinPlayThread: Finish (15 ms)
0010015: 492: General: CMJFileListCtrl::OnPaint: Start
0010015: 492: General: CMJFileListCtrl::OnPaint: Updating view port
0010015: 492: General: CJRReportCtrl::OnPaint: Start
0010031: 492: General: CJRReportCtrl::OnPaint: Finish (16 ms)
0010031: 492: General: CMJFileListCtrl::OnPaint: Finish (16 ms)
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #10 on: August 16, 2007, 01:23:19 pm »

How are you playing this?  If you hit play while on the start page does it crash?

MC plays the file normally. It sends audio to all six speakers (even though the Control Panel option is set to "Desktop Stereo Speakers"). The crash happens always immediately after the file has ended or if I press stop before the file ends. When I tested this I had only one file in Playing Now.

It doesn't matter if I change the location to some other place like Start page, Playlists or Video and start playback while not in PN (I have set the play button to play PN). MC crashes exactly the same way when playback stops.

I just tried this with two files in PN. I added a 6 channel wma file after the 6 channel wave file. (both from the linked MS sample package). This time MC crashed after the second file. I had the playback options set to gapless as I always have.


Quote
And how many columns in your view?

My PN has a lot of columns - over 50.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #11 on: August 16, 2007, 03:21:07 pm »

Here is the complete log of the last playback attempt with two files in PN and a screenshot of the error message window (see the attachments).

This time MC displayed a different message and the close button in the warning window didn't work. I had to kill MC with the task manager. (The OK button in the other error message closed MC).

Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #12 on: August 16, 2007, 03:24:52 pm »

Did you attach a log?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #13 on: August 16, 2007, 03:31:35 pm »

The txt attachment didn't work. It became corrupted.

I uploaded the file to my web server: Two_files_in_PN.txt
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42378
  • Shoes gone again!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #14 on: August 16, 2007, 03:43:10 pm »

I'm wondering if the soundcard driver is doing something "unique" on close, since it tanks after the last file finishes.

I can't make it happen on my machine.  We've tested a few others as well.

The log is empty (doesn't log a crash) so it indicates a low level hardware crash.  Any other ideas?

Logged
Matt Ashland, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #15 on: August 16, 2007, 03:52:23 pm »

As I said, I tried the integrated C-Media sound card too. It uses a different driver.

Perhaps I just need to change the speaker setting before playing multichannel files. I don't do that often.

This time I played the files because I wanted to test some related playback settings before writing an MC12 forum reply.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

The Big Labinski

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 442
  • Wake up and slow down
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #16 on: December 30, 2007, 06:58:31 am »

Dear all, this is my second query in this forum regarding Dolby digital output for DTS and AC3 audio files. I would be really happy to get some competent help.

I read a lot here and in other forums/web sites to solve these problems – no chance to fix it – sorry.

Problem: DTS and AC3 audio files are not decoded by MC12. I send them directly to an external amplifier with integrated DD decoder (Yamaha DSP-Z9). I can change what I want but always the PCM stream is going to the amplifier which gives this dizzy/white noise. PCM-Stereo is possible too.

Other players don’t have these problems. Creative MediaSource 5 is playing them without any changes in the program after installing – just click on an ac3-file and it works.

Even the old Windows Media player classic has no problems with these files. I used AC3-filter or ffdshow with the right adjustments. So I know that my system and the filters are set correctly.

This is the last work what I did:   :P
Installed on a separate internal hard disc a totally new Windows XP-SP2.
Made all updates on Windows XP
Installed the new driver and software for my sound card – Creative X-fi Pro
Installed MC12.0.400 full license
Installed the ac3filter 1.46 – working perfectly with Windows Media Player Classic.
MC-Settings:
Option>Playback>Audio>Output mode: Direct Sound
Option> Playback>Audio>Output mode settings>Output Device: Primary sound device/driver
Option> Playback>Audio>Output mode settings>Output Channels (if in Stereo): Default Channels (recom.)
Option> Playback>Audio>DSP&output format: nothing activated or separately installed
Option> Playback>Audio>DirectShow playback settings>DirectShow filters: just ac3 marked
    In this area>Select Filters>Source Filters: nothing marked – other filters – AC3Filter marked
The settings in AC3Filter is the same like for the Windows Classic Player which works  ? ?.

Honestly I do not understand why such a professional program like MC 12 has such problems with common audio files. A lot of small freeware programs don’t have that. I would be really happy to solve these. 20.000 mp3, 7.000 flac, 350 ac3 files – I think everybody can understand that I want like to use just one software player.ohyeah

Please post any ideas.

Best regards from the snowy Tyrol.
Logged
Wake up and slow down 😴

bspachman

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 896
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #17 on: December 30, 2007, 01:31:11 pm »

If it's any consolation, it's not any better on Vista. See my saga at:

http://yabb.jriver.com/interact/index.php?topic=42557.0

If I understand the issues in that thread correctly, my DTS problems result from the fact that MC always decodes WAV files internally and does not understand the DTS/Redbook CD format to send an unaltered PCM stream to my decoder.

The AC3/DD problems are a little stranger, because, like you, I have tried to manually define the DirectShow filters I want applied, but they don't seem to stick.

Alex has suggested wrapping all of the files in an MKV container, but that seems to be a kludgy work-around....

Maybe it's time to attack these problems again in the new year....

brad
Logged

The Big Labinski

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 442
  • Wake up and slow down
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #18 on: December 31, 2007, 09:50:45 am »

Dear brad, thanks for your reply.

I read your post very carefully. It seems MC is not able to handle any DD filters. Tests with other players were successful therefore I suggest that some developers should take over this case – if possible. :P

It is not satisfied for me that a program like MC is not very well supported to play DD-files. >:(

Status as it is – no ac3 file played correctly thru MC.
Has anybody a MC system which is able to handle AC3 files?

What’s about WMA pro files? Are they able to play with MC? ?


Stefan
Logged
Wake up and slow down 😴

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #19 on: December 31, 2007, 11:21:23 am »

AC3 and DTS file types can be played through DirectShow (i.e. through the installed AC3 Filter). It works for me. *

However, the correct AC3 Filter settings must be preconfigured because MC doesn't expose the filter configuration window when audio files are played. That's why I have bumped the linked thread a few times.

DTS encoded wav files can be decoded with an external DTS decoder if the audio chain is fully bit perfect. MC doesn't care about the file contents. If everything that can alter the PCM signal is disabled inside MC the signal will be outputted as it is. It just extracts the PCM signal from the wav container and sends it to the output device. After that it is up to the audio device to transfer the signal bit perfectly to SPDIF.

For WMP Pro decoding MC uses Microsoft's OS level decoding engine and it should work fine (similarly like in WMP).

EDIT

* I have not forced MC to use any specific filters for these file types (.ac3 and .dts). I have just ticked the DS playback option and configured the filters outside MC.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

The Big Labinski

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 442
  • Wake up and slow down
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #20 on: January 02, 2008, 10:28:32 am »

Dear Alex B, the last days I did some test on AC3 files with strange results.

If i have more filtes installed no chance to decode AC3 files.
So I used just the ac3filter and made some pre settings like your advice. And I can play the files without any problems  ;D - but just in stereo :(.
If you are using the ac3filter you normally must activate the SPDIF out box to get multichannel output, but then I get this funny white noise. This happens only in MC. Other players working well.

It is also very strange that MC can play these files with no filter activated in the DirectShow filter selection for AC3 files. ? ? ?

Any ideas

Stefan
Logged
Wake up and slow down 😴

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #21 on: January 02, 2008, 11:06:56 am »

Hmm...

It was some time ago when I tried direct .ac3 pass through to SPDIF. Previously it used to work (possibly in MC11.1 and with an older version of AC3Filter). I have only a few test samples in .ac3 format. My multichannel audio-only files are mostly in the DTS-wav format (i.e. ripped from 44.1 kHz 5.1. DTS audio CDs with standard ripping tools).

Maybe MC12 gets the signal back from AC3Filter before it is forwarded to SPDIF. In this case for example the internal volume control or some other DSP feature can alter the stream and make it broken.

Yaobing from JRiver just promised to add controls for DS audio playback. I'll wait for these and test .ac3 and .dts file playback when the controls are available.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #22 on: January 03, 2008, 12:04:33 pm »

After I tested the wmv 5.1 playback problem (http://yabb.jriver.com/interact/index.php?topic=44247.msg302897#msg302897) I decided to try a 5.1 wma file again. The file plays normally through 5.1 output but MC crashes immediately after playback similarly as it did in August. This time I had the speakers option set to 5.1 in Windows Control Panel, but that didn't help anymore.

MC 12.0.404

Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #23 on: January 05, 2008, 05:36:31 am »

I'm copying the multichannel audio related posts from the 406 thread here. Admins: You may want to move this thread to the public forum (after the next build is released there) for getting more users involved in debugging this.


"MC12.0.406  11. NEW: Added "DirectShow Filters" submenu for DirectShow Audio playback."

Where is it? I can't find it.


Right-click display window (where Visualization or Track Info would be), and look at the lower portion of the context menu (it is in the last group).


Still can't find it.

Should I reboot? (I have some tasks going on and can't reboot just now.)

As a sidenote, .mka (Matroska audio) is not yet recognized as a DS audio format. I think I was able to play it earlier, but it doesn't work now. Changing the media type to audio doesn't help.



EDIT

As you can see from the screenshot, duration info is not available in AW>Tag


Not sure why you do not have it. Maybe rebooting will fix it. Here is an mage of what you would get



I'm not seeing that either -- the only thing I see under "Use High Quality Drawing" is "Display Settings."  The "DirectShow Filter" item in the picture you posted simply isn't there on my system.

Larry


You have to be playing an audio type that is handled with DirectShow. If you play mp3, for example, you would not see it.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #24 on: January 05, 2008, 05:52:54 am »

I converted my DTS test file to 5.1 wav and enabled DS playback for wav. Only this format makes the DS menu available (DTS, AC3 and MKA don't show the menu even after a reboot):




However, the output is only 2-channel stereo even though AC3 Filter correctly displays that the file is outputted in the multichannel mode:







Finally, when the file ends and playback stops MC crashes similarly as it does when the internal wave decoder is used or 5.1 wma file is played:

Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #25 on: January 07, 2008, 01:24:13 pm »

Yaobing,

Do you have any idea why the menu is not available on my setup (except with 5.1 wav)? Would you like to have a log or more details of my setup?
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #26 on: January 07, 2008, 01:47:07 pm »

Yaobing,

Do you have any idea why the menu is not available on my setup (except with 5.1 wav)? Would you like to have a log or more details of my setup?

Please send me a log. It sounds like some error occurred when MC tries to enumerate filters in a graph. Do you use some special filters (I see in your screenshot DC-Graphic EQ Filter, but that one did not cause problem for wav file anyway)? How about choosing a minimum set of filters (DTS/AC3 Source and FFDShow Audio decoder, for AC3 for example).
Logged
Yaobing Deng, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #27 on: January 07, 2008, 04:11:45 pm »

Thanks. I'll try different filter combinations and report back.

The current filter combination works fine with Zoom Player. I can access its DS filter menu and open the filters' configuration panels without problems.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #28 on: January 07, 2008, 04:29:00 pm »

MC won't play those files at all on my system, WMP will.
Nothing happens with the WAV, with the WMP a message is displayed saying
"Media Center encountered errors while trying to play..."
"Playback Could not be started using format..." "6 Channels etc"

If I remember correctly my systems a 7.1 Sigmatel integrated thing.

I'm on MC Peugeout 406 edition.

The Big Labinski

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 442
  • Wake up and slow down
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #29 on: January 15, 2008, 12:15:09 pm »

Hi Alex B, DirectShow is very funny. I´m using now MC 12.0.410 and nothing is going better.

You can use any filter or no filter, as long as AC3-filter is installed, MC is using just this one. I deinstalled AC3-Filter and MC is using the ffdshow filter - it is strange that no filter for AC-3 files are selected. ? ? ?

Have you got the same experience?

Stefan
Logged
Wake up and slow down 😴

DougHamm

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 260
  • nothing more to say...
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #30 on: January 15, 2008, 05:28:51 pm »

I've got this all working - and then some - but with a few issues.  Keep in mind this is all Directshow decoding to my receiver over ANALOGUE -- no digital passthrough here.  I think some of the confusion is due to folks confusing the two, as their solutions are very different.  Also I apologize for not being more explicit with instructions but I'm on a break at work at the moment, not at home!

.DTSWAV files:
1. Latest FFDSHOW filter installed.  Under Codecs: DTS checked, and the option to 'check for DTS stream in .wav' also checked.  'Use AC3 When SPDIF outpet set' is UNCHECKED.  The last codec in the list (Uncompressed) enabled for 'all supported'.  Under Processing: select '16 bit integer' only.  Under Mixer: pick your speaker config and enable this filter.  Under Output: select '16 bit integer' only.  Voila.
2. In MC12: media type 'audio', file type 'dts', file extension '.dtswav'.  Then just hit play.
ISSUES: I use a Realtek HD Audio integrated sound card under Vista, and MC12 refuses to recognize it as being multichannel-capable.  Therefore this setup fails for me and I need to make a light mod:
1. Enable WMP Engine for Directshow output
2. Change file type to 'avi' instead of 'dts'.

.AC3 and .dts (48khz bitstream not-wav-encoded) files:
1. As someone suggested, wrap them in a Matroska container and be done with it.  There's no harm in it - they're raw bitstreams and really need a container (mkv) to work well.  Installing CCCP codec pack is the fastest way to get Matroskas to work.
2. In MC12: media type 'audio', file type 'mkv', file extension either 'mkv' or 'mka' - your call.
ISSUES: Again I can't use MC12's engine because of the multichannel/Realtek/Vista/MC12 issue, so I have to use the WMP engine.

WMA Pro 5.1 (I used this format to rip my DVD-A collection losslessly):
Normally these files will just work.  My multichannel issues prevent this unless I enable the WMP Engine for video playback and change the file type to .wmv.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #31 on: January 15, 2008, 06:09:32 pm »

Please send me a log. It sounds like some error occurred when MC tries to enumerate filters in a graph. Do you use some special filters (I see in your screenshot DC-Graphic EQ Filter, but that one did not cause problem for wav file anyway)? How about choosing a minimum set of filters (DTS/AC3 Source and FFDShow Audio decoder, for AC3 for example).

I have not had time to further test these things until now.

I uninstalled DC-Graphic EQ, but that didn't change anything (it was already switched off in its control panel, though naturally I was able to check its options only when MC shows the menu).

It seems that when FFDShow is set to handle DTS and AC3 file the menu is available, but if AC3filter is defaulted in its offline control panel the DS audio menu does not appear.

Have you tried AC3Filter instead of FFDSHow for AC3 and DTS? (You can disable the AC3 and DTS codecs in FFDShow's audio panel and enable them inside AC3Filter's panel.)

I have not tried to change the filter selections inside MC12 yet. In my opinion the default filter chain should be made to work properly first.

Here are the AC3 and DTS test samples and a playback log:
http://rapidshare.com/files/84128654/ac3_dts_log.zip (7.4 MB)
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #32 on: January 15, 2008, 07:48:52 pm »


Have you tried AC3Filter instead of FFDSHow for AC3 and DTS? (You can disable the AC3 and DTS codecs in FFDShow's audio panel and enable them inside AC3Filter's panel.)


I just tried playing your sample files. Initially I disabled AC3 and DTS in FFDShow. Both AC3Filter and FFDShow filters are loaded (AC3Filter before FFDShow). I then disabled Uncompressed in FFDShow. Now only AC3Filter is loaded.

In all cases the DirectShow Filters menu appear.

I tried to change Output format on AC3Filter (to 3/2+SW 5.1 channels, and other settings, even though my computer has only two speakers), it still works.
Logged
Yaobing Deng, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #33 on: January 16, 2008, 12:58:08 am »

I don't get the filter menu and the DTS sample file outputs only 2.0 in MC. (The AC3 sample seems to have only 2-channel audio content (left+right) even though the file format is 5.1.)

For comparison, here's what what filter selections zoomplayer uses by default (without changing the DS configuration anyhow):

Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #34 on: January 16, 2008, 09:35:12 am »

This is what I got from MC:

Code: [Select]
Filter Graph Info (Graph for type: dts):

    Filter 'MJ WaveBin Filter'
        CLSID: {EC1F74A8-7E55-4814-9F9F-D417489075CA}
        Filename:
        Input Pin 'In'
            Connected to pin 'Out' of filter 'AC3Filter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'AC3Filter'
        CLSID: {A753A1EC-973E-4718-AF8E-A3F554D45C44}
        Filename: C:\Program Files\AC3Filter\ac3filter.ax
        Input Pin 'In'
            Connected to pin 'Output' of filter 'DTS/AC3 Source'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DTS, Format type FORMAT_WaveFormatEx
        Output Pin 'Out'
            Connected to pin 'In' of filter 'MJ WaveBin Filter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'DTS/AC3 Source'
        CLSID: {B4A7BE85-551D-4594-BDC7-832B09185041}
        Filename: C:\Downloads\Software downloads\DTSAC3Source\dtsac3source_20051125\Release Unicode\dtsac3source.ax
        Output Pin 'Output'
            Connected to pin 'In' of filter 'AC3Filter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DTS, Format type FORMAT_WaveFormatEx

The only difference is that we use different Source Filter. That should not matter.
Logged
Yaobing Deng, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #35 on: January 16, 2008, 09:42:29 am »

The only difference is that we use different Source Filter. That should not matter.

Could you try this?

http://ac3filter.net/projects/ac3file
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #36 on: January 16, 2008, 10:54:40 am »

Could you try this?

http://ac3filter.net/projects/ac3file

Installed AC3File source filter. The particular sample audio you provided (08 - Gnik Nus Track1.dts) just would not play using this source filter. I also updated AC3Filter to the latest version (1.46, the same as yours). That sample will only load with DTS/AC3Source filter. After unregistering the DTSAC3Source filter, the sample track will not play anymore, not even in ZoomPlayer, on my computer.

Strange thing is another sample dts track played fine using AC3File filter until I unregistered DTSAC3Source. Now it plays through WAVE parser:

Code: [Select]
Filter Graph Info (Graph for type: dts):

    Filter 'MJ WaveBin Filter'
        CLSID: {EC1F74A8-7E55-4814-9F9F-D417489075CA}
        Filename:
        Input Pin 'In'
            Connected to pin 'Out' of filter 'AC3Filter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'AC3Filter'
        CLSID: {A753A1EC-973E-4718-AF8E-A3F554D45C44}
        Filename: C:\Program Files\AC3Filter\ac3filter.ax
        Input Pin 'In'
            Connected to pin 'output' of filter 'Wave Parser'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx
        Output Pin 'Out'
            Connected to pin 'In' of filter 'MJ WaveBin Filter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'Wave Parser'
        CLSID: {D51BD5A1-7548-11CF-A520-0080C77EF58A}
        Filename: C:\WINDOWS\system32\quartz.dll
        Output Pin 'output'
            Connected to pin 'In' of filter 'AC3Filter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx
        Input Pin 'input pin'
            Connected to pin 'Output' of filter 'C:\Documents and Settings\All Users\Documents\My Music\Downloaded\Unknown Artist\Unknown Album\Banff_demo_dts.dts'
            Major type MEDIATYPE_Stream  Sub type MEDIASUBTYPE_WAVE, Format type TIME_FORMAT_NONE

    Filter 'C:\Documents and Settings\All Users\Documents\My Music\Downloaded\Unknown Artist\Unknown Album\Banff_demo_dts.dts'
        CLSID: {E436EBB5-524F-11CE-9F53-0020AF0BA770}
        Filename: C:\WINDOWS\system32\quartz.dll
        Output Pin 'Output'
            Connected to pin 'input pin' of filter 'Wave Parser'
            Major type MEDIATYPE_Stream  Sub type MEDIASUBTYPE_WAVE, Format type TIME_FORMAT_NONE
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #37 on: January 16, 2008, 11:01:33 am »

Nevermind, it now works. Unregistering DTSAC3Source seemed to have messed up AC3File too. After reinstalling AC3File, all works.

Code: [Select]
Filter Graph Info (Graph for type: dts):

    Filter 'MJ WaveBin Filter'
        CLSID: {EC1F74A8-7E55-4814-9F9F-D417489075CA}
        Filename:
        Input Pin 'In'
            Connected to pin 'Out' of filter 'AC3Filter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'AC3Filter'
        CLSID: {A753A1EC-973E-4718-AF8E-A3F554D45C44}
        Filename: C:\Program Files\AC3Filter\ac3filter.ax
        Input Pin 'In'
            Connected to pin 'Output' of filter 'C:\Downloads\MJDownloads\AlexB\ac3_dts_log\08 - Gnik Nus_Track1.dts'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DTS, Format type FORMAT_WaveFormatEx
        Output Pin 'Out'
            Connected to pin 'In' of filter 'MJ WaveBin Filter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'C:\Downloads\MJDownloads\AlexB\ac3_dts_log\08 - Gnik Nus_Track1.dts'
        CLSID: {F7380D4C-DE45-4F03-9209-15EBA8552463}
        Filename: C:\Program Files\AC3File\ac3file.ax
        Output Pin 'Output'
            Connected to pin 'In' of filter 'AC3Filter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DTS, Format type FORMAT_WaveFormatEx
Logged
Yaobing Deng, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #38 on: January 16, 2008, 11:10:28 am »

The DTS sample file works with ac3file.ax and ZP. I have no idea what MC used when I played the file (I didn't have the DTS/AC3Source filter installed). Can you see what MC used from the log I provided?

In the meanwhile I downloaded and registered the Gabest DTS/AC3Source filter. I selected it in MC's DS filter selection panel (DTS source). For decoding I tried first AC3filter and then FFDShow. These selections didn't help. The DS menu didn't appear at all. (I think it appeared earlier when I tried FFDShow, but I am not sure anymore.) Playback worked as before -- the output was 2-channel stereo.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #39 on: January 16, 2008, 11:20:49 am »

The DTS sample file works with ac3file.ax and ZP. I have no idea what MC used when I played the file (I didn't have the DTS/AC3Source filter installed). Can you see what MC used from the log I provided?

In the meanwhile I downloaded and registered the Gabest DTS/AC3Source filter. I selected it in MC's DS filter selection panel (DTS source). For decoding I tried first AC3filter and then FFDShow. These selections didn't help. The DS menu didn't appear at all. (I think it appeared earlier when I tried FFDShow, but I am not sure anymore.) Playback worked as before -- the output was 2-channel stereo.

Do you have a dts/ac3 plugin? I mean one like in_mp3.dll, in_wav.dll type. Your log file does not show any attempt at playing it in DirectShow at all - no filter-graph building.
Logged
Yaobing Deng, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #40 on: January 16, 2008, 11:48:58 am »

Thanks. You nailed it.

I found this in my installed input plugins: http://ac3filter.net/projects/winampac3

Some time ago Jim mentioned that some Winamp input plugins can be used with MC12. I suppose I experimented with the winampac3 plugin and forged to uninstall it. It was congfigured for 2.0 output.

I uninstalled it with the plugin manager and now I get the DS menu for AC3 and DTS files. Now we can start debugging the other issues. I'll try AC3 and DTS playback later when I have some free time.

Here is one issue that has not been addressed:

Matroska audio (MKA) is not recognized by MC yet. MKA files appear as documents and I can't play them even after changing the media type. MC can be fooled by changing the extension to MKV, but then the audio only features are not available.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

DougHamm

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 260
  • nothing more to say...
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #41 on: January 16, 2008, 11:56:14 am »


Matroska audio (MKA) is not recognized by MC yet. MKA files appear as documents and I can't play them even after changing the media type. MC can be fooled by changing the extension to MKV, but then the audio only features are not available.

I concur - playing as video isn't _that_ bad, but you do lose crossfading, equalizer, visualizations, etc.  But at least it plays, which is most important (for me).

Native .mka/v tagging would really be a great addition to MC13...so much stuff just 'works' once you wrap it in a Matroska container.

-Doug
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42378
  • Shoes gone again!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #42 on: January 16, 2008, 12:05:12 pm »

Thanks. You nailed it.

I found this in my installed input plugins: http://ac3filter.net/projects/winampac3

Does this also fix the multi-channel crash you were seeing?

We still can not reproduce that.  6 channel WAV and WMA files play correctly, using DirectShow or the internal decoder.
Logged
Matt Ashland, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10926
  • Dogs of the world unite!
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #43 on: January 16, 2008, 12:10:05 pm »

Thanks. You nailed it.

I found this in my installed input plugins: http://ac3filter.net/projects/winampac3

Some time ago Jim mentioned that some Winamp input plugins can be used with MC12. I suppose I experimented with the winampac3 plugin and forged to uninstall it. It was congfigured for 2.0 output.

I uninstalled it with the plugin manager and now I get the DS menu for AC3 and DTS files. Now we can start debugging the other issues. I'll try AC3 and DTS playback later when I have some free time.

We always use a plugin if one exists. I wonder if we should change that. When dts/ac3 (or any other type) is checked in DirectShow types (they are by default since we do not provide a plugin for them), we should use DirectShow?


Quote
Here is one issue that has not been addressed:

Matroska audio (MKA) is not recognized by MC yet. MKA files appear as documents and I can't play them even after changing the media type. MC can be fooled by changing the extension to MKV, but then the audio only features are not available.

Should be easy to fix. I do not think we have the mka extension added. I will add it.

I concur - playing as video isn't _that_ bad, but you do lose crossfading, equalizer, visualizations, etc.  But at least it plays, which is most important (for me).

Native .mka/v tagging would really be a great addition to MC13...so much stuff just 'works' once you wrap it in a Matroska container.

-Doug

Tagging of mkv/mka is another matter, which we will tackle eventually.
Logged
Yaobing Deng, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC + 5.1. DirectShow audio problems [5.1 solved]
« Reply #44 on: January 16, 2008, 12:26:04 pm »

Quote
We always use a plugin if one exists. I wonder if we should change that. When dts/ac3 (or any other type) is checked in DirectShow types (they are by default since we do not provide a plugin for them), we should use DirectShow?

I assume this was changed for wav, but I think it should be possible with any filename extension that is included in the DS file types. (Though, naturally not as a default mode if a commonly used input plug-in exists).
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC and 5.1. DirectShow audio problems
« Reply #45 on: January 16, 2008, 12:51:14 pm »

Does this also fix the multi-channel crash you were seeing?

We still can not reproduce that.  6 channel WAV and WMA files play correctly, using DirectShow or the internal decoder.

It appears so. My WMA and WAV 5.1 samples seem to work now. Unfortunately I don't remember when I installed the plugin. I suppose it must have been a lot earlier than I though, because I noticed the wav and wma playback problem in August.

Since it is supposed to be an AC3 and DTS plug-in it is a bit surprising that it can affect wave and wma playback and have preference over the native JRiver plug-ins. Apparently it had preference also over the recently fixed DS wav playback option as my latest crash report indicates.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC + 5.1. DirectShow audio problems
« Reply #46 on: January 16, 2008, 01:01:44 pm »

It isn't so simple. I reinstalled the Winamp plug-in, tried a few different setting and MC crashed with each setting. Then I uninstalled the plug-in again, but MC still crashes... Argh!!
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Multichannel wav crashes MC + 5.1. DirectShow audio problems [5.1 solved]
« Reply #47 on: January 16, 2008, 01:12:51 pm »

Reboot?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC + 5.1. DirectShow audio problems
« Reply #48 on: January 16, 2008, 01:35:27 pm »

Reboot?

I did. Also reinstalled MC12 (though didn't try to clear the registry yet). WMA/WAV 5.1 crashes similarly as before.

EDIT

Now I have cleaned the registry. I deleted the HKCU/SW/JR/MC12 and HKLM/SW/JR/MC12 branches completely, reinstalled MC!2 and tried playback. Unfortunately the problem didn't go away.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Multichannel wav crashes MC + 5.1. DirectShow audio problems
« Reply #49 on: January 17, 2008, 05:21:17 am »

In addition to registry cleaning I also uninstalled and reinstalled the sound card's drivers and control panel.

Last night I did lots of testing with different setups, but still couldn't find any rhyme or reason in this behavior.

I have been able to play 5.1 WAV with MC's internal plug-in a couple of times, but each time MC has started to crash again after some external DS settings change (which should not happen when DS is not selected for the file type). Oddly reverting the last settings change doesn't fix this. Just now I am able to play the WMA and WAV samples without crashes and I am afraid to touch anything...

I guess that somewhere deep inside there is an unstable bit that doesn't always show up.

Perhaps finding answers to following questions would help:
- Why MC can play the files normally, but when the file stops MC crashes?
- Where does the error actually happen? Is it external to MC? (I can't reproduce it with any other player.)
- Why the error message is sometimes about "Visual C++ & runtime error" and sometimes the other message comes up as in the screenshot below?
- Why the error is able to crash the program? Isn't it possible to handle the situation gracefully somehow?

This is what I see when I click the links in the error message:



I don't know if the 95a_appcompat.txt file is useful anyhow, but it is available here: 95a_appcompat.zip.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755
Pages: [1] 2   Go Up