NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 … 5 6 7 8 9 Next »
"IPTV" recording is murdering my CPU

 
  • 0 Vote(s) - 0 Average
"IPTV" recording is murdering my CPU
Coxeroni
Offline

Junior Member

Posts: 8
Threads: 2
Joined: Jan 2020
#1
2020-01-24, 03:08 PM (This post was last modified: 2020-01-24, 03:13 PM by Coxeroni.)
New NextPVR user here, version 5.0.1.200103 through the official nextpvr amd64 docker image.

I am using an enigma2 set-top cable box as a tuner source. The channels are shared in the local network via m3u8 playlists and imported into NextPVR. The STB just passes on the unprocessed transport stream.

When I start a recording, the CPU usage of my Xeon E3-1225 v6 boosts to 100 %, the source being ffmpeg treating the "buffer" file (not the actual recorded file).

How do I get rid of this? Can/should I set buffer time to 0? Or is it related to the recording in general?

I read here about substituting a .dll file, something I probably cannot do in the docker container.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#2
2020-01-24, 03:30 PM
First thing we need to do is determine if this is about input or output, which are the two different places ffmpeg can be used.

Where are you watching? If it's in the web app, ie in the browser, then it's having to convert the video to a format that can be displayed in the browser. If you watch from NextPVR using a player like VLC, opening the network url http://<ipaddress:8866>/live?channel=12 (pick a channel number), does it help the CPU? This is the output side of things.

The other place it can happen with IPTV devices is at input, getting the stream into NextPVR. I'd probably need to see the logs to tell you if it was happening there.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#3
2020-01-24, 03:38 PM
Actually re-reading, because you said recording is causing this, it must be the input side of things. If you can post the logs, I'll check it out.
Coxeroni
Offline

Junior Member

Posts: 8
Threads: 2
Joined: Jan 2020
#4
2020-01-24, 03:40 PM
I am not watching, I am recording. If you tell me which logs and where I can find them, I will happily share them.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#5
2020-01-24, 03:41 PM
On the Settings->About page, there is a 'log files' button.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,841
Threads: 954
Joined: May 2006
#6
2020-01-24, 03:43 PM
NextPVR transcodes everything it doesn't think is m3u8 or ts file. If the files are m3u8 but don't have the extension I find it helps somtimes to fake one by adding

&.m3u8

to the source url, assuming the server supports that (and most do)

Martin
Coxeroni
Offline

Junior Member

Posts: 8
Threads: 2
Joined: Jan 2020
#7
2020-01-24, 03:44 PM
(2020-01-24, 03:41 PM)sub Wrote: On the Settings->About page, there is a 'log files' button.
Thanks, attached them.


Attached Files
.zip   logs-20200124-1642.zip (Size: 347.37 KB / Downloads: 1)
Coxeroni
Offline

Junior Member

Posts: 8
Threads: 2
Joined: Jan 2020
#8
2020-01-24, 03:46 PM (This post was last modified: 2020-01-24, 03:49 PM by Coxeroni.)
(2020-01-24, 03:43 PM)mvallevand Wrote: NextPVR transcodes everything it doesn't think is m3u8 or ts file.  If the files are m3u8 but don't have the extension I find it helps somtimes to fake one  by adding

&.m3u8

to the source url, assuming the server supports that (and most do)

Martin
The actual streams in the m3u8 look like this:
http://192.168.178.40:8001/1:0:19:2B5C:4...014A:0:0:0
Might this be the issue? Dunno how I can manipulate them.
Edit: added &.m3u8 just as you said, the link still works. So this might be a quick fix. Will try it out as soon as I can (can't do it now).
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#9
2020-01-24, 03:50 PM
Do you know what mime type your enigma2 set-top box uses for it's streams? Basically it looks like it's returning a type that NextPVR doesn't normally equate with being a transport stream, so it falls back to using ffmpeg
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#10
2020-01-24, 03:51 PM
(2020-01-24, 03:46 PM)Coxeroni Wrote: Edit: added &.m3u8 just as you said, the link still works. So this might be a quick fix. Will try it out as soon as I can (can't do it now).
Actually, if you can stick ".ts" on the end, it'd be better. With this, it wont need to look at the mime type.
« 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
  IPTV streaming uses 100% CPU callumjk 2 984 2024-04-18, 05:11 PM
Last Post: sub
  Trouble with IPTV provider with frequently changing URLs chelseatv 3 1,738 2023-11-17, 02:33 PM
Last Post: mvallevand
  IPTV repeat one? pewter_waggle 5 1,066 2023-03-25, 05:06 PM
Last Post: sub
  Adding multiple IPTV devices Khalimerot 21 3,772 2023-02-20, 11:13 AM
Last Post: Khalimerot
  IPTV only one stream can be recorded at a time rojerki 2 1,086 2022-05-22, 11:10 AM
Last Post: rojerki
  Unable to Add IPTV XMLTV (m3u works fine) add45 34 8,191 2021-05-25, 03:10 PM
Last Post: add45
Video Different recording directories by channel group SuperBaggers 4 1,698 2020-10-27, 01:47 PM
Last Post: SuperBaggers
  What Time Does the "Delete Missing Recording" Maintenance Run? pkscout 12 3,501 2020-09-20, 05:32 PM
Last Post: pkscout
  Recording Goes an Hour, But Actual File is Only 16 Minutes pkscout 9 2,986 2020-05-24, 10:26 PM
Last Post: pkscout
  repeating sections of IPTV playback sstavross 10 4,006 2020-04-07, 10:13 AM
Last Post: sstavross

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

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

Linear Mode
Threaded Mode