NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
1 2 3 4 5 … 35 Next »
Transcoded Stream pauses in Kodi although CPUs and network fine

 
  • 0 Vote(s) - 0 Average
Transcoded Stream pauses in Kodi although CPUs and network fine
aderlopas
Offline

Senior Member

Posts: 262
Threads: 37
Joined: Dec 2013
#1
2020-11-15, 10:20 AM (This post was last modified: 2020-11-15, 11:38 AM by aderlopas.)
Hello, 

this is most likely not a kodi problem, but I am putting it here as with Kodi I can get stats...
Same happens with the web interface (web interface shows message server is not fast enough - 0.914x) at 480p profile for instance.

when set to 720p, even to 480p profile and with transcoding, stream pauses for a few seconds every now and then.

You can find the video of what is happening here:  https://1drv.ms/v/s!AmtCz-mPInTyjZclKGHe...Q?e=4iPuad

You will see that at the same time the nextpvr server box is not at all stressed in terms of CPU or GPU...
I have also prioritized the network from and to this box and also tried to increase even to real-time the priority of the ffmpeg process but same result...
Any ideas?
aderlopas
Offline

Senior Member

Posts: 262
Threads: 37
Joined: Dec 2013
#2
2020-11-15, 10:54 AM (This post was last modified: 2020-11-15, 10:56 AM by aderlopas.)
Question is more like, given the box is given (unfortunately), can we tune ffmpeg further? And if so, do we need to expose any further parameters such as for instance the below (from: https://trac.ffmpeg.org/wiki/Encode/H.264)


Preset
A preset is a collection of options that will provide a certain encoding speed to compression ratio. A slower preset will provide better compression (compression is quality per filesize). This means that, for example, if you target a certain file size or constant bit rate, you will achieve better quality with a slower preset. Similarly, for constant quality encoding, you will simply save bitrate by choosing a slower preset.
Use the slowest preset that you have patience for. The available presets in descending order of speed are:
  • ultrafast

  • superfast

  • veryfast

  • faster

  • fast

  • medium – default preset

  • slow

  • slower

  • veryslow

  • placebo – ignore this as it is not useful (see FAQ)
You can see a list of current presets with -preset help (see example below). If you have the x264 binary installed, you can also see the exact settings these presets apply by running x264 --fullhelp.


Tune
------
You can optionally use -tune to change settings based upon the specifics of your input. Current tunings include:
---------------------------------
film – use for high quality movie content; lowers deblocking
animation – good for cartoons; uses higher deblocking and more reference frames
grain – preserves the grain structure in old, grainy film material
stillimage – good for slideshow-like content
fastdecode – allows faster decoding by disabling certain filters
zerolatency – good for fast encoding and low-latency streaming
psnr – ignore this as it is only used for codec development
ssim – ignore this as it is only used for codec development
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Where is the Kodi NPVR addon timeline duration stored? Lao Pan 4 105 2021-01-11, 10:19 AM
Last Post: mvallevand
  Radio vs TV in Kodi add-on philled 25 390 2020-12-29, 05:40 PM
Last Post: mvallevand
  Kodi 18 + NextPVR V5 : the record screen list is very poor Bernard0105 14 332 2020-12-11, 02:11 PM
Last Post: mvallevand
  NEXTPVR KODI lolo6000 21 1,000 2020-11-02, 06:49 PM
Last Post: lolo6000
  Kodi/knewc keyboard command equivalent for remote control Blue Button? baj1 10 274 2020-11-01, 05:30 PM
Last Post: baj1
  Reverse proxy - ssl - kodi client fattony 27 572 2020-10-28, 05:26 PM
Last Post: mvallevand
  Suddenly no Kodi/NPVR in the house Elmo Putney 10 306 2020-10-28, 05:08 PM
Last Post: baj1
  Latest Kodi 19 MAtrix Nightly Breaks NPVR aderlopas 50 1,110 2020-10-26, 12:16 PM
Last Post: mvallevand
  nextpvr pvr addon v7.1.1 android kodi a1blues 5 342 2020-10-22, 06:17 PM
Last Post: mvallevand
  "Real Time" live tv stream, only stereo audio on Shield cncb 3 264 2020-10-09, 03:13 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