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 … 657 658 659 660 661 … 1231 Next »
Post Processing bat file question

 
  • 0 Vote(s) - 0 Average
Post Processing bat file question
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#11
2006-12-04, 04:14 PM
It'll only run one postprocessing.bat at a time, with others queued until completion of any currently running instance.
nightwalker
Offline

Senior Member

Posts: 733
Threads: 54
Joined: May 2005
#12
2006-12-04, 07:03 PM
thanks sub, i was thinking that's the way it worked.
nightwalker
Offline

Senior Member

Posts: 733
Threads: 54
Joined: May 2005
#13
2006-12-04, 11:46 PM
wtg Wrote:How's your disk space? If the disk is getting close to full and badly fragmented, the process can take considerably longer and the video will be jerky on playback, though the jerkiness will go away if you defragged it.

As far as diagnosing the aborts goes, try redirecting output from comclean and retime to a log file, and perhaps add a couple redirected echos to a log file to let you know where you are in the process. That way you'll have something to look at when it fails and perhaps give you a clue about what's happenning.

The disks are fine, defragmented on a regular basis. I had the day off today and ended up spending most of it trying to diagnose the problem. I think most of the problem is my system being ready for it's yearly wipe and rebuild. I tried a couple of small recordings with no processing at all and they stuttered a bit, After a reboot they seemed fine.

The only thing that's been consistant thruout is if the bat file was going to fail it was going to be on the first recording of a back to back recording session. The process is taking about 3 times longer than it used to to wipe the commercials but i think that's where a rebuild is needed. I'll get to that in a few days. What does concern me is the batch file not completing, nor knowing exactly why and it being odd that it's the first recording of a mulitple recording session, all back to back.

As far as redirecting output to a log file, can you give me an example of that? i guess what i'd need to do is have the output of comclean and retime to a file for review. it seems to be in retime that it chokes on. Without retime it's much better but my wife loses the ability to skip forward or back since the timeline is broken.
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#14
2006-12-05, 06:00 AM
maybe try using videoredo since it keeps the timeline intact and see if that fixes the issue. If that is the case then you know its retime... Videoredo has a free trial.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
nightwalker
Offline

Senior Member

Posts: 733
Threads: 54
Joined: May 2005
#15
2006-12-05, 12:09 PM
-Oz- Wrote:maybe try using videoredo since it keeps the timeline intact and see if that fixes the issue. If that is the case then you know its retime... Videoredo has a free trial.

I can certianly try Videoredo, I ran a couple of recordings using comeclean2 with cuttermaran. That worked equally well and didn't need to have retime run on it, but it was very slow.

The problem was it also failed in the same places. Back to back recordings. It can't work if the postprocessing batch file just doesn't complete.
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#16
2006-12-05, 02:15 PM
nightwalker Wrote:I tried a couple of small recordings with no processing at all and they stuttered a bit, After a reboot they seemed fine.
If they aren't stuttering after reboot, then obviously the recording itself is fine. There's something else going on with the PC.

nightwalker Wrote:What does concern me is the batch file not completing, nor knowing exactly why and it being odd that it's the first recording of a mulitple recording session, all back to back.

As far as redirecting output to a log file, can you give me an example of that? i guess what i'd need to do is have the output of comclean and retime to a file for review. it seems to be in retime that it chokes on.

So here's what I believe is your batch file, modified to redirect the output to review.log along with some comments and timestamps. The > causes the output to be written to the file, deleting and re-creating it if it already exists, and >> causes the output to be appended to the existing file.

Code:
@echo off

echo Comskip running on %1 recorded from channel %2 >>channel.log

Rem list of channels to not run comskip on
if "%2" == "5" goto eof:
if "%2" == "71" goto eof:
if "%2" == "12" goto eof:
if "%2" == "19" goto eof:

echo Starting comskip...  >review.log
time /t                       >>review.log
comskip %1                >>review.log  2>>&1

echo Starting comclean... >>review.log
time /t                          >>review.log
call comclean %1            >>review.log  2>>&1

echo Starting retime...     >>review.log
time /t                          >>review.log
call retime %1                >>review.log  2>>&1

echo Retime complete.    >>review.log
time /t                         >>review.log

del "%~dpn1_original.mpg"
del "%~dpn1_clean.mpg"
move "%~dpn1_original.mpg" E:\holding
move "%~dpn1_clean.mpg" E:\holding
del "%~dpn1.log"
del "%~dpn1.txt"
del "%~dpn1.VPrj"
:eof

You should be able to look at review.log afterwards and see if there are any errors, and see approximately how long each step took.

Good luck.
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#17
2006-12-05, 02:28 PM
Another thought... have you installed new software recently or running extra services? Are you sure your PC isn't simply running out of memory and swapping to disk? That would definitely make it run slower and stutter, and might explain it being intermittant. Processing MPG files takes a pretty good chunk of memory too.

Also, just for kicks you might try deleting and recreating to swap file too, defragging before re-creating it to make sure it's recreated contiguously.
nightwalker
Offline

Senior Member

Posts: 733
Threads: 54
Joined: May 2005
#18
2006-12-05, 02:44 PM
wtg Wrote:If they aren't stuttering after reboot, then obviously the recording itself is fine. There's something else going on with the PC.



So here's what I believe is your batch file, modified to redirect the output to review.log along with some comments and timestamps. The > causes the output to be written to the file, deleting and re-creating it if it already exists, and >> causes the output to be appended to the existing file.

Code:
@echo off

echo Comskip running on %1 recorded from channel %2 >>channel.log

Rem list of channels to not run comskip on
if "%2" == "5" goto eof:
if "%2" == "71" goto eof:
if "%2" == "12" goto eof:
if "%2" == "19" goto eof:

echo Starting comskip...  >review.log
time /t                       >>review.log
comskip %1                >>review.log  2>>&1

echo Starting comclean... >>review.log
time /t                          >>review.log
call comclean %1            >>review.log  2>>&1

echo Starting retime...     >>review.log
time /t                          >>review.log
call retime %1                >>review.log  2>>&1

echo Retime complete.    >>review.log
time /t                         >>review.log

del "%~dpn1_original.mpg"
del "%~dpn1_clean.mpg"
move "%~dpn1_original.mpg" E:\holding
move "%~dpn1_clean.mpg" E:\holding
del "%~dpn1.log"
del "%~dpn1.txt"
del "%~dpn1.VPrj"
:eof

You should be able to look at review.log afterwards and see if there are any errors, and see approximately how long each step took.

Good luck.

I'll add that in and see if it gives me a clue, thank you very much for the tips.
nightwalker
Offline

Senior Member

Posts: 733
Threads: 54
Joined: May 2005
#19
2006-12-05, 02:54 PM
wtg Wrote:Another thought... have you installed new software recently or running extra services? Are you sure your PC isn't simply running out of memory and swapping to disk? That would definitely make it run slower and stutter, and might explain it being intermittant. Processing MPG files takes a pretty good chunk of memory too.

Also, just for kicks you might try deleting and recreating to swap file too, defragging before re-creating it to make sure it's recreated contiguously.

It's been a strange go round with this. I'm running a dedicated GBpvr machine with 1Gig of ram. I don't even use the PC to view anything on, I use the MVP's exclusively for viewing or listening to music. The last time i touched it to add anything was to update to 98.13. That seemed to go well and all was working, as far as i know. I don't use it much for recording or viewing videos myself, that's my wife's domain. I set it up to record all her soaps and it's been humming along for a very long time doing really well. I wouldn't have known anything was wrong until she told me her soaps were jumping around some. She said it had been doing that awhile but she couldn't remember how long. Looking at the logs didn't show anything wrong but looking in the directories were her recordings are stored did. It was full of log, txt, original files that should have been taken care of by the postprocessing bat file.

It may be that there is something wrong in the system itself and a wipe and rebuild is what's needed but since it does so little to start with I'm not quite convinced that's what it is so far. I've installed GBpvr in another clean system as a test and setup almost the exact same system. I'll let them both run today and see if there is any difference between them. If nothing else it'll be interesting. Smile
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#20
2006-12-05, 03:02 PM
Check available memory after it's been running for a while, and check it as soon as you see the problem again. Maybe you have some renegade process that's eating up memory.

1 GB of ram is certainly more than enough for a dedicated GB-PVR machine, but if your running something with a bad memory leak, it doesn't matter how much ram you have.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Conversion Processing paul1 1 2,880 2012-10-01, 10:07 AM
Last Post: Graham
  file types of recorded TV paul1 3 3,763 2012-09-30, 05:20 PM
Last Post: sub
  GBPVR Database question - Recording Schedule David B 1 1,672 2010-11-08, 09:21 PM
Last Post: sub
  Descriptive Audio Service Question mikeh49 3 3,185 2010-10-21, 10:49 PM
Last Post: sub
  No Data In the Recorded File zb1 5 2,358 2010-08-24, 01:08 AM
Last Post: zb1
  Italian channels post and a question about compatibility with Seven 64 bit pinopallino 2 1,702 2010-08-18, 09:14 AM
Last Post: pinopallino
  Path to file being recorded. brianj 5 2,428 2010-08-08, 10:58 PM
Last Post: brianj
  error: failure playing back file yonu 4 2,122 2010-07-12, 12:52 AM
Last Post: yonu
  UK Freesat Scan.cache File jeffers 3 2,134 2010-05-25, 10:34 PM
Last Post: jeffers
  Newbie Question rthefish 4 2,146 2010-05-25, 08:06 PM
Last Post: pBS

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

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

Linear Mode
Threaded Mode