Jump to content

ServerWMC Can't Play Audio Only Channels?


theniteow1

Recommended Posts

krustyreturns

@@theniteow1

 

@@ebr figured out where the multi-stream open problem comes from and has fixed it in the beta release of his ftv app.  I have been using it today and it definitely solves that problem.  Whether it solves your audio-only problem I can't say.  You may want to consider requesting to become a beta tester for it so you can try it out.

 

http://emby.media/community/index.php?/topic/24350-android-open-beta-testing/

Link to comment
Share on other sites

theniteow1

@@theniteow1

 

@@ebr figured out where the multi-stream open problem comes from and has fixed it in the beta release of his ftv app.  I have been using it today and it definitely solves that problem.  Whether it solves your audio-only problem I can't say.  You may want to consider requesting to become a beta tester for it so you can try it out.

 

http://emby.media/community/index.php?/topic/24350-android-open-beta-testing/

 

@@krustyreturns @@ebr thank you gentlemen!  I am a beta tester!  I will play with this tomorrow, and let you know the results.  Thanks so much for all your efforts.

Edited by theniteow1
Link to comment
Share on other sites

theniteow1

Initially I am getting the same results, but I need to experiment more to be sure.  I've noticed on the newer version of the Emby Fire TV App I get a green screen a lot with Live TV, and every time it hiccups, and stops, it creates another streaming instance in ServerWMC.  I'm going to try it again tomorrow, and send some logs if I experience the same thing.

Link to comment
Share on other sites

theniteow1

@@krustyreturns Ok I tried it again this morning.  I started everything fresh.  One Fire TV that is using 1.46 streamed just fine, the other Fire TV that is on the latest beta, initially starts working fine, but keeps generating streams over and over again.  Not sure what is causing this, but it eventually crashes ServerWMC.  Here are the logs.

ServerWMC.2.log

Link to comment
Share on other sites

krustyreturns

Weird.  Is there a newer beta than .46?  .46 has the fix so that it works makes sense, what version is the later?

Link to comment
Share on other sites

theniteow1

Weird.  Is there a newer beta than .46?  .46 has the fix so that it works makes sense, what version is the later?

 

It maybe 1.2.44, but I will have to check tonight.  So you say 1.2.46 is the latest and greatest?

Link to comment
Share on other sites

krustyreturns

Yes, the fix is only in .46.  I assume newer revs will have this fix too, but last I checked .46 was the newest beta.

Link to comment
Share on other sites

theniteow1

@@krustyreturns I played with this all weekend.  I can only seem to get the latest version to be at 1.2.44a.  It is dated the 09/15/2016.  On this version it still crashes for me.  Here is the logs from this morning.  As you can see from the logs, at some point it just keeps creating streams over and over again.  Eventually crashing ServerWMC all together.  I unfortunately can't upload the entire logs right now, for some reason it says I have exceeded the alotted space.  Even though I have compressed it.  Sorry!

 

2016/09/19 07:21:46.188 Received client request: MediaBrowser^@MCSERVER@|::1|GetTimers
2016/09/19 07:21:46.188 GetTimersCached> Cached timers[6] returned to 'Emby^MCSERVER' in 0.00 sec
2016/09/19 07:21:46.198 Finished request GetTimers in 0.01s
2016/09/19 07:21:46.208 Received client request: MediaBrowser^@MCSERVER@|::1|GetTranscodeProfiles|31159
2016/09/19 07:21:46.208 Finished request GetTranscodeProfiles in 0.00s
2016/09/19 07:21:46.328 Received client request: MediaBrowser^@MCSERVER@90|::1|OpenLiveStream|31159|IncludeStreamInfo|
2016/09/19 07:21:46.328 OpenLiveStream> -----------------start------------------------
2016/09/19 07:21:46.328 OpenLiveStream> transcode profile will be set to: none
2016/09/19 07:21:46.328 OpenLiveStream> client: Emby^MCSERVER requesting live stream on channel Fox News Channel HDTV/583
2016/09/19 07:21:46.328 GetLinearStream> Stream used: ID:33 (eng) ac3 5.1 48000 Hz 384 kb/s
2016/09/19 07:21:46.328 WaitUntilTrueOrTimeout> remux data found
2016/09/19 07:21:47.098 WriteChunk> first output file write occurred
2016/09/19 07:21:47.118 VideoFileStream::Close> url read file closed.
2016/09/19 07:21:47.128 AddStreamToRemux> MuxOutput filter added for: Emby^MCSERVER^90, file: LiveTV_Emby^MCSERVER^90_Digital Cable_583_2016_09_19_07_21_46.ts
2016/09/19 07:21:47.128 AddStreamToRemux> ts file size: 131,072
2016/09/19 07:21:47.128 OpenLiveStream> stream path returned to client: http://192.168.1.12:9180/serverwmc.stream/StreamRemuxFile?clientName=Emby%5eMCSERVER%5e90
2016/09/19 07:21:47.128 StreamInfo returned: 
2016/09/19 07:21:47.128  >  Type: Audio> Index: 0, Codec: ac3, Bitrate: 384.00 kbps, SampleRate: 48.00 ksps, Channels: 6, Layout: 5.1
2016/09/19 07:21:47.128  >  Type: Video> Index: 1, Codec: mpeg2video, Bitrate: (8.54) mbps, Framerate: 60 fps, Width: 1280, Height: 720, Profile: MP, Level: 
2016/09/19 07:21:47.128 OpenLiveStream> -----------------done-------------------------
2016/09/19 07:21:47.128 Finished request OpenLiveStream in 0.80s
2016/09/19 07:21:47.198 Received client request: MediaBrowser^@MCSERVER@|::1|GetTranscodeProfiles|31159
2016/09/19 07:21:47.198 Finished request GetTranscodeProfiles in 0.00s
2016/09/19 07:21:47.248 Received client request: MediaBrowser^@MCSERVER@91|::1|OpenLiveStream|31159|IncludeStreamInfo|
2016/09/19 07:21:47.248 OpenLiveStream> -----------------start------------------------
2016/09/19 07:21:47.248 OpenLiveStream> transcode profile will be set to: none
2016/09/19 07:21:47.248 OpenLiveStream> client: Emby^MCSERVER requesting live stream on channel Fox News Channel HDTV/583
2016/09/19 07:21:47.258 GetLinearStream> Stream used: ID:33 (eng) ac3 5.1 48000 Hz 384 kb/s
2016/09/19 07:21:47.258 AddMuxOutput> error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Remuxer.muxer.PacketBuffer.addRegulator(PacketBufferRegulatorI regulator)
   at Remuxer.muxer.ts.TsPesMuxer.init()
   at Remuxer.Remux.AddMuxOutput(String clientName, String fileFullName)
2016/09/19 07:21:47.258 AddStreamToRemux> failed for clientName
2016/09/19 07:21:47.258 OpenLiveStream> error: System.Exception: GetMuxOutput> error: filter not found for client: Emby^MCSERVER^91
   at Remuxer.Remux.GetMuxOutput(String clientName)
   at Remuxer.Remux.OutFullFileName(String clientName)
   at ServerWMC.Worker.RecService.OpenLiveStream(FrontEndClient client, String[] args, Boolean calledByWcf)
2016/09/19 07:21:47.258 Finished request OpenLiveStream in 0.01s
2016/09/19 07:21:47.338 Parse> Exception: Index was outside the bounds of the array.
2016/09/19 07:21:47.338 Parse>   Pass Type: Remux
2016/09/19 07:21:47.338 Parse>   Guid count: 236,017  (Min:500 - Max:2,000)
2016/09/19 07:21:47.338 Parse>   Header: Guid: DATA_GUID, len: 28846, pad 2, sId: 34, WtvCnt: 52376, isValid: True
2016/09/19 07:21:47.338 Parse>   re-throwing exception
2016/09/19 07:21:47.338 Remux> error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Remuxer.demux.microsoft.WtvToPesDemuxer.parse(JobStreamI jobStm, MuxManager muxManager)
   at Remuxer.muxer.MuxManager.mux(JobStreamI stream)
   at Remuxer.Remux.Start(String clientName, String outFullFileName)
2016/09/19 07:21:47.338 WriteChunk> first output file write occurred
2016/09/19 07:21:47.388 Remux> requesting E:\Recorded TV\TempSWMC\LiveTV_Emby^MCSERVER^72_Digital Cable_583_2016_09_19_07_14_24.wtv be saved from deletion
2016/09/19 07:21:47.388 Remux> ENDED, >>>>>>>>>> Run Time: 7.33 min <<<<<<<<<<
2016/09/19 07:21:48.028 VideoFileStream> video stream created for: E:\Recorded TV\TempSWMC\LiveTV_Emby^MCSERVER^90_Digital Cable_583_2016_09_19_07_21_46.ts
2016/09/19 07:21:48.028 VideoFileStream> first read occurred
2016/09/19 07:22:16.618 VideoFileStream> closing stream due to inactivity, file: 'E:\Recorded TV\TempSWMC\LiveTV_Emby^MCSERVER^90_Digital Cable_583_2016_09_19_07_21_46.ts', inactive: 28.5800394 sec
2016/09/19 07:22:16.618 VideoFileStream::Close> url read file closed.
2016/09/19 07:22:16.628 VideoFileStream::Close> url read file closed.
2016/09/19 07:22:17.708 Received client request: MediaBrowser^@MCSERVER@90|::1|CloseLiveStream
2016/09/19 07:22:17.708 CloseStream> -----------------start------------------------
2016/09/19 07:22:17.708 RemoveMuxOutput> error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Remuxer.muxer.PacketBuffer.removeRegulator(PacketBufferRegulatorI regulator)
   at Remuxer.muxer.ts.TsPesMuxer.RemoveRegulator()
   at Remuxer.muxer.MuxManager.remove(MuxFilter muxer)
   at Remuxer.Remux.RemoveMuxOutput(String clientName)
2016/09/19 07:22:17.708 RemoveMultiStreamOutput> MuxFilter removal failed for Emby^MCSERVER^90
2016/09/19 07:22:17.708 Close> closed stream for client: Emby^MCSERVER^90
2016/09/19 07:22:17.708 CloseStream> -----------------done-------------------------
2016/09/19 07:22:17.708 Finished request CloseLiveStream in 0.00s
2016/09/19 07:22:18.028 Received client request: MediaBrowser^@MCSERVER@|::1|GetTimers
2016/09/19 07:22:18.028 GetTimersCached> Cached timers[6] returned to 'Emby^MCSERVER' in 0.00 sec
2016/09/19 07:22:18.028 Finished request GetTimers in 0.00s
2016/09/19 07:22:31.628 PurgeFailedStreams> error: closing stream for client Emby^MCSERVER^91, client has not accessed it.
2016/09/19 07:22:31.628 Uncaught Thread Exception: System.Exception: GetMuxOutput> error: filter not found for client: Emby^MCSERVER^91
   at Remuxer.Remux.GetMuxOutput(String clientName)
   at Remuxer.Remux.OutFullFileName(String clientName)
   at ServerWMC.Worker.LiveRemuxStream.RemoveMultiStreamOutput(String clientName)
   at ServerWMC.Worker.StreamBase.RemoveStream(String clientName)
   at ServerWMC.Worker.StreamBase.PurgeFailedClientStreams()
   at ServerWMC.Worker.Worker.<Init>b__2(Object stateObject)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()
2016/09/19 07:23:08.838 VideoFileStream> closing stream due to inactivity, file: 'E:\Recorded TV\TempSWMC\LiveTV_Emby^MCSERVER^69_Digital Cable_544_2016_09_19_06_57_08.ts', inactive: 35.6000491 sec
2016/09/19 07:23:08.838 VideoFileStream::Close> url read file closed.
2016/09/19 07:23:08.838 VideoFileStream::Close> url read file closed.
2016/09/19 07:23:08.868 WriteChunk> long interval between writes (ms): 35640
Edited by theniteow1
Link to comment
Share on other sites

krustyreturns

@@theniteow1,

 

To fix this requires @@ebr's change to his app, and that change is in the beta .46.  There is nothing I can do from the serverwmc plugin to fix it.  His beta is a separate app (it has 'test' written on the app icon).   

Edited by krustyreturns
Link to comment
Share on other sites

theniteow1

@@theniteow1,

 

To fix this requires @@ebr's change to his app, and that change is in the beta .46.  There is nothing I can do from the serverwmc plugin to fix it.  His beta is a separate app (it has 'test' written on the app icon).   

 

I have that "test" icon, but it's only 1.2.44a for some reason.  I'll try removing it tonight and then redownloading it, not sure why it's not pushing.

Link to comment
Share on other sites

theniteow1

I have that "test" icon, but it's only 1.2.44a for some reason.  I'll try removing it tonight and then redownloading it, not sure why it's not pushing.

 

@krustryreturns @@ebr We have success!  I was able to download the latest beta today after removing Emby Test today, and it downloaded 1.2.49a.  I am happy to report no stuttering watching Live TV, and duplicate streams aren't created!  Great work guys!  Thank you so much for all the hard work, and working with me!

 

57e170bc1afe1_Direct_playing.png

  • Like 1
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...