|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#221
|
||||
|
||||
I've had a couple inquiries stating that the precompiled version in the jeredev branch chose different commercials than if compiled with code from the same branch. The only thing I can say is *shrug*. I built that exe right before I commited the changes and the changes to the code were commited as well. Are you (plural) using the same .ini file?
On a different topic -- is comskip ever going to be final? I expect that when comskip detects 100% of the commercials, then it will be final, but this is really malore's project. I'm just trying to help. So I can't say for certain what he wants to do with it. BUT... here's a list of what I plan to include (or would like to see included): 1) Add audio decoding to comskip (useful for detecting silent black frames vice only black frames) ANY help with this would be appreciated!!!!!!! PM me if you can help. 2) Add scene change analysis 3) Add volume analysis 4) Add automatic selection of ini based on either a CLI switch or filename of input file (different settings work better on different shows) Basically I want comskip to work 99.99%. That is going to require a variety of detection methods. During my vacation, I rewrote almost all of comskips analysis routines to allow for easier inclusion of future techniques and more intelligent selection of commercials (I call it my fuzzy logic routines). I just got home so give me a little while to settle and I'll commit what I've done. Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#222
|
||||
|
||||
I just thought I would put in a word of thanks for everyone that has been working on this project! The commercial skipping is where it's at! I've only used it for the last couple days and I'm not sure I'll be able to watch a live show again.
On a side note I've had relatively decent success with the detection. I'll probably try the latest from Jere as soon as he gets it recompiled to see if that helps with some of the beginning/end of show problems that I've seen. Otherwise this works really well! Now I just need to search the forums so I can figure out how to modify stvs so I can add the weather module I've seen in other's |
#223
|
||||
|
||||
Quote:
True, commercials also have closed captioning, but I do believe that even a small Closed Captioning break of 1 second (with a black screen) after having them on constant for at least 5 minutes (during a show) would probably be a dead give-away. Lauren |
#224
|
||||
|
||||
Quote:
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#225
|
||||
|
||||
Quote:
Anyway, thanks for the thoughtfulness |
#226
|
|||
|
|||
So can I run this comskip stv on my server & another stv on my client? Then I would only need to map the comskip button on my remote & set the server only to do the processing, as long as I'm using UNC recording dirs?
Last edited by Grey_Goose; 09-13-2004 at 10:55 PM. |
#227
|
||||
|
||||
Quote:
It has been my experience that in order for the client to know that the commercials are there it has to be running malore's stv with the commercial advance beta. Of course I'm knew at this so I may be missing something, but so far as I know if everything isn't set up just so then the client won't have a clue about the commercial skipping. Now if that isn't an issue to you, then yes, you can run a different stv on the client and it'll work just fine, without commercial advance. |
#228
|
||||
|
||||
Quote:
You would have to be fairly certain that the comskip data is accurate or you run the risk of editing out the important stuff. For those of us with an MVP, until a true Sage Front End comes along, this would be a godsend! -Jason |
#229
|
||||
|
||||
Quote:
At least this would be true until the day if/when Sage implements comskip internally.... Lauren |
#230
|
|||
|
|||
Is there a parameter for the start and end "padding" for playback with commercial skip? It seems to play several seconds of commercial before skipping forward. It is just long enought that I grab for the remote. I would think it would be pretty easy to nail the commercial start to the black frames and not need the pad. I think it may be a good idea to have some pad on the show restart so that everything can get back in sync. I did not see these parameters in the config file. Have I missed them?
|
#231
|
||||
|
||||
Quote:
Not to mention that you have to divide the frame # that ComSkip gives you by 29.97 for NTSC That would, I assume, give you a slight timing problem (well, that and the jumping to I-frames in an MPEG file that probably occurs) Lauren |
#232
|
|||
|
|||
troubles
I'm having a little trouble with commercial advance. I have been trying to run it by dropping xxx.mpg files onto the conskip.exe to try to refine the comskip.ini parameters.
Seems like the first time I try it it runs until it finds a logo then stops, leaving the xxx.logo.txt file and a 0 byte xxx.txt file. Then, if I run it again it runs to completion. If I set the detect_method=1 it runs OK, set to 3 or 15 I get this two pass behavior. I have tried changing all the parameters in the .ini file that seem relevent but no help there. Any ideas what could be causing this? Thanks, Lynn Running the latest nielm STV, comskip from 1 Sep, XP pro and this for comskip.ini detect_method=3 ; 1=black frame, 2=logo, 15=all verbose=1 ;show extra info fps=29.97 ;frames per second (NTSC=29.970, PAL=25) border=10 ;border around edge of video to ignore max_brightness=180 ;frame not black if any pixels checked are greater than this (scale 0 to 255) test_brightness=60 ;frame not pure black if any pixels checked are greater than this, will check average brightness (scale 0 to 255) max_avg_brightness=45 ;maximum average brightness for a dim frame to be considered black (scale 0 to 255) max_commercialbreak=280 ;maximum length in seconds to consider a segment a commercial break min_commercialbreak=59 ;minimum length in seconds to consider a segment a commercial break max_commercial_size=150 ;maximum time in seconds for a single commercial or multiple commercials if no breaks in between min_commercial_size=1 ;mimimum time in seconds for a single commercial require_div5=0 ;0=off, set=1 to only mark breaks divisible by 5 as a commercial. Standard sizes (15,20,30,45,60,90,120 second) div5_tolerance=.75 give_up_logo_search=800 ;in seconds, how far into the show to search for a logo before giving up play_nice_start=1700 ;at what time of the day should comskip slow itself down play_nice_end=2359 ;ending time for self slowing delete_logo_file=1 ;delete logofile after use? |
#233
|
||||
|
||||
What OS are you running? I wrote the code on XP Pro. If your running something different, that might be the problem.
Try running it from a command line and let me know what happens. Jere *EDIT @ 19:36* I was just reviewing the code and I think I saw a problem. Do you happen to have any spaces in your path to comskip or the mpeg file?
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
Last edited by Jere_Jones; 09-21-2004 at 05:37 PM. |
#234
|
|||
|
|||
Jere,
Running XP pro. Spaces could be the problem as my files are in "C:\Video Files" and similarly on D: Can you point me to info on the command line parameters? I tried searching but was not successful on the first try. Thanks, Lynn |
#235
|
||||
|
||||
The only command line parameter is the filename. The basic decoding of the video comes from mpeg2dec and the usage code is still in there, but the only thing that works is:
comskip filename I've corrected the bug regarding the spaces and will commit to the svn on the sage community website as soon as I can. Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
Last edited by Jere_Jones; 09-21-2004 at 06:33 PM. |
#236
|
|||
|
|||
Thanks,
I did try renaming the folder to Video_Files and still see the same behavior but I will look forward to trying your revised file when it is available. I'll also try the command line execution later. Lynn I should add that this is actually working very well, at least for the things I watch. Adding the logo detect is a big step. Thanks for all of your work as well as malore's and all the others who have contributed. Last edited by ellweber; 09-21-2004 at 06:18 PM. |
#237
|
|||
|
|||
new information
Jere,
I now think that the problem I have described only occurs to files that are on a different drive. When I run comskip on a file that is on the same drive [C:] as the executable all is well. When I try to process a file that is on D: then no luck as previosly described. Clues? Lynn |
#238
|
||||
|
||||
Re: new information
Quote:
Try copying COMSKIP.EXE and put it in your WINDOWS folder (or any other folder in your PATH environment variable). Maybe that will do the trick. Lauren |
#239
|
|||
|
|||
more testing
I have all my Sage recorded files in C:\Video Files and D:\Video Files. With comskip in the SageTV folder on C: the files that are in C:\Video Files are processed correctly. With comskip in the SageTV folder or in the D:\Video Files folder the problem noted above still occurs.
However, if I change the folder name to D:\VideoFiles then all is well using the local copy of comskip. I am optimistic that Jere's change regarding spaces in paths will resolve this but I may just change the folder names and take the easy way out! Thanks for all the help. Lynn |
#240
|
||||
|
||||
I am still having trouble with detecting commercials.
I can get every black frams detected fine, but the actual calculation of commercials just doesn't work. No matter how much I play with and tweak and change the settings it won't calculate the breaks. At the beginiing it was detecting some commercial breaks, but was right about 5% of the time, now I have tried adjusting the commercial sizes and breaks from 2 seconds right up to 9 minutes, tried playing with the div 5 setting and the tolerance from 0.01 through to 2 I am now at a loss, as it seems that all of my latest attempts result in absolutely no commercials being detected at all - even after resetting everything back to original. Does anyone have the logic details that describe how the frames are calculated into a commercial?
__________________
"I Love it when a plan comes together" |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|