NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
1 2 3 4 5 … 433 Next »
config.xml

config.xml
MaxOne72
Offline

Member

Posts: 152
Threads: 78
Joined: Sep 2018
#1
2019-07-11, 12:36 AM
is there anyway of getting hardware transcoding working with livetv instead of cpu?

Thanks.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#2
2019-07-11, 12:40 AM
There is some complications. NextPVR normally runs as a service. Unfortunately because of the way Windows works, GPUs are not accessible from background services - they need to be used from processes running on the desktop (which is being presented by the graphics card).

You can stop the service, and instead run 'nrecord.exe RUN' from a command prompt, and set the 'Video Encoder' setting on the Settings->Clients screen to either NVidia or Quicksync.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#3
2019-07-11, 12:41 AM
In reality you're better off using a client that does require transcoding.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,797
Threads: 954
Joined: May 2006
#4
2019-07-11, 12:45 AM
Yes if you can figure out the ffmpeg setting to do this for your GPU environment they can be entered in config.xml as you suspected and replace
default here <TranscodeHLS>default</TranscodeHLS>

The current settings are

Code:
<TranscodeArgsHLS>-y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v [BITRATE] -maxrate [BITRATE] -bufsize 2698344 -vsync vfr -profile:v high -level 41 -aspect [ASPECT] -force_key_frames \"expr:gte(t,n_forced*3)\" -s [RESOLUTION] [SUBTITLES] -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af \"adelay=1,aresample=async=1\" -hls_time 3 -start_number 0 -hls_list_size 0 -y [TARGET]</TranscodeArgsHLS>

YMMV.

If you are serious about trying this use v5

Martin
Bruce
Offline

Junior Member

United States
Posts: 1
Threads: 0
Joined: Aug 2023
#5
2023-08-20, 12:58 AM
(2019-07-11, 12:40 AM)sub Wrote: There is some complications. NextPVR normally runs as a service. Unfortunately because of the way Windows works, GPUs are not accessible from background services - they need to be used from processes running on the desktop (which is being presented by the graphics card).

You can stop the service, and instead run 'nrecord.exe RUN' from a command prompt, and set the 'Video Encoder' setting on the Settings->Clients screen to either NVidia or Quicksync.

I dusted off 4.2.5 to use with my Ceton tuners running with windows 8.1 and an I7-3770K. Turning on intel quicksync took cpu from 30-50% to less than 10%.

chatGPT said to use "nrecord -noservice". I told it the actual solution was "nrecord RUN" and it replied that it would inform any future npvr questioners of this response.  Exclamation Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Where's config.xml? acegolfer 2 2,742 2019-06-28, 06:49 PM
Last Post: acegolfer
  Schedules direct Username and password within the config file Brucek2839 5 2,231 2019-06-16, 02:44 PM
Last Post: Brucek2839
  IPTV Channels within the config file Brucek2839 2 1,781 2019-05-06, 05:59 AM
Last Post: Brucek2839
  Live TV Hanging (was OK, zero changes to my config) veletron 3 1,522 2019-01-24, 12:51 AM
Last Post: gEd
  4.2.3 install doesn't update version in config.xml sgilani 3 1,568 2018-11-12, 05:17 AM
Last Post: sub
  config.xml MaxOne72 1 1,032 2018-10-22, 06:43 AM
Last Post: Handy.Man
  Transcode Ignores Config.xml Setting jeneral 5 2,147 2018-05-28, 06:10 PM
Last Post: sub
  OSD in config all ignored except <OSDTimeoutInfo> pBS 6 1,986 2018-03-08, 08:17 AM
Last Post: pBS
  Comcast switch to MPEG-4 - How to change config with least impact/hassle? HarryH3 94 28,197 2017-03-23, 12:22 AM
Last Post: sub
  config.xml question 2leftfeet 6 2,045 2016-03-05, 08:38 PM
Last Post: 2leftfeet

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

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

Linear Mode
Threaded Mode