Jump to content

Live TV tester needed


Luke

Recommended Posts

krustyreturns

Yeah, that's it, thanks..  Thanks for posting the log too.  @@Luke, so swmc is detecting that the tuner can transcode, but mbs is not setting a profile when it opens the dlna channel.  Maybe I don't remember how this works, but isn't emby supposed to set one of the transcode profiles that swmc returns?

Link to comment
Share on other sites

Yeah, that's it, thanks..  Thanks for posting the log too.  @@Luke, so swmc is detecting that the tuner can transcode, but mbs is not setting a profile when it opens the dlna channel.  Maybe I don't remember how this works, but isn't emby supposed to set one of the transcode profiles that swmc returns?

 

yea we're calling the GetChannelMediaSources method and then logging the result. In one of econ's earlier logs all I see is one media source coming out of that:

LiveTvMediaSourceProvider: MediaSources: [{"Protocol":"Http","Id":"9577118a6ac7f11135196e240593d58e","Type":"Default","Name":"WPXIDT","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":true,"OpenToken":"LiveTvChannel|9577118a6ac7f11135196e240593d58e","RequiresClosing":false,"BufferMs":1500,"MediaStreams":[],"PlayableStreamFileNames":[],"Formats":[],"RequiredHttpHeaders":{}}]
Link to comment
Share on other sites

krustyreturns

Its been so long I forgot, this transcode profile stuff was added after the last release of serverwmc.  @@econ, I pm'd you a link of where to get a test build that supports it.

Link to comment
Share on other sites

Its been so long I forgot, this transcode profile stuff was added after the last release of serverwmc.  @@econ, I pm'd you a link of where to get a test build that supports it.

 

Not sure if you saw this...

 

http://stuff.purdon.ca/?page_id=393

 

But you might as well use those resolutions and bitrates. Maybe use that number for the video stream and then dummy up 128000 (128k) for the audio stream.

Link to comment
Share on other sites

econ

New version of swmc installed.

 

Here is the line in embys log:

2015-05-14 12:20:14.6857 Debug - LiveTvMediaSourceProvider: MediaSources: [{"Protocol":"Http","Id":"9577118a6ac7f11135196e240593d58e","Type":"Default","Name":"WPXIDT","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":true,"OpenToken":"LiveTvChannel|9577118a6ac7f11135196e240593d58e","RequiresClosing":false,"BufferMs":1500,"MediaStreams":[],"PlayableStreamFileNames":[],"Formats":[],"RequiredHttpHeaders":{}}]
2015-05-14 12:20:14.7057 Debug - App: Profile: Unknown Profile, Path: Unknown path, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
2015-05-14 12:20:14.7107 Debug - App: Profile: Unknown Profile, Path: Unknown path, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
Link to comment
Share on other sites

krustyreturns

@@econ, can you post the serverwmc log too for the log you posted above?  Thanks.

Link to comment
Share on other sites

krustyreturns

Thank econ.  @@Luke, based on the log above, swmc is getting a channel id that it can't match when emby calls GetChannelStreamMediaSources .  This is what swmc shows in its log:

 

2015/05/14 12:20:14.680 Received client request: MediaBrowser^@MEDIA-PC@|::1|GetTranscodeProfiles|9577118a6ac7f11135196e240593d58e
2015/05/14 12:20:14.680 GetTranscodeProfiles> error: bad channel ID: 9577118a6ac7f11135196e240593d58e
 
the value after GetTranscodeProfiles is the channel ID, but the channel ids swmc gives to emby when it requests channels are string representations of 32 bit numbers, so I don't know where this crazy long channelID came from in the call to GetChannelStreamMediaSources.
Link to comment
Share on other sites

There's a dev server build up with the fix. If anyone would like to help move this along, please grab that and retest. Thanks.

Link to comment
Share on other sites

drakus72

I am currently running 2 HDHR4-2US, and a HDTC-2US on order.

 

From what I have read, the HDHR4-2US (AKA Connect former Dual) does not transcode but the HDTC-2US (AKA Extend former PLUS) does. Not sure of Prime since I do not have cable any where near my house.

 

If you want help with the HDHR4-2US I will be more than happy to help and provide logs until I get the HDTC-2US in.

Link to comment
Share on other sites

krustyreturns

You'll need a test build of serverwmc to test it when the new tuner arrives.  I will pm you a link.

  • Like 1
Link to comment
Share on other sites

drakus72

Thank you, will test it tonight when I get home from work and do my husbandly duties for the wifey. Got the new tuner delivered today.

Link to comment
Share on other sites

krustyreturns

Thanks.  But remember its only worth testing on the tuner that has transcode capability.

Link to comment
Share on other sites

drakus72

Thank you, will test it tonight when I get home from work after i do my husbandly duties for the wifey. Got the new tuner delivered today as well.

Link to comment
Share on other sites

econ

Running latest dev here is the serverwmc log:

