Jump to content

BUG: Some channels don't have sound with latest version


stettler

Recommended Posts

stettler

Hello,

Since the upgrade to the 1236 version of ServerWMC, some live TV channels don't have sound anymore when casted to chromecast.

 

- Live TV directly in Android app or web app is normal and all channels have sound

- Some channels don't have sound when casted to Chromecast. It doesn't matter if the web app or android app is used to start the cast.

- Not all channels are affected. (maybe only those with multiple audio streams or something like that)

- When casting affected channels, the select audio stream button is not available (it probably think there is no audio stream)

 

Downgrading to to ServerWMC 1225 fix the problem.

ffmpeg.txt

server-log.txt

Edited by stettler
Link to comment
Share on other sites

Krusty - the audio codec in the reported media info is mp3, but based on the ffmpeg output it's actually mp2. So the server is stream copying the audio as-is because Chromecast supports mp3, but it ends up getting mp2 which it can't play.

Link to comment
Share on other sites

krustyreturns

@@Luke thanks for the info, that helps a lot.

 

@@stettler if you could, an example would really help me debug this.  Could you do me and do the following (you can stay on the older version of swmc).

 

1) in the swmc debug settings temporarily uncheck  'delete temporary stream files'

2) play the channel that had the no-audio problem.  after a couple of minutes stop playing it.

3) go to the tempswmc folder in your recorded tv folder and find the wtv file there

4) upload the file to here:  https://drive.google.com/drive/folders/0ByNnAMYBoWvfQVBBNzFhZmNPWUE?usp=sharing

5) remember to turn temp file deletion back on

 

if you do the above please send me a post here that the upload is complete.  Thanks.

Link to comment
Share on other sites

stettler

Hello,

I uploaded the file. I used the 1225 version but I can do it with the 1236 if you need.

 

I was thinking that it was ok with the 1225 version but it's not fully correct: I am getting sound but the "audio stream" selection button is greyed out. I noticed because it was playing the wrong language and I couldn't change it.

Link to comment
Share on other sites

krustyreturns

Thanks for the file, I'll get back to you soon with a fix that you will hopefully try.  

 

FYI on the language thing, I noticed in the file you gave me there are three audio tracks, two are French (5.1 and stereo).  And one track is marked English (stereo), however its not English - my best guess is German.

Link to comment
Share on other sites

stettler

Yeah, that's correct, the track that was playing was the German one. Normaly, by default, it should have been one of the French track. Also, in the app, the button to select audio track was not available so it was not possible to change.

 

I don't know if it's related or not but some time ago, I posted about a similar bug with Emby Theater: It was not playing the correct audio track by default (the one selected in the app). The button to change track was active and I could select another track but it would give me an error that there was no compatible audio track (or something like that). Stoping playning the TV channel and starting it again would then work with with the selected audio track. I was thinking it was a bug in Emby Theater but perhaps it's related to the problem with ServerWMC...

Edited by stettler
Link to comment
Share on other sites

krustyreturns

Do you have serverwmc set to only remux one language to the output (see the LiveTV tab)?   I don't have your serverwmc log so I can't tell.

Link to comment
Share on other sites

stettler

No, it's not selected. And I am pretty sure that it was working until not too long ago.

 

Also in Emby Theater (not the Windows 10 app), when I click on the "music note" of the OSD, I get the audio menu with, for example :

Eng MP3 Joint Stereo

Fre MP3 Joint Stereo

Fre Dolby Digital 5.1

 

My default language is french but, in that case, when I selected the channel, I got "Eng MP3 Joint Stereo" stream instead of the french one.

Then, in the menu, if I select one of the other stream (Fre MP3 Joint Stereo or Fre Dolby Digital 5.1  in that case), I get this error:

MessagePlaybackErrorNoCompatibleStream

 

Then, if I click "back" to go out of the TV channel and click on it again, it play correctly with the audio stream I selected.

 

So maybe the problem with the chromecast is related to that other problems with the multiple audio streams.

Edited by stettler
Link to comment
Share on other sites

stettler

Just for info: in the web client (using the Chrome browser), I don't get sound either with version 1236. But the button to select the stream isn't disable and if I click on it, I get this:

 

Fra MP3 Joint stereo (selected)

Eng MP3 Joint stereo

Fra Dolby Digital 5.1

 

If I select "Fra Dolby Digital 5.1", the audio is ok.

If I select "Eng MP3 Joint stereo", there is no audio

If I try to select "Fra MP3 Joint stereo", nothing happen and it isn't selected (the current audio track stay selected)

Link to comment
Share on other sites

stettler

Here is the logs with version 1236.

 

I used Chrome Browser in Windows 7.

I first started to play a channel. There was no audio.

 

The audio menu was showing:

Fra MP3 Joint Stereo (selected)

Fra Dobly Digital 5.1

Eng MP3 Joint Stereo

 

Then I changed to Fra Dobly Digital 5.1 and there was audio.

I tried to change to Fra MP3 Joint Stereo but that was not possible (when clicking on it, nothing happen and stay on FRA Dobly Digital)

Finally, I changed to Eng MP3 Joint Stereo and there was no audio.

 

server-0928.txt

ffmeg-default(Fra MP3 joint stereo).txt

ffmpeg-Fra Dolby Digital.txt

ffmpeg-Eng MP3 joint.txt

ServerWMC.log

Link to comment
Share on other sites

krustyreturns

@@stettler

 

When you can, try the new preview version of serverwmc 1238 and the new version of the serverwmc plugin (.72) on this audio problem.  If you still have the problem, post the serverwmc logs along with the emby logs.  Thanks.

Link to comment
Share on other sites

stettler

Hello,

Thanks! It seems to work better now. I can play all the audio stream from the web apps. But there is still a few problems (which may comes from the various apps or how the streams are "announced" by ServerWMC:

 

1. When casting to Chromecast (from web app, Android app,...), the button to select audio stream is not available so it's not possible to change the language.

 

2. The prefered language defined in the profile (web app, Emby Theater, ...) is ignored. Instead it seems to default to english (?) or random(?). I don't know if there is a "primary" language, or just a first one, defined in the TV stream but here if I play a channel, TVs will play french stream by default. But when using an Emby app, it seems to play the english stream by default. (If you then change language, I am not sure if it remember it and until when?)

 

3. In Emby Theater, I still get an error message when trying to change stream. Stoping playing the channel and starting it again will then play the selected audio stream correctly (I posted about that in the Emby Theater thread some time ago)

 

4. In Emby Theater, it's not possible to select the "Dobly Digital" audio stream: I give the error message, like in 3), but when starting again to play the TV channel, the "Dobly Digital" stream isn't selected. Instead, it plays the english one.

Link to comment
Share on other sites

krustyreturns

At least on (2) I can tell you that the serverwmc plugin (.72) now sets the default audio language according to what is set in serverwmc (1238) (see live-tv tab).  If the default language is different between serverwmc and emby settings I don't know which overrides, that's a question for the emby guys.

 

As to the other problems, I bet they will need to see the emby logs for starters.

Link to comment
Share on other sites

stettler

At least on (2) I can tell you that the serverwmc plugin (.72) now sets the default audio language according to what is set in serverwmc (1238) (see live-tv tab).  If the default language is different between serverwmc and emby settings I don't know which overrides, that's a question for the emby guys.

 

As to the other problems, I bet they will need to see the emby logs for starters.

 

Point 1) (can't select audio when cating to chromecast) must be releated to ServerWMC: with version 1225 of ServerWMC, it's possible to list and select the stream. But with version 1236, 1237 and 1238 it's not possible anymore: The button to select audio is just not available.

 

For point 2, I have "fre" defined as default language in ServerWMC but it still started playing some channels in english even if they had a "fre" audio stream (and fre was also defined in Emby app profile). But maybe the app "remember" the last setting used for a channel?

Link to comment
Share on other sites

krustyreturns

Windows streams (and therefor serverwmc) use 'fra' for french.

 

Yeah, that does make it sound like serverwmc is at fault if you used to have three languages in chrome cast.  I assume there is something wrong with the stream info serverwmc is sending.  So it would still help if you post the transcode log from emby, and probably the serverwmc log too, after you do a chromecast.

Link to comment
Share on other sites

krustyreturns

@@Luke,

 

Can you see why he is only able to play one audio stream with chromecast?  All three audio streams are getting input to ffmpeg with the proper codec now.

Link to comment
Share on other sites

krustyreturns

He says the button for switching the audio stream is not enabled.  I think as if there is only one audio stream.

Link to comment
Share on other sites

stettler

Yeah, the audio button is just disabled. It's the same if I try to cast to chromecast from the web app or from the Android app. If I don't try to cast, the button is enable (well it's not the same button) and it shows all the streams correctly.

 

In the web app, I can select audio stream:

inwebapp.jpg

 

But when casting, the button is disable:

chromecast.jpg

Edited by stettler
Link to comment
Share on other sites

krustyreturns

And it used to work right?  What version of emby are you running?  Could this be an emby beta issue @@Luke?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...