INTERACT FORUM

More => Old Versions => Media Center 13 (Development Ended) => Topic started by: IlPadrino on January 31, 2009, 07:21:53 am

Title: Can't Play Voicemail WAV Files
Post by: IlPadrino on January 31, 2009, 07:21:53 am
Vonage sends me voicemail as WAV files...  but MC13 won't play them.

I get a "Warning - There is nothing to play" and the following log entries:

Code: [Select]
Media Center; Version: 13.0.105; Types: 16383
0013868: 6060: General: Starting logging: Date: 1/31/2009 8:19 AM
0013884: 6060: General: Log Reset: Logging reset
0001872: 6060: General: CMCResourceHelper::GetIsModalPopupShowing: Main window disabled
0003760: 6060: Database: CMediaDatabase::AddFile: JRAnalyzer: 0x5161928
0003760: 6060: Database: CMediaDatabase::AddFile: Calling JRAnalyzer::Open
0003760: 6060: Import: JRAnalyzer::Open: Start
0003760: 6060: Import: JRAnalyzer::AddFile: Start
0003776: 6060: Import: JRAnalyzer::AddFile: Filename: C:\Users\Scott\Desktop\voice-message.wav
0003776: 6060: Import: JRAnalyzer::AddFile: Start
0003822: 6060: Import: JRAnalyzer::AddFile: Filename: C:\Users\Scott\Desktop\voice-message.wav
0003822: 6060: Reader: CLocalReader::OpenInternal: Opening: C:\Users\Scott\Desktop\voice-message.wav
0003838: 6060: Reader: CLocalReader::Close: Closing: C:\Users\Scott\Desktop\voice-message.wav
0003838: 6060: Import: JRAnalyzer::AddFileJRWorkerExe: Start
0003838: 6060: Import: JRAnalyzer::AddFileJRWorkerExe: Parameters: /AnalyzeDX "C:\Users\Scott\Desktop\voice-message.wav" "C:\Users\Scott\AppData\Roaming\J River\Media Center 13\Temp\Analyze - 6060 (15).xml"
0003838: 6060: General: RunProgram: Start
0003869: 6060: General: RunProgram: Filename: C:\Program Files\J River\Media Center 13\JRWorker.exe / Parameters: /AnalyzeDX "C:\Users\Scott\Desktop\voice-message.wav" "C:\Users\Scott\AppData\Roaming\J River\Media Center 13\Temp\Analyze - 6060 (15).xml"
0003869: 6060: General: RunProgram: Performing ShellExecute...
0003900: 6060: General: RunProgram: Running process...
0003900: 6060: General: RunProgram: Waiting for completion
0000000: 7228: General: JRWorker::ProcessCommand: Start
0000000: 7228: General: JRWorker::ProcessCommand: Processing AnalyzeDX task...
0000015: 7228: Import: CJRVideoAnalyzeHelper::AnalyzeFileDX: Start
0000015: 7228: Import: CJRVideoAnalyzeHelper::AnalyzeFileDX: Filename: C:\Users\Scott\Desktop\voice-message.wav, File Type: wav
0000047: 7228: Reader: CLocalReader::OpenInternal: Opening: C:\Program Files\J River\Media Center 13\Data\Default Resources\FileAssociations.xml
0000047: 7228: Reader: CLocalReader::Close: Closing: C:\Program Files\J River\Media Center 13\Data\Default Resources\FileAssociations.xml
0000062: 7228: Playback: CDShowFileRenderer::RenderFile: Start
0000062: 7228: Playback: CDShowFileRenderer::LoadSourceFilter: Start
0000078: 7228: Playback: CDShowFileRenderer::LoadSourceFilter: Finish (16 ms)
0000078: 7228: Playback: CDShowFileRenderer::RenderFile: LoadSourceFilter returned 0x80004005
0000093: 7228: Playback: CDShowFileRenderer::LoadTransformFilters: Start
0000093: 7228: Playback: CDShowFileRenderer::LoadTransformFilters: Finish (0 ms)
0000093: 7228: Playback: CDShowFileRenderer::RenderFile: LoadTransformFilters returned 0x1
0000327: 7228: Playback: CDShowFileRenderer::RenderFile: Finish (265 ms)
0000327: 7228: Import: CJRVideoAnalyzeHelper::AnalyzeFileDX: RenderFile returned 0x0
0000327: 7228: Import: CJRVideoAnalyzeHelper::AnalyzeFileDX: Got duration
0000343: 7228: Import: CJRVideoAnalyzeHelper::AnalyzeFileDX: getting bitrate
0000343: 7228: Import: CJRVideoAnalyzeHelper::AnalyzeFileDX: Getting other tag data for local file
0000374: 7228: Import: CJRVideoAnalyzeHelper::AnalyzeFileDX: Finish (359 ms)
0000374: 7228: General: JRWorker::ProcessCommand: AnalyzeDX succeeded...
0000374: 7228: General: JRWorker::ProcessCommand: Task completed in 372 ms, result = 0
0000374: 7228: General: JRWorker::ProcessCommand: Finish (374 ms)
0004587: 6060: General: RunProgram: Finished
0004587: 6060: General: RunProgram: Done waiting
0004587: 6060: General: RunProgram: Finish (749 ms)
0004587: 6060: Import: JRAnalyzer::AddFileJRWorkerExe: Result: 0 (0 is success)
0004602: 6060: Reader: CLocalReader::OpenInternal: Opening: C:\Users\Scott\AppData\Roaming\J River\Media Center 13\Temp\Analyze - 6060 (15).xml
0004602: 6060: Reader: CLocalReader::Close: Closing: C:\Users\Scott\AppData\Roaming\J River\Media Center 13\Temp\Analyze - 6060 (15).xml
0004602: 6060: Import: JRAnalyzer::AddFileJRWorkerExe: Finish (764 ms)
0004602: 6060: Import: JRAnalyzer::AddFile: Finish (826 ms)
0004602: 6060: Import: JRAnalyzer::AddFile: Finish (842 ms)
0004618: 6060: Import: JRAnalyzer::Open: Finish (858 ms)
0004618: 6060: Database: CMediaDatabase::AddFile: JRAnalyzer::Open returned
0004618: 6060: Reader: CLocalReader::OpenInternal: Opening: C:\Users\Scott\Desktop\voice-message.wav
0004618: 6060: Reader: CLocalReader::Close: Closing: C:\Users\Scott\Desktop\voice-message.wav
0004649: 6060: Reader: CLocalReader::OpenInternal: Opening: C:\Users\Scott\AppData\Roaming\J River\Media Center 13\Library\links.xml
0004665: 6060: Reader: CLocalReader::Close: Closing: C:\Users\Scott\AppData\Roaming\J River\Media Center 13\Library\links.xml
0004665: 6060: Database: CMJSearchHelper::GetResults: Search: [Media Type]=[Audio],[Video]; Elapsed ms: 0.141
0004680: 6060: Database: CMJSearchHelper::GetResults: Search: [Media Type]=[Audio]; Elapsed ms: 0.107
0004680: 6060: Database: CMJSearchHelper::GetResults: Search: [Media Type]=[Video]; Elapsed ms: 0.071
0006084: 6060: General: CMCResourceHelper::GetIsModalPopupShowing: Menu showing
0007364: 6060: General: CMCResourceHelper::GetIsModalPopupShowing: Menu showing
0008986: 6060: General: CMCResourceHelper::GetIsModalPopupShowing: Main window disabled
0008986: 6060: General: RunProgram: Start
0008986: 6060: General: RunProgram: Filename: C:\Users\Scott\AppData\Roaming\J River\Media Center 13\Log.txt / Parameters:
0008986: 6060: General: RunProgram: Performing ShellExecute...
0009017: 6060: General: RunProgram: Running process...
0009017: 6060: General: RunProgram: Finish (31 ms)

And "Analyze - 6060 (15).xml" contains:
Code: [Select]
<XMLPH version="1.0">
<Item Name="Sample Rate">8000</Item>
<Item Name="File Type">wav</Item>
<Item Name="Bitrate">64</Item>
<Item Name="Bit Depth">8</Item>
<Item Name="Duration">23</Item>
<Item Name="Media Type">Audio</Item>
<Item Name="Channels">1</Item>
</XMLPH>

Any ideas?  A search of the forums hasn't let me to any hints.
Title: Re: Can't Play Voicemail WAV Files
Post by: JimH on January 31, 2009, 08:06:12 am
I remember the problem.  I don't remember a solution.  The WAV files aren't standard WAV files.  They are a low bitrate file but called WAV.

Try a google search.  Maybe there is a DirectShow filter.

There is an article at Wikipedia that explains more about compressed WAV.
Title: Re: Can't Play Voicemail WAV Files
Post by: Alex B on January 31, 2009, 11:04:29 am
Here's the old thread:

http://yabb.jriver.com/interact/index.php?topic=36680.0
Title: Re: Can't Play Voicemail WAV Files
Post by: IlPadrino on February 01, 2009, 09:54:45 am
OK...  This may have been helpful in pointing me in the right direction (though the solution is still pending!)

I looked at the file with GSpot and it reports a MULAW codec which is *not* installed.  According to http://en.wikipedia.org/wiki/Mulaw (http://en.wikipedia.org/wiki/Mulaw)
Quote
The µ-law algorithm (often u-law, ulaw, mu-law, pronounced /mjuː/) is a companding algorithm, primarily used in the digital telecommunication systems of North America and Japan.

I see that G.711 supports MULAW, so I need to find codec/filter for either MULAW or G.711.

Any idea why WMP can play the file just fine?
Title: Re: Can't Play Voicemail WAV Files
Post by: IlPadrino on February 01, 2009, 11:11:13 am
OK...  I give up...  WMP works fine.  MC13 doesn't.  GSpot says the codec is missing.  I installed the codec (from http://codec.alshow.co.kr/page/en/g711.htm (http://codec.alshow.co.kr/page/en/g711.htm) and GSpot lists

Code: [Select]
ACM FmtTag: 0x0007    Microsoft CCITT G.711 (A-Law and u-Law) CODEC for MSACM msacm.msg711 0x00600000 quartz.dll --> msg711.acm

K-lite Coded Tweak Tool (CodecTweakTool228) shows G.711 as a directshow filter that seems to be working fine.

What else should I try?
Title: Re: Can't Play Voicemail WAV Files
Post by: Yaobing on February 02, 2009, 10:48:29 am
What else should I try?

Tools -> Options -> File Types

Select Wav in Audio section.  Select "JRiver audio engine (using DirectShow)" from the Playback Method drop-down list at the bottom.
Title: Re: Can't Play Voicemail WAV Files
Post by: IlPadrino on February 04, 2009, 04:26:34 am
Tools -> Options -> File Types

Select Wav in Audio section.  Select "JRiver audio engine (using DirectShow)" from the Playback Method drop-down list at the bottom.

Still gets the "There is nothing to play" message.
Title: Re: Can't Play Voicemail WAV Files
Post by: Alex B on February 04, 2009, 04:55:09 am
Hi IlPadrino,

Now that you have the codec installed can GSpot also play the file when you click the number 2 button in "MS A/V" ?

I downloaded the G.711 codec from your link, but I don't have anything to test it with. (I can't find my old sample files and my current telephone company does not provide such a service.)

Could you post a small sample file? You can attach a zipped wave file to a reply. (Click the Additional Options... text to access the Attach dialog when replying.)

EDIT

I have actually archived some old memorable voicemail files. Back then I converted them to uncompressed wave files with dBpoweramp. The converted files are universally playable and not significantly bigger than the compressed a-law files were (a-Law is the European variation of u-law). This is what MC reports about them:
Quote
Uncompressed Audio File (PCM)
8.0 kHz, 8 bit, 1 ch
Title: Re: Can't Play Voicemail WAV Files
Post by: glynor on February 04, 2009, 07:57:37 am
Here's one:

http://www.geocities.com/ri0n/mc/voice-message.zip
Title: Re: Can't Play Voicemail WAV Files
Post by: Yaobing on February 04, 2009, 04:27:03 pm
Thanks Alex and glynor for your help.

The problem is fixed in the next build.
Title: Re: Can't Play Voicemail WAV Files
Post by: Alex B on February 04, 2009, 04:30:18 pm
I was about to reply that I couldn't make it work (i.e. couldn't play glynor's sample), but obviously you noticed the same.  :)
Title: Re: Can't Play Voicemail WAV Files
Post by: IlPadrino on February 07, 2009, 08:09:44 am
Guys (Alex and glynor)...  thanks for the interest and help.

Yaobing:  Thanks for the solution - the files play just fine now!

All's well that ends well (though I wish I hadn't spent hours trying to fix a problem I was convinced was something wrong with me).  It really is amazing how quickly bugs get fixed with Media Center.  I can't think of any other developer (other than some open source projects) that can beat JRiver in this department.