2015/05/15 18:30:16.823 OpenLiveStream> -----------------start------------------------
2015/05/15 18:30:16.828 OpenLiveStream> transcode profile will be set to: none
2015/05/15 18:30:16.828 OpenLiveStream> client: MediaBrowser^USER-PC requesting live stream on channel WPXIDT/11.1
2015/05/15 18:30:16.833 LiveDlnaStream> live-tv dlna started
2015/05/15 18:30:16.913 LiveDlnaStream> DLNA device: 192.168.1.14 / 1050B4EE, has a tuner available, stopping search
2015/05/15 18:30:16.918 LiveDlnaStream> DLNA address set: http://192.168.1.14:5004/auto/v11.1?transcode=none
2015/05/15 18:30:16.918 LiveDlnaStream> total time: 0.09 sec
2015/05/15 18:30:16.918 OpenLiveStream> stream path returned to client: http://192.168.1.14:5004/auto/v11.1?transcode=none
2015/05/15 18:30:16.918 OpenLiveStream> -----------------done-------------------------
2015/05/15 18:30:16.983 Finished request OpenLiveStream in 0.17s
2015/05/15 18:30:28.313 Received client request: MediaBrowser^@USER-PC@|192.168.1.19|GetTranscodeProfiles|35496
2015/05/15 18:30:28.383 Finished request GetTranscodeProfiles in 0.07s
2015/05/15 18:31:45.233 Received client request: MediaBrowser^@USER-PC@1|192.168.1.19|CloseLiveStream

...and emby log

log.txt

Link to comment
Share on other sites

krustyreturns

Thanks.  @@Luke it looks like GetChannelStreamMediaSources is working now.  But when @@econ opened the live stream I don't think a transcode ID was passed into GetChannelStream.  

 

Side note:

Econ (or anyone else), I put in a hack to force a transcode profile just for debugging.  If you want to try it, in the swmc plugin settings, in the linux path field, append a '|' character and then the name of a transcode profile, like 'heavy'.  For example just enter:

|heavy

in the linux path field.  This will should force a heavy transode profile on all live streams opened from then on.

Link to comment
Share on other sites

Running latest dev here is the serverwmc log:

2015/05/15 18:30:16.823 OpenLiveStream> -----------------start------------------------
2015/05/15 18:30:16.828 OpenLiveStream> transcode profile will be set to: none
2015/05/15 18:30:16.828 OpenLiveStream> client: MediaBrowser^USER-PC requesting live stream on channel WPXIDT/11.1
2015/05/15 18:30:16.833 LiveDlnaStream> live-tv dlna started
2015/05/15 18:30:16.913 LiveDlnaStream> DLNA device: 192.168.1.14 / 1050B4EE, has a tuner available, stopping search
2015/05/15 18:30:16.918 LiveDlnaStream> DLNA address set: http://192.168.1.14:5004/auto/v11.1?transcode=none
2015/05/15 18:30:16.918 LiveDlnaStream> total time: 0.09 sec
2015/05/15 18:30:16.918 OpenLiveStream> stream path returned to client: http://192.168.1.14:5004/auto/v11.1?transcode=none
2015/05/15 18:30:16.918 OpenLiveStream> -----------------done-------------------------
2015/05/15 18:30:16.983 Finished request OpenLiveStream in 0.17s
2015/05/15 18:30:28.313 Received client request: MediaBrowser^@USER-PC@|192.168.1.19|GetTranscodeProfiles|35496
2015/05/15 18:30:28.383 Finished request GetTranscodeProfiles in 0.07s
2015/05/15 18:31:45.233 Received client request: MediaBrowser^@USER-PC@1|192.168.1.19|CloseLiveStream

...and emby log

 

can you supply the full log please?

Link to comment
Share on other sites

Thanks.  @@Luke it looks like GetChannelStreamMediaSources is working now.  But when @@econ opened the live stream I don't think a transcode ID was passed into GetChannelStream.  

 

Side note:

Econ (or anyone else), I put in a hack to force a transcode profile just for debugging.  If you want to try it, in the swmc plugin settings, in the linux path field, append a '|' character and then the name of a transcode profile, like 'heavy'.  For example just enter:

|heavy

in the linux path field.  This will should force a heavy transode profile on all live streams opened from then on.

 

Based on what i see so far, let's do the following:

 

- without a known audio codec, none of the clients will ever direct play except those on an htpc. We generally know they're going to be either ac3 or aac, so let's dummy them all to ac3, since anything that can play ac3 can play aac.

 

- then we need to set bitrates. i would set the bitrate of all the audio streams to 128000. Then use the link i gave you which lists the total bitrates. set the bitrate of each video stream to (total - 128000).

 

- set all of the h264 video streams to profile "high" and level 41...except for the mobile stream, set those values to "baseline" and 3.

 

With those changes in place, we have a pretty good shot of getting the android mobile, android tv and fire tv app to direct play. and roku although i might have to push out a small update.

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...