NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 19 20 21 22 23 … 193 Next »
Additional transcode options in config.xml

 
  • 0 Vote(s) - 0 Average
Additional transcode options in config.xml
trummel
Offline

Senior Member

Posts: 276
Threads: 34
Joined: Oct 2008
#1
2015-09-28, 02:18 PM
With the current version of ffmpeg (2.8), play time transcoding of both recordings and live TV seems to work pretty well. However, using the ffmpeg filter effectively stops you from using seek within a recording. One way around this would be to restart the stream using the -ss argument to ffmpeg to jump directly to the required place in the stream. I've tested it by modifying <TranscodeArgs> in config.xml and it works very nicely, but for it to be useful, it would need to be able to be set on the fly. Currently the /transcode stream request passes a number of on the fly aguments (source, resolution, bitrate etc). It would be really nice if there were a couple of user arguments that could be used to replace [USERARG] place holders in config.xml.

So my config.xml would have this line:-
Code:
<TranscodeArgsxx>-y -v 0 [B]-ss [USERARG1] [/B]-i [SOURCE] -f mpegts -acodec ac3 -ab 96k -ar 44100 -ac 2 -s [RESOLUTION] -vcodec libx264 -b [BITRATE] -maxrate [BITRATE] -flags +loop -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -bufsize 96K -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect [ASPECT] -g 30 -async 2 [TARGET]</TranscodeArgsxx>

and my javascript might say:-
Code:
url = TVC.getStreamerBaseURL() + "/transcode?recording=" + recordingID + [B]"&userarg1=" + seektime[/B]&resolution=1920x1080&bitrate=4096k&mode=http&mime=video/MP2T";

Of course, it should be possible to replace any of the ffmpeg arguments that way.

Server: Ci5 2500k, 3GB, Windows Server 2012, nPVR 3.5.7. 2xWinTV-DVB-T USB, 1xWinTV-DVB-T PCI, 2 x BlackGold DVB-T, 1xPCTV290E and 1xPCTV460E on Astra 28.2 E.
clients: RPI2, Acer R3700, PCH-A110, NUC, 3xSamsung Smart TV
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Scheduled batch Transcode? buntay20 1 810 2022-08-22, 02:24 PM
Last Post: BrettB
  Sorting Options for Recurring Recording List pkscout 1 919 2021-11-23, 07:51 PM
Last Post: sub
  Additional Info on Channel Map Screen brainfryd 0 912 2020-10-03, 09:35 AM
Last Post: brainfryd
  V5 additional channel information for recordings and guide pop-up ctrlbrk 0 1,088 2020-06-06, 11:37 PM
Last Post: ctrlbrk
  Additional formats for Episode/year scraper sammy3 9 3,498 2020-05-08, 10:47 AM
Last Post: sammy3
  Automatic backup of Config.xml and NPVR.db3 p37307 2 2,750 2017-12-10, 01:01 AM
Last Post: jksmurf
  New keyboard options while viewing live/recordings LeGrandZombie 1 1,735 2016-07-02, 07:18 PM
Last Post: sub
  Alternative (additional) playback keyboard controls W3bbo 1 2,552 2016-06-28, 08:54 PM
Last Post: W3bbo
  Config to control what Channel Group is presented to Kodi JavaWiz 1 2,467 2015-11-04, 02:15 AM
Last Post: sub
  Options for post processing fred250 1 2,005 2014-12-14, 11:29 PM
Last Post: SickBoy

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

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

Linear Mode
Threaded Mode