NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
1 2 3 4 5 … 194 Next »
Visible console while running PostProcessing.bat

 
  • 0 Vote(s) - 0 Average
Visible console while running PostProcessing.bat
spin35
Offline

Member

Posts: 68
Threads: 17
Joined: Jul 2015
#1
2025-11-10, 11:21 AM
Not sure if this is really a wishlist item, but I'd like to find a way to be able to see what's going on while PostProcessing.bat is running e.g. checking ffmpeg's progress as it transcodes the recording.
I tried having a simple PostProcessing.bat that just had the line:
CMD /C PostProcessing-Main.bat %1 %2 
where PostProcessing-Main has all the actual code in it.  I had expected the CMD /C to open a new console window and run the main script, but it just runs the script without any window.
Is there some way to make PostProcess.bat visible while running?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,219
Threads: 774
Joined: Nov 2003
#2
2025-11-13, 08:08 AM
It's running as a service, so can't easily show the window on your desktop.

You could possibly see the output if you stop the service and manually run the NextPVRServer from the command line.

Alternatively, you could add logging to a file in your PostProcessing.bat
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 54,261
Threads: 969
Joined: May 2006
#3
2025-11-13, 01:28 PM
I don't comskip in post processing (I do too many test recordings) but one thing I use is a program called "tail" on the comskip log and I can quickly have a look where I am. There are CLI and GUI versions and you can close them, closing a terminal would kill the program.

If it is just status task manager will tell you quickly if ffmpeg is running. A touch more work if multiple recorings are going on but better than multiple visible terminals.

Martin
spin35
Offline

Member

Posts: 68
Threads: 17
Joined: Jul 2015
#4
Yesterday, 12:17 AM
I do use logging to indicate where I'm up to in the process, but that doesn't give me any insight into the internal progress of comskip and ffmpeg.
I can use he task Manager to see what's running, but again not much use in relation to progress.
I'm looking into the use of Tail to examine the internal log-files.  I can see in the ffmpeg doco that there are some options I can explore there.
I've also just discovered the Notepad++ has a Monitoring (tail -f) mode which will watch a file and load changes as they come in, so I think I've got what I need to make this work.
spin35
Offline

Member

Posts: 68
Threads: 17
Joined: Jul 2015
#5
Yesterday, 05:11 AM (This post was last modified: Yesterday, 05:14 AM by spin35.)
I've added 2> %~dpn1_fmpg.log to the end of my ffmpeg.exe call and added -stats_period 10 in the options this gives me the progress in 10 sec intervals as the file is processed.
I've also put 2> %~dpn1_cmsk.log at the end of the comskip.exe call which gets updated every second or so but doesn't take as long to complete compared to ffmpeg, so the file sizes are relatively short and manageable.
I can watch the files grow in Notepad++ in Monitoring mode, so I've achieved what I wanted.
I've added fmpg.log and cmsk.log to the DeleteAdditionalExtensions list in config.xml, so hopefully they'll get tidied up with the rest of the support files.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Titles no visible on web EPG for very long shows JP23 4 1,678 2022-07-01, 04:34 PM
Last Post: sub
  Full Channel name visible in TV guide shqiperih 1 2,032 2018-04-22, 07:00 AM
Last Post: sub
  Recording service not running AeroMaxx 2 3,020 2016-11-09, 05:05 PM
Last Post: johnsonx42
  OID of Capture_Source as Parameter to Parallel-/PostProcessing.bat BrettB 3 2,259 2011-10-06, 04:06 AM
Last Post: sub
  Use visible="@selected" in CoversView Northpole 0 1,212 2010-12-08, 08:00 PM
Last Post: Northpole
  Differend Tray-Icon for running/not-running service DocMAX 1 1,583 2008-09-30, 02:15 PM
Last Post: martint123
  Console Instead of Main Menu MichaelColey 0 1,210 2007-04-07, 02:46 PM
Last Post: MichaelColey
  Notification of Recording Service not running dinki 0 1,370 2006-06-18, 12:44 AM
Last Post: dinki
  PostProcessing.bat supercedes Comskip zehd 9 3,911 2006-03-07, 04:19 PM
Last Post: sub
  a composite image drawn whenever the inset is visible reven 0 1,437 2006-01-14, 03:42 AM
Last Post: reven

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

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

Linear Mode
Threaded Mode