NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 2 3 4 5 6 … 93 Next »
Problems with Windows UWP App

 
  • 0 Vote(s) - 0 Average
Problems with Windows UWP App
spitefulgod
Offline

Junior Member

Posts: 4
Threads: 2
Joined: Nov 2016
#1
2016-11-26, 10:08 PM
Hi all, first time poster,

Both my parents are blind and relied heavily on WMC for controlling their TV, Music and Videos, unfortunately windows BTFO'd WMC and killed Zune so I've installed Kodi as a stop gap with VoxCommando. This isn't great and although you can control aspects with your voice the narration of content is non existent, so I've whipped up my own windows app that allows full voice control and narration of both the Plex service and the Groove Music service. I've just come to sort the TV side out and have got the EPG and channel narration and navigation down using the Next APIs but I'm having issues displaying the actual channel, I've hit the API and got the URL for the channel and this displays fine in an external player like VLC but when I pass that to the inbuilt MediaElement in windows it states it's not a supported format (works fine with Plex's TS format).

Has anyone had any experience in getting this to work???

If this is a non fixable issue I've noticed there is a transcode API, is there any documentation on this to start a transcoding stream and retrieve the URL for display?

I prefer to use Rest APIs than any SDKs.

Any and all help is appreciated.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2016-11-26, 10:16 PM
Quote:Hi all, first time poster,

Both my parents are blind and relied heavily on WMC for controlling their TV, Music and Videos, unfortunately windows BTFO'd WMC and killed Zune so I've installed Kodi as a stop gap with VoxCommando. This isn't great and although you can control aspects with your voice the narration of content is non existent, so I've whipped up my own windows app that allows full voice control and narration of both the Plex service and the Groove Music service. I've just come to sort the TV side out and have got the EPG and channel narration and navigation down using the Next APIs but I'm having issues displaying the actual channel, I've hit the API and got the URL for the channel and this displays fine in an external player like VLC but when I pass that to the inbuilt MediaElement in windows it states it's not a supported format (works fine with Plex's TS format).

Has anyone had any experience in getting this to work???
I'm pretty sure Microsoft's MediaElement is very limited, and I think it can only play play H.264/AAC. Broadcast TV typically uses a lot more codecs than that, so probably just a case of MediaElement being unable to play the stream.

Quote:If this is a non fixable issue I've noticed there is a transcode API, is there any documentation on this to start a transcoding stream and retrieve the URL for display?
There probably isn't much you can do about making MediaElement play other formats.

You could look at other player components (as mentioned when another user asked the question at http://stackoverflow.com/questions/35696...ment-codec)

Alternatively, you could try using urls like http://127.0.0.1:8866/transcode?channel=...trate=6000, which will force transcoding of the live stream (albeit giving you much slower channel changes etc).
spitefulgod
Offline

Junior Member

Posts: 4
Threads: 2
Joined: Nov 2016
#3
2016-11-26, 10:29 PM
Thanks for your prompt reply, I'll give the FFmpegInterop a shot in the morning, regarding distribution of software reliant on next pvr is there any branding protocol for releases?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#4
2016-11-26, 10:34 PM
spitefulgod Wrote:regarding distribution of software reliant on next pvr is there any branding protocol for releases?
I don't require any specific branding to be shown, but you should clearly indicate it's using NextPVR, and not try to hide that fact.

NextPVR itself is only intended for private, non-commercial use, and can't be distributed by other parties.

I'm happy for other non-commerical software to make use of NextPVR service, like Kodi and Emby, and other 3rd party clients people have made freely available. If it's anything outside that type of use, you'd need to talk to me via PM to let me know exactly what you're wanting to do.
spitefulgod
Offline

Junior Member

Posts: 4
Threads: 2
Joined: Nov 2016
#5
2016-12-15, 08:35 PM
sub Wrote:I'm pretty sure Microsoft's MediaElement is very limited, and I think it can only play play H.264/AAC. Broadcast TV typically uses a lot more codecs than that, so probably just a case of MediaElement being unable to play the stream.

There probably isn't much you can do about making MediaElement play other formats.

You could look at other player components (as mentioned when another user asked the question at http://stackoverflow.com/questions/35696...ment-codec)

Alternatively, you could try using urls like http://127.0.0.1:8866/transcode?channel=...trate=6000, which will force transcoding of the live stream (albeit giving you much slower channel changes etc).


The MS FFMpegInterop worked perfectly BTW when I got around to implementing it.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows FM Radio support in v5. mvallevand 125 25,870 2023-01-29, 08:13 PM
Last Post: mvallevand
  Any ideas about programming for Windows Firewall? bgowland 4 5,547 2014-04-10, 09:05 AM
Last Post: bgowland
  Key press problems imilne 13 4,801 2013-01-02, 04:05 PM
Last Post: imilne
  Plugin problems with started from the command line mvallevand 11 4,930 2012-08-12, 07:56 PM
Last Post: sub
  Windows Shortcuts ACTCMS 4 2,683 2012-03-24, 12:22 AM
Last Post: mvallevand
  Creating a Windows service McBainUK 8 3,332 2011-03-30, 03:29 AM
Last Post: mvallevand
  Using Windows file system shortcuts ACTCMS 0 1,776 2010-01-26, 11:45 PM
Last Post: ACTCMS
  Windows Media Connect - Storing stuff on a Home Server psycik 3 2,636 2009-09-29, 03:47 AM
Last Post: mvallevand
  problems with screen updates from ActivateItem InVermont 2 1,694 2009-03-12, 04:45 PM
Last Post: InVermont
  Launch windows screensaver McBainUK 4 2,293 2008-07-31, 11:03 AM
Last Post: Reddwarf

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode