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 … 269 270 271 272 273 … 1231 Next »
looping: conversion/commercial detection queue

 
  • 0 Vote(s) - 0 Average
looping: conversion/commercial detection queue
dejunai
Offline

Junior Member

Posts: 24
Threads: 4
Joined: Dec 2006
#1
2008-08-20, 06:53 PM
looping: conversion/commercial detection queue

Hello All...

Been using GBPVR for 2 years or so...
Been using v1.2.13 since it's release in May...
Have had zero issues with it, until now...

And this is a doozey, lol.

Code:
2008-08-20 09:46:25.734    VERBOSE    [5]    Adding T:\Recordings\Law & Order Special Victims Unit\Law & Order Special Victims Unit_20080819_18001900.mpg to commercial detection queue
2008-08-20 09:46:25.734    VERBOSE    [5]    Adding T:\Recordings\Law & Order Special Victims Unit\Law & Order Special Victims Unit_20080819_18001900.mpg to conversion detection queue
2008-08-20 09:46:26.015    VERBOSE    [5]    Recording has passed endtime+padding. Stopping.
2008-08-20 09:46:26.015    VERBOSE    [5]    Stopping recording oid:3
2008-08-20 09:46:26.015    VERBOSE    [5]    Adding T:\Recordings\Law & Order Special Victims Unit\Law & Order Special Victims Unit_20080819_18001900.mpg to commercial detection queue
2008-08-20 09:46:26.015    VERBOSE    [5]    Adding T:\Recordings\Law & Order Special Victims Unit\Law & Order Special Victims Unit_20080819_18001900.mpg to conversion detection queue
2008-08-20 09:46:26.281    VERBOSE    [5]    Recording has passed endtime+padding. Stopping.
2008-08-20 09:46:26.281    VERBOSE    [5]    Stopping recording oid:3
2008-08-20 09:46:26.281    VERBOSE    [5]    Adding T:\Recordings\Law & Order Special Victims Unit\Law & Order Special Victims Unit_20080819_18001900.mpg to commercial detection queue
2008-08-20 09:46:26.281    VERBOSE    [5]    Adding T:\Recordings\Law & Order Special Victims Unit\Law & Order Special Victims Unit_20080819_18001900.mpg to conversion detection queue
2008-08-20 09:46:26.562    VERBOSE    [5]    Recording has passed endtime+padding. Stopping.
2008-08-20 09:46:26.562    VERBOSE    [5]    Stopping recording oid:3

First off I dont use comskip or conversion at all...
I do however use PostProcessing.bat, but it will not run...
Needless to say when this occurs, the logs are effectively erased in a matter of minutes.
My first instinct was to go into CONFIG and ensure that there was indeed no flag for commercial detection and no settings for conversion. And as expected there were no flags or settings. Closed CONFIG, Recording Service restarted normally, but the logs just kept pouring out the same thing over and over. Next step, was to actually set the flag, and conversion settings in CONFIG, close CONFIG, reopen CONFIG, and turn it all off. And this works just fine. Until a few recordings go by, and it goes nutty again. The only thing so far that will stop this loop, is to do the above each time I discover it.

So I figured there was something screwy in the install, some essential file had fragmented, and my current install had become schizophrenic. So I jump over here, check to make sure there is no new release, pop open my current copy of GBPVR, and try to REPAIR the install. Install goes blue bar all the way across the app, then reverses and says "Error", without any detail, and I can't find a log file. ~Shrug~ Ok fine, a full removal of GBPVR, a reboot, a manual delete of the leftovers in /devnz/, a defrag, another reboot. A full re-install of GBPVR, and away she goes, and after a few hours, the above log is spewing the same nonsense at me again. LOL

What's odd is that this just started last week, so it wouldn't seem to be a problem with the current version, as it ran fine for 3 months. And the last but not least odd part... It ONLY occurs with "Law & Order" - Any flavor... Original Flavor, SVU, and CI... Now I can't be 100% cerain that it is only L&O, but I've never caught any other show in the log.

