NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
1 2 3 4 5 … 45 Next »
Recording Auto Transcode

 
  • 0 Vote(s) - 0 Average
Recording Auto Transcode
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,847
Threads: 178
Joined: Aug 2016
#1
2021-07-17, 11:31 PM
I am curently using the Recording Auto Transcode 1080p (.mp4) setting. I want to see how well this will work with the NextPVR Roku app as I have trouble with OTA signal quality at times and I am hoping this may help.

Of course this means I have no PostProcessing script running and therfore I can't run Comskip automatically. Is there any way I can use both the Recording Auto Transcode setting and run a PostProcessing scriopt (with Comskip)?

I assume the answer is no. So, the next question is, are there any other ways to use NextPVR to run Comskip?

Thanks.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,219
Threads: 774
Joined: Nov 2003
#2
2021-07-18, 03:44 AM
It’s not currently possible to do that. If you’re using a post processing script, you’d have to just do the mp4 conversion in the script. Ultimately the default conversion stuff is just running a ffmpeg command to do the conversion so pretty easy for you to replicate.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,219
Threads: 774
Joined: Nov 2003
#3
2021-07-18, 03:45 AM
Actually wasn’t there a post conversion script? You might be able to run comskip in there.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 54,267
Threads: 969
Joined: May 2006
#4
2021-07-18, 03:56 AM
You added PostVODProcessing but I don't think there is anything for automated transcoding. I thought the design was for PostProcessing to run before the automated transcode begin. A ts comskip file should work with a transcoded file since the skips are based on time not a file position.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,219
Threads: 774
Joined: Nov 2003
#5
2021-07-18, 06:16 AM
(2021-07-18, 03:56 AM)mvallevand Wrote: I thought the design was for PostProcessing to run before the automated transcode begin.
If you've got a PostProcessing script, it assumes you're going to do any conversions and other processing yourself, and doesn't run the simple built in transcoder.

If you've got a custom script, it's pretty painless to also add the steps to do the same type of transcoding.
spin35
Offline

Member

Posts: 68
Threads: 17
Joined: Jul 2015
#6
2025-02-15, 12:27 AM
I'm currently experimenting with Auto Transcode, then I found this thread which tells me that postprocess.bat disables the auto-transcode.  I currently do transcode in my .bat file but I leave the .ts in place because I want to preserve the playback functionality in the web-client and Kodi.  I figure that if the .ts isn't where the .xml tells us, then things will break.  I figured that the auto-transcode would update the .xml to replace the .ts with .mp4(or whatever), so I was hoping that auto-transcode would run AFTER the postprocess.bat.
Given that this isn't the case, are there any suggestions for a quick and easy way to update the .xml so it points to the transcoded file rather than the original recording?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,219
Threads: 774
Joined: Nov 2003
#7
2025-02-15, 02:40 AM
You can use:

nscripthelper -rename <oldtsfilename> <newfilename>

and it'll update the data base to point to the new file.
spin35
Offline

Member

Posts: 68
Threads: 17
Joined: Jul 2015
#8
2025-02-15, 06:59 AM (This post was last modified: 2025-02-15, 07:16 AM by spin35.)
(2025-02-15, 02:40 AM)sub Wrote: You can use:

nscripthelper -rename <oldtsfilename> <newfilename>

and it'll update the data base to point to the new file.

I've just to run D:\Program Files\NextPVR>NScriptHelper.exe -Pending and it failed.  I got:
[1] Unable to login

Just found the page in the Wiki on how to use it...
Yep - working, all good.

I have discovered though that I don't really need to touch the .xml as Kodi and the UI Client aren't fussy - if the .ts isn't there it will play the .mp4 with the same filename in the same folder.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 54,267
Threads: 969
Joined: May 2006
#9
2025-02-18, 12:45 AM
(2025-02-15, 12:27 AM)spin35 Wrote: I'm currently experimenting with Auto Transcode, then I found this thread which tells me that postprocess.bat disables the auto-transcode.  I currently do transcode in my .bat file but I leave the .ts in place because I want to preserve the playback functionality in the web-client and Kodi.  I figure that if the .ts isn't where the .xml tells us, then things will break.  I figured that the auto-transcode would update the .xml to replace the .ts with .mp4(or whatever), so I was hoping that auto-transcode would run AFTER the postprocess.bat.
Given that this isn't the case, are there any suggestions for a quick and easy way to update the .xml so it points to the transcoded file rather than the original recording?

If you use auto-transcode the mp4 file created will play in the browser without transcoding or remuxing.  The primary downlside to this is losing AC-3 audio plus the one size fits all transcoding isn't at all optimized so the ts file might be better quality. I say might because the mp4 remux does smooth out some ts file errors.

The only thing that I know uses the xml file is NextTool and I specifically ignore the internal filename.

Martin
spin35
Offline

Member

Posts: 68
Threads: 17
Joined: Jul 2015
#10
2025-11-07, 02:55 AM
(2025-02-15, 06:59 AM)spin35 Wrote:
(2025-02-15, 02:40 AM)sub Wrote: You can use:

nscripthelper -rename <oldtsfilename> <newfilename>

and it'll update the data base to point to the new file.

I have discovered though that I don't really need to touch the .xml as Kodi and the UI Client aren't fussy - if the .ts isn't there it will play the .mp4 with the same filename in the same folder.

I don't know what has changed but I'm no longer able to play the files in Kodi if the .ts isn't there.  I've now added a line to rename the recorded file in the database using nscripthelper.
Looking in the nvpr.db3 all the recorded filenames had .mp4 extensions up until July 2025, then from August onwards they all have .ts extensions.  I'm not sure if I fiddled with the transcode settings around that time, or it might coincide with when I installed the June update.
The  nscripthelper rename in the postprocess.bat appears to work, so I'll leave things as they are.
« 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
  Disable login creds/auto login SickBoy 1 149 2025-10-30, 01:15 PM
Last Post: mvallevand
  No recording after Windows 11 Update Remleym 34 1,709 2025-10-19, 04:44 PM
Last Post: mvallevand
  Daily Recording type Fails to Record Fillimerica 13 658 2025-10-15, 03:22 PM
Last Post: mvallevand
  Recording interrupted The1nOnlyHMatt 5 491 2025-10-10, 05:39 PM
Last Post: mvallevand
  Auto skip episodes shorter than x seconds? muzicman0 4 693 2025-09-22, 03:07 PM
Last Post: muzicman0
  Disable auto-skip when comskip is enabled? nextcom 3 1,097 2025-08-24, 04:17 AM
Last Post: baj1
  Recording Calendar View thartmann6 4 955 2025-08-15, 01:01 AM
Last Post: thartmann6
  Recording from the point you switch channels rather than when you press record Swindiff 3 1,196 2025-06-23, 04:31 AM
Last Post: Knordn1951
  Controlling the nextpvr server from Jellyfin (via the nextpvr plugin) (no recording) kfmf 2 1,588 2025-05-04, 02:21 PM
Last Post: mvallevand
  Keeping users recording separate Swindiff 2 758 2025-05-02, 07:47 PM
Last Post: Swindiff

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

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

Linear Mode
Threaded Mode