NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC X-NEWA v
« Previous 1 2 3 4 5 … 13 Next »
knewc transcoding issues

 
  • 0 Vote(s) - 0 Average
knewc transcoding issues
crackulator
Offline

Member

Posts: 131
Threads: 22
Joined: Nov 2014
#1
2019-09-12, 08:20 PM
Tried with the UI client (still 2.7.0, new one hasn't come through yet), GUI/EPG looks fine, but it runs video for about 3 minutes on average before exiting back to the EPG. Sometimes the video hangs for a while (say 20 seconds), then runs fast-forward to catch up; the eventual end may be just a worst-case one of these.

This is a different client than the one in the previous report, but also Ubuntu client, same v4 server. This one is talking to the server across the internet.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#2
2019-09-12, 08:47 PM
Sorry since you are trying the transcoding option over the internet it is basically how well your server transcoding and the upload and download bandwidth you have. You might find the Python UI a little lighter. I do see a bug in the transcoding from UI client, but that is not in my test uses cases.

v5 probably offers a better streaming platform, I will have to give it a try sometime.

Martin
crackulator
Offline

Member

Posts: 131
Threads: 22
Joined: Nov 2014
#3
2019-09-12, 09:27 PM
Everything should be pretty overkill. Stream I'm trying to run is 256kbps, all network paths are >50Mbps, server is good up to about 5 streams before running out of CPU.

I'll try it on my local network tonight.
crackulator
Offline

Member

Posts: 131
Threads: 22
Joined: Nov 2014
#4
2019-09-13, 04:40 AM
On local network, it does about the same... maybe somewhat less, but hard to measure. Log attached.

I notice when monitoring the network traffic that it is very bursty, there's a burst of data about every 10 seconds, and most of the time it's quiet in between. Is this normal?

Also one of my problems is that when it crashes, it often leaves an ffmpeg open and busy on the server, which never closes. So it gradually eats up all my server CPU.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#5
2019-09-13, 05:30 PM
Ok I looked deeper at the code and to tell you the truth I am surprised it worked at all, I had the API call wrong. I probably shouldn't be that surprised my v4 server is not up to transcoding so this code was really only proof of concept work-in-progress.

I have made some modifications to the code and the transcoding option seems relatively stable with my v5 server. It doesn't look like the API changed for v4 but v4 is untested.

The bursty nature is quite normal, the transcode leases and UI client responses are on timers and m3u8 playback is segmented.

knewc 2.7.2 includes this change. Let me know how it goes, this will help me determine if similar functionality is of value in pvr.nextpvr

Martin
crackulator
Offline

Member

Posts: 131
Threads: 22
Joined: Nov 2014
#6
2019-09-14, 07:05 AM
2.7.2 doesn't seem to be any better, perhaps worse. Ubuntu client, v4 server, local network.
crackulator
Offline

Member

Posts: 131
Threads: 22
Joined: Nov 2014
#7
2019-09-14, 07:14 AM (This post was last modified: 2019-09-14, 07:28 AM by crackulator.)
Duplicated test on Chromebook (Kodi from Play Store), same result, lots of freezing and fast-forwarding, doesn't stay up more than a couple minutes.

BTW the native mode seems to be working now (cheers), but the Channel Groups selection doesn't work (even after connecting to the server to get the channel groups). The selection is settings seems to be scrolling through random-looking single characters. A few weeks ago I had that problem and I found it in the config files and changed it there, and then it worked, so it seems to be just the settings UI.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#8
2019-09-14, 03:11 PM
I'd need to see the server side logs that match kodi debug logs. The indication is the issue is now how Kodi is playing your m3u8 file. You might also want to see if v5 improves things.

The fix for the channel group is to change the line below in XNEWA_Connect.py

groups = '|'.join(str(self.channelGroups))
to
groups = '|'.join(self.channelGroups)

I don't think sub supports server side filtering of the channel lists for channel groups so knewc will be dropping support for the group filter that NEWA had in v5

Martin
crackulator
Offline

Member

Posts: 131
Threads: 22
Joined: Nov 2014
#9
2019-09-15, 05:44 PM
Yeah it's probably pointless to further diagnose v4. I'm working on getting a test v5 server up.
crackulator
Offline

Member

Posts: 131
Threads: 22
Joined: Nov 2014
#10
2019-09-27, 02:19 AM
Remote transcoding seems to be working great with knewc 2.7.2 and v5 server. Streaming almost 2 hours with not a single glitch. Bandwidth measures as expected (I'm running a 1 Mbps/720p stream). UI is Kodi native on Estuary, Ubuntu client, Ubuntu server.

Awesome, case closed! Thanks for your help.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unclear how to install knewc and use it in Kodi smbunn 2 1,481 2023-05-02, 01:12 PM
Last Post: mvallevand
  knewc 2.10.0 release mvallevand 0 1,437 2022-05-31, 08:30 PM
Last Post: mvallevand
  knewc 2.9.5 release mvallevand 22 6,421 2022-02-01, 03:07 PM
Last Post: mvallevand
  knewc Timeout Starting Recording Playback BrettB 1 1,720 2021-10-21, 03:02 PM
Last Post: mvallevand
  Kodi 19 Matrix - knewc is Uninstalled after Modification meccano 2 2,817 2021-04-12, 03:08 PM
Last Post: meccano
  knewc 2.9.3 Update mvallevand 0 1,863 2021-03-08, 04:53 PM
Last Post: mvallevand
  kodi/knewc crashing baj1 12 4,546 2021-01-23, 07:05 PM
Last Post: baj1
  knewc 2.9.1 Update mvallevand 22 8,038 2021-01-18, 06:22 AM
Last Post: baj1
  knewc problems with new server patch BrettB 7 3,794 2021-01-07, 02:45 PM
Last Post: BrettB
  NextPVR Timeout message in knewc baj1 3 2,319 2020-11-21, 07:11 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode