NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 435 436 437 438 439 … 1231 Next »
postprocessing.bat queues up ffmpeg instead of multiple instances?!

 
  • 0 Vote(s) - 0 Average
postprocessing.bat queues up ffmpeg instead of multiple instances?!
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#1
2007-10-30, 12:57 PM
i just reloaded my XP on a new SATA drive this weekend and after being hit by the DST bug and fixing that i realize now that postprocessing.bat does not execute for multiple recordings at the same time anymore, but instead waits for the current one to finish.
i have 2 tuners and used to do pillar removing with ffmpeg for both finished recordings at the same time on my old setup. since the reload it's just doing one at a time. i have a dual core that's used less than 50% when doing a single ffmpeg and it can handle 2 transcodings, 2 recordings and me watching a HD mpeg at the same time without issues.
no changes in gbpvr other than i had to re-install over the old one obviously but all settings have been kept.

any ideas? could not find anything relevant in the forums...
thanks!
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,723
Threads: 767
Joined: Nov 2003
#2
2007-10-30, 03:17 PM
Quote:i realize now that postprocessing.bat does not execute for multiple recordings at the same time anymore, but instead waits for the current one to finish.
It never did. It has always run these one at a time, based on the assumption that you'd most likely be doing CPU or Disk intensive activity like transcoding or comskipping (where multiple could adversely affect machine performance).

ParallelProcessing.bat on the other hand does run multiple at the same time.
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#3
2007-10-30, 03:37 PM
sub Wrote:It never did. It has always run these one at a time, based on the assumption that you'd most likely be doing CPU or Disk intensive activity like transcoding or comskipping (where multiple could adversely affect machine performance).

ParallelProcessing.bat on the other hand does run multiple at the same time.

hmm i know for sure i had 2 ffmpegs going at the same time from postprocessing in the task manager. i'll look into what i may have in the old backup folder from the previous installation that may have been deleted by the new installation (same 0.99.12 though).
i also set the comskip section to ASAP (but that setting was there before) although i'm not using comskip but i understand that its needed to start parallel processing.
are you absolutely sure there's no setting in the DB or the config xml to start postprocessing ASAP when you have multiple recordings done?
i'm confused Wink
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,723
Threads: 767
Joined: Nov 2003
#4
2007-10-30, 03:42 PM
Ever since the day this feature was introduced it has always run multiple PostProcessing.bat files synchronously. There is no setting that changes this.

You can of course just spawn some other batch file (or ffmpeg process) from your PostProcessing.bat so that the main batch file completes immediate, and starts the next one, which again spawns some other batch file.... in effect running them in parallel.
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#5
2007-10-31, 02:45 AM
sub Wrote:Ever since the day this feature was introduced it has always run multiple PostProcessing.bat files synchronously. There is no setting that changes this.

You can of course just spawn some other batch file (or ffmpeg process) from your PostProcessing.bat so that the main batch file completes immediate, and starts the next one, which again spawns some other batch file.... in effect running them in parallel.

i looked through the logs from before the OS reload. the odd thing is that indeed you're right, postprocessing never started for 2 files at the same time - it always waited for the first file to complete before it started the second. what i dont understand is how it was possible to have 2 ffmpeg processes in the task manager. this just feels like the twilight zone :o

i guess i'll just accept this as a fact and maybe do as you said - spawn another process from the batch file. then again it might not be worth the trouble of rewriting and redoing all the logic (shutdown is also included in the conversion)

thanks anyway!
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,723
Threads: 767
Joined: Nov 2003
#6
2007-10-31, 02:55 AM
Quote:what i dont understand is how it was possible to have 2 ffmpeg processes in the task manager
I dont know what you had in your PostProcessing.bat, but if you'd done a "start ffmpeg.exe" in their, then the PostProcessing.bat would have exited pretty quickly while the ffmpeg.exe continued to run to completion.
pvruser
Offline

Member

Posts: 230
Threads: 42
Joined: May 2007
#7
2007-10-31, 12:53 PM
sub Wrote:I dont know what you had in your PostProcessing.bat, but if you'd done a "start ffmpeg.exe" in their, then the PostProcessing.bat would have exited pretty quickly while the ffmpeg.exe continued to run to completion.

no i avoided that because i needed it to wait until conversion was finished and then check if it needs to suspend the computer (unless there's a recording in progress or to begin shortly or another conversion in progress). obviously i could call the suspend check from a new "encode-only" batch file which in turn would be called by postprocessing but that's probably smth i'll look into when i get the time. for now it works and i guess thats all that matters Big Grin
GBPVR 1.4.7
3 x HVR-950Q USB OTA ATSC HD TUNER
T2250 @ 2.5 GB RAM + ASUS Moca-AR Calcite
Roku HD + XD
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple tuners - do you set and EPG for each or just on one tuner? ram4x4nut 1 5,146 2013-07-23, 07:01 AM
Last Post: Lao Pan
  Query : How to use multiple TV Cards (thru GB-PVR) in a Desktop Computer? seymoria 7 4,556 2011-09-07, 08:17 PM
Last Post: martint123
  ABC Australia EPG lists same show three times 1 min apart. Records multiple.. CCCMikey 11 6,019 2011-04-17, 09:38 AM
Last Post: CCCMikey
  Postprocessing and the recordings database shsw 1 1,491 2010-08-29, 04:46 PM
Last Post: sub
  Multiple Tuner Cards dhayzen 10 4,661 2010-08-26, 09:56 AM
Last Post: martint123
  Guide update registers multiple conflicting programs keith_leitch 0 1,324 2010-07-09, 09:48 PM
Last Post: keith_leitch
  Multiple recording with HVR-4400 agerdin 7 2,646 2010-05-31, 05:19 PM
Last Post: agerdin
  Record Multiple Channels sethmac 4 1,982 2010-05-24, 10:13 PM
Last Post: ElihuRozen
  3 AC3Filter instances when playing back a still recording TS file? jksmurf 3 1,896 2010-05-17, 12:30 AM
Last Post: jksmurf
  How do I activate ffmpeg to automaticaliy convert MPG video to AVI format in GbPVR HYBRiD.BLiNG 0 1,226 2010-04-18, 01:52 AM
Last Post: HYBRiD.BLiNG

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

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

Linear Mode
Threaded Mode