[solved] No sound on TV viewing (1 Viewer)

stephenv

Portal Member
December 31, 2013
23
8
62
Home Country
Canada Canada
Yesterday (Dec 30) I started my first install of MediaPortal 1.5 onto a Windows 7 Pro box. The install went fine, but as this is a system at uses a Colossus card and a digital cable set top box for tuning I was having some grief. By the end of the day all seemed to be working with the following two issues:

1. blasting was not working
2. there was no sound on the TV functions

Today (Dec 31) I went back to dig some more in the forums and noticed that MP 1.6 had been released. So I decided to install that (as an upgrade) to see if anything got fixed...

The upgrade went fine and with 1.6 the blasting is now working but still no audio. So I fired up WinTV 7 to check that audio worked in it and after that the blasting stopped working until I rebooted. After the reboot blasting has been working fine.

So now I have blasting but still no audio on both watching live TV and on watching a recording made with MediaPortal.

However, audio works fine on music and all my other recorded videos (typically avi or mkv containers).

When I checked the .ts files that MP recorded by playing them with VLC I found that they did record the audio. So the problem seems to be with the MediaPortal Client not playing audio from .ts files? Any suggestions on where to look?
 
Last edited:

stephenv

Portal Member
December 31, 2013
23
8
62
Home Country
Canada Canada
So now I have blasting but still no audio on both watching live TV and on watching a recording made with MediaPortal.

However, audio works fine on music and all my other recorded videos (typically avi or mkv containers).

When I checked the .ts files that MP recorded by playing them with VLC I found that they did record the audio. So the problem seems to be with the MediaPortal Client not playing audio from .ts files? Any suggestions on where to look?

I did a simple test this morning, I renamed one of the recordings by changing its file extension from ".ts" to ".mp4" and then when I played it through the Videos section of MP the audio worked. So it is something with how the MP Client is configuring sound for playback from .ts files.

I then stopped MP Client, deleted the old log files and started the Client up again and then:

1. played about 10 seconds of "E:\tv\MPRecordings\BBC World News America - 28 BBCWLD.ts" (and no sound was present), stopped this,
2. played "E:\tv\MPRecordings\Border Security - 93 NATGC - 2013-12-31.mp4" (which was a .ts file just renamed to a .mp4 file), got the correct audio

The log files for these tests are attached. The .ts files take a different course and cause the TsReader.log to get populated. The key issue appears to be around this point in the MediaPortal.log file (for the BBCWRLD.ts):

[2014-01-01 08:18:47,482] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Add codecs
[2014-01-01 08:18:47,686] [Log ] [MPMain ] [INFO ] - VMR9: added EVR Renderer to graph
[2014-01-01 08:18:47,695] [Error ] [MPMain ] [ERROR] - Failed filter: not found
[2014-01-01 08:18:47,700] [Error ] [MPMain ] [ERROR] - Failed filter: not found
[2014-01-01 08:18:47,703] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Render TsReader outputs

two errors appear. There doesn't appear to be an error in the TsReader.log file from about that time range:

[2014-01-01 08:18:47,482] [ 7dabf00] [1674] - open E:\tv\MPRecordings\BBC World News America - 28 BBCWLD - 2013-12-31.ts, isTimeshift:0, isUNC:0
[2014-01-01 08:18:47,775] [ 7dabf00] [1674] - audPin:CompleteConnect() ok, filter: ffdshow Audio Decoder
[2014-01-01 08:18:47,856] [ 7dabf00] [1674] - demux:GetVideoStreamType(), FPS from DTS/PTS = 59.940060, DTSdiff/PTSdiff/MPEG2 = 0.016678/0.016678/0.000000, DTS/PTS count = 10/10
[2014-01-01 08:18:47,859] [ 7dabf00] [1674] - audPin:CompleteConnect() ok, filter: LAV Audio Decoder
[2014-01-01 08:18:47,884] [ 7dabf00] [1674] - audPin:CompleteConnect() ok, filter: DivX AAC Decoder
[2014-01-01 08:18:47,899] [ 7dabf00] [1674] - audPin:CompleteConnect() ok, filter: MONOGRAM AAC Decoder
[2014-01-01 08:18:47,925] [ 7dabf00] [1674] - audPin:CompleteConnect() ok, filter: ArcSoft Audio Decoder HD
[2014-01-01 08:18:47,929] [ 7dabf00] [1674] - audPin:CompleteConnect() ok, filter: Microsoft DTV-DVD Audio Decoder
[2014-01-01 08:18:47,976] [ 7dabf00] [1674] - vidPin:CompleteConnect() ok, filter: ffdshow Video Decoder
[2014-01-01 08:18:48,029] [ 7dabf00] [1674] - vidPin:CompleteConnect() ok, filter: LAV Video Decoder
[2014-01-01 08:18:48,170] [ 7dabf00] [1674] - vidPin:CompleteConnect() ok, filter: DivX H.264 Decoder
[2014-01-01 08:18:48,420] [ 7dabf00] [1674] - vidPin:CompleteConnect() ok, filter: ArcSoft Video Decoder
[2014-01-01 08:18:48,440] [ 7dabf00] [1674] - vidPin:CompleteConnect() ok, filter: Microsoft DTV-DVD Video Decoder
[2014-01-01 08:18:48,674] [ 7dabf00] [1674] - CTsReaderFilter::pause() - IsTimeShifting = 0 - state = 0
[2014-01-01 08:18:48,674] [ 7dabf00] [ c38] - audPin:OnThreadStartPlay(0.000000), rate:1.00, threadID:0xc38, GET_TIME_NOW:0x400004b9

If you look at the way that .mp4 playback is handled, the lines after the VMR9 message are a bit different and don't show any errors:

[2014-01-01 08:19:11,167] [Log ] [MPMain ] [INFO ] - VideoPlayer:play E:\tv\MPRecordings\Border Security - 93 NATGC - 2013-12-31.mp4
[2014-01-01 08:19:11,180] [Log ] [MPMain ] [INFO ] - VideoPlayer9: Enabling DX9 exclusive mode
[2014-01-01 08:19:11,180] [Log ] [MPMain ] [INFO ] - Main: GUI_MSG_SWITCH_FULL_WINDOWED message is obsolete.
[2014-01-01 08:19:11,342] [Log ] [MPMain ] [INFO ] - VMR9: added EVR Renderer to graph
[2014-01-01 08:19:11,411] [Log ] [MPMain ] [INFO ] - VideoPlayer9: found H264 video out pin
[2014-01-01 08:19:11,413] [Log ] [MPMain ] [INFO ] - Added filter: LAV Video Decoder to graph
[2014-01-01 08:19:11,413] [Log ] [MPMain ] [INFO ] - DirectShowUtils: First try to insert new audio renderer Default DirectSound Device
[2014-01-01 08:19:11,414] [Log ] [MPMain ] [INFO ] - DirectShowUtils: Found audio renderer

Regards,

Stephen
 

stephenv

Portal Member
December 31, 2013
23
8
62
Home Country
Canada Canada
Thanks for the tip, all the settings in this area were still at their default, but I noticed that the:

"Use Video Codecs when playing .ts files (TV Codecs will be used if unchecked)"

option (in the Video Codecs tab) was not checked. Seeing this was the only thing that looked like it might be relevant to the .ts files I checked it and restarted MP Client.

Now the sound works correctly! TV with sound, what a concept :)

Thanks,

Stephen
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Excellent. :)

    I note you shouldn't have to tick that "use video codecs..." option. The defaults (presumably LAV) may have shown as selected in the UI, but they weren't saved. Hence the problem.
     

    Users who are viewing this thread

    Top Bottom