Everything else works fine... The Webserver works. The GUI works. All scheduled recordings get recorded. I dont use any plugins or add-ons, except for WizRenameRecording.exe, but since PostProcessing.bat never fires, I dont see how it could be at fault, (it was updated to latest version when I reinstalled GBPVR).

Attached Below is a LOG file, that was created after the log went screwy, I set conversion and comskip settings, and the went back in and turned them off...

LOL, I am stumpted, I hope someone can help... Any and all advice is appreciated, MUCH THANKS in advance.
-Dejunai
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#2
2008-08-20, 07:04 PM
I cant see the looping in that specific file you've attached, but if you post another log showing then I'll take a look.

On this message:
Quote:2008-08-20 11:02:00.406 VERBOSE [5] Adding T:\Recordings\Law & Order Criminal Intent\Law & Order Criminal Intent_20080820_10001100-2.mpg to commercial detection queue
I think its just the logging message that is confusing you. Replace "commercial detection queue" with "post-processing queue" in this log message to get a more accurate description of what is happening. That message isnt saying it is actually running any commercial detection, rather that it is about to be queued for any post processing steps that might be configured. When these items are pulled off the queue it does the folloing post processing logic: "if postprocessing.bat exists then run it, otherwise, if comskip is enabled then run it".

ie, you dont have some commercial detection setting enabled somewhere.
dejunai
Offline

Junior Member

Posts: 24
Threads: 4
Joined: Dec 2006
#3
2008-08-20, 07:11 PM
um, the log I attached is after I've corrected the problem.
The snippet at the top, is what is in the log files, it is repeated thousands and thousands of times, the logs are 1048kb, or whatever the rollover is, and every line in the logs is exactly the same as I posted in the snippet. the log files are about two minutes apart, so if I dont catch the problem within 10 minutes of it starting I loose everything in the log that predates the problem.

You have my unending thanks for the quick response.
I hope I have explained it better. If not I'll zip up the 5 log files, next time it occurs.

-Dejunai
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#4
2008-08-20, 07:14 PM
dejunai Wrote:um, the log I attached is after I've corrected the problem.
The snippet at the top, is what is in the log files, it is repeated thousands and thousands of times, the logs are 1048kb, or whatever the rollover is, and every line in the logs is exactly the same as I posted in the snippet. the log files are about two minutes apart, so if I dont catch the problem within 10 minutes of it starting I loose everything in the log that predates the problem.

You have my unending thanks for the quick response.
I hope I have explained it better. If not I'll zip up the 5 log files, next time it occurs.
Unfortunately I'd really need to see the log messages prior to the looping starting to be able to get anything useful to go on.

How many times has it happened? Is it every recording?
dejunai
Offline

Junior Member

Posts: 24
Threads: 4
Joined: Dec 2006
#5
2008-08-20, 07:44 PM
It happens once every other day or so. I've caught it 5 or 6 times in the past 10 to 12 days. It is definitely not every recording. And from empirical data, appears to only be happening after a "Law & Order" is recorded. I'll write a Perl Script to see if I can catch it as it starts.
-Dejunai
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#6
2008-08-20, 10:26 PM (This post was last modified: 2008-08-20, 10:50 PM by pBS.)
it maybe the & messing with your batch file running as dos uses this char to start a new command...eg: "dir & pause " will do a dir and then do a pause with only 1 command line. Big Grin

so if you pass it to a batch without " "quotes, it will try to run whatever's after &..
[would process Law , then would try to run Order Criminal Intent_20080820_10001100-2.mpg]
not a big problem for batches, just have to make sure everything passed is quoted..Smile

post your postprocessing.bat and i'll see if i can't spot the problem..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
dejunai
Offline

Junior Member

Posts: 24
Threads: 4
Joined: Dec 2006
#7
2008-08-21, 04:37 AM (This post was last modified: 2008-08-21, 05:21 AM by dejunai.)
My PostProcessing.bat is fairly straight forward, however since it isn't executing, I dont think it is the problem. But it is posted below...

Code:
@echo off
:READY
echo %2 > "%~dpn1.tag"
echo %1 >> "%~dpn1.tag"
goto RENAME

:RENAME
WizRenameRecording.exe %1 ({episode}{or}{month}{day}@{hour})
if %ERRORLEVEL%  NEQ 0 goto ERROR
goto END

:ERROR
echo =================================== >> RenameRecording.log
echo --- (%2) - %1 >> RenameRecording.log
echo ----------------------------------- >> RenameRecording.log
echo --- ErrorLevel --- %ERRORLEVEL% --- >> RenameRecording.log
echo =================================== >> RenameRecording.log

:END
exit

I did manage to catch the logs, when the problem occurred again. So below is the attached ZIP of the logs leading up to the issue. They are the "GBPVRRecordingService.exe-3.log" named as <time_since_epoch>--<seconds_since_last_log>.log, I wrote a Perl script to monitor the log for size changes. So each time it was replaced the script backed it up. And as before it was "Law & Order", LOL...

I hope we can figure this out, And I swear it worked for months, then just started freaking out. I was dumbfounded it when it reappeared after the re-install, so clearly it would seem isolated to something I have going on in my setup.

-Dejunai
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#8
2008-08-21, 08:14 PM
To be honest, I dont know. I've spent the last half hour trying to reproduce it here, by rename various short kids shows to 'Law & Order' and doing record them, and it seems record and run the postprocessing ok.

On a hunch, maybe try setting <TryToHonourPaddingIfPossible> to false in config.xml to see if it makes any difference.
dejunai
Offline

Junior Member

Posts: 24
Threads: 4
Joined: Dec 2006
#9
2008-08-21, 09:15 PM
LOL,

It is so weird... The GBPVR machine is a closed system, no monitor, no keyboard. I admin it by VNC, and like I said it was working fine for months. Suddenly this error just appeared. I am usually very good at troubleshooting issues in software, but this one is (as I originally said) a doozey. :confused:

I appreciate the help. I still have the Perl script monitoring the logs, I'll see if I cant find some commonality to what set's off the problem. I was considering that it might somehow be (I have two input cards) that two L&O's end at the same time. Alas this was not the case last night.

Anyway, I appreciate the time and effort it takes to review the logs and respond quickly. I'll update the thread if I figure anything out.

-Dejunai
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#10
2008-08-22, 12:21 AM
My guess it is related to

Code:
2008-08-20 11:02:03.531    VERBOSE    [5]     - checking Law & Order: Special Victims Unit
2008-08-20 11:02:03.531    VERBOSE    [5]     - checking Law & Order: Criminal Intent
2008-08-20 11:02:03.531    VERBOSE    [5]     - checking Law & Order: Criminal Intent

In NTFS you can't use the semi-colon in a filename even if it is quoted.

Martin
« 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
  Conversion Processing paul1 1 2,879 2012-10-01, 10:07 AM
Last Post: Graham
  Unexpected error removing recording from conversion queue pvrproblems 1 1,616 2010-09-03, 03:51 AM
Last Post: sub
  avermedia hybrid volar max analog detection support bspurloc 4 2,407 2010-07-02, 05:38 PM
Last Post: sub
  Questions regarding gbpvr's conversion processing and auto-convert mpg recordings. HYBRiD.BLiNG 1 1,495 2010-04-16, 12:39 AM
Last Post: Graham
  Conversion processing TRANSCODE_QUEUE mechanism luttrell1962 4 1,980 2010-02-24, 08:19 PM
Last Post: sub
  Recorded program not playing PVRX2 changed file extension to avi before conversion luttrell1962 5 2,012 2010-02-16, 07:05 PM
Last Post: luttrell1962
  File conversion queue how does it work luttrell1962 6 2,599 2010-02-08, 12:40 AM
Last Post: luttrell1962
  Commercial editing Bobbing 2 2,139 2010-01-31, 04:54 AM
Last Post: JavaWiz
  Commercial Detection Setting in Config ww4397 5 1,872 2010-01-01, 04:32 PM
Last Post: sub
  TS to MPG conversion not working drdr6 1 1,419 2009-11-28, 08:23 PM
Last Post: dvasco

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

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

Linear Mode
Threaded Mode