|
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 |
#721
|
||||
|
||||
Quote:
Unfortunately, this doesn't help comskip. Comskip, as a console application, has no awareness of windows messages. I will investigate this and may incorporate this ability. Thanks, Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#722
|
||||
|
||||
Jere,
Way of the road here, but how hard would it be for comskip to determine the AR of the recording, ie figure out if it were letterbox or not? |
#723
|
|||
|
|||
its already in his algorithm... it uses it as one of the factors in determining what are the commercials... its pretty straight forward, just look at the frame and see if the top and bottom sections have an avg brightness below some threshold, and the center section has some brightness above some threshold (to filter out those times that you have just a entirely black screen, or just a logo in the center.
One of the things that I think might make the comskip application better, is if its output were a bit more informative than just the commercial frames... if you seperate out the gathering data about frames, and maybe creating blocks, and then left the deciding which blocks were commercials to a seperate application (maybe integrated, or linked into sage) then it would be possible to analyze a file, but then fiddle with parameters to have it detect commercials better, or do things like you seem to be alluding too... add extra functionality. would make tuning the parameters to make the system work the best on your system a bit easier too, as its extra the data that takes the most time. |
#724
|
||||
|
||||
Quote:
|
#725
|
||||
|
||||
Quote:
Great idea. |
#726
|
||||
|
||||
Well, it started with the DVD metadata, DVD Profiler provides AR for each disk and whether it's anamorphic or not, based on that, it wouldn't be hard to make the media player switch to a given AR based on a flag in the metadata. The tricky part is Sage recordings, since they're all 4x3 or non-anamorphic. But Jere already does AR detection it sounds like, so if he could spit out a flag (letterbox = yes/no) it wouldn't be too hard to extend it to everything.
|
#727
|
||||
|
||||
Quote:
I could put the information inside the .txt file, but then using the information becomes MUCH harder. Of course, all my musing is for naught. The real questions are: Will Cayars implement such a beast? If so, how does HE want the information? Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#728
|
||||
|
||||
Mysql?
I just suggested this over on Cayars board.. would it be possible to implement a MySql database to store all this info in? I too have so many text files of various types that my directories are a mess.. seems like it should be possible to make a database entry for each show and then have all the necessary data for each of those shows contained within that object. I'd imagine one could then create .proj files or whatever dynamically by querying the database as needed for burning or whatever, then clean them up again at the end of the project.
I believe MythTV already uses MySQL for some of this.. seems like a logical way to store data.. too many files just gets too messy.. |
#729
|
||||
|
||||
Quote:
I had figured just put it in the TXT file, somewhere where it wouldn't screw stuff up. |
#730
|
||||
|
||||
Hi Jere,
I need you help. For me the old comskip.exe 0.21 works much better than your newer versions. What has changed since then? Did the old 0.21 version also did all the tests like black frame, logo, scene change, fuzzy logic - check? I want to use the new versions, mainly because if Cayars plans to outsource comskip off the stv, but the old works so much better. What settings do you suggest? I live in Germany, so I could not use CC. My settings: (the important ones) v.21: Code:
fps=25 border=10 max_brightness=120 test_brightness=80 max_avg_brightness=15 max_commercialbreak=700 min_commercialbreak=30 max_commercial_size=180 min_commercial_size=30 require_div5=0 div5_tolerance=.75 Code:
detect_method=15 fps=25 border=10 max_brightness=180 test_brightness=60 max_avg_brightness=60 max_commercialbreak=700 min_commercialbreak=30 max_commercial_size=180 min_commercial_size=30 require_div5=0 give_up_logo_search=600 two_pass_logo=1 ;start over after finding logo? Oliver
__________________
Oliver Kötter ------------ Check this thread for importing German TV Data into SageTV Using SageTV 7.1.9, Java 1.6.0_24 Win7 Home Premium on an Asus M4N78-AM Mainboard, AMD Athlon II X2 215, 4 GB RAM, 500 GB HDD, 2xTechnoTrend S-2400 as Network Encoder (LM DVB Smart Recorder), ATI Radeon HD 3450 with analog TV-Out on good old CRT TV (100Hz) My avatar shows the world's best composer!!! |
#731
|
||||
|
||||
If you set detectmethod = 1, then .21 and .65 should find exactly the same commercials. Version .21 only did checks for black frames.
I'd like to get my hands on some recordings from Europe to see why comskip doesn't work over there since the fundamentals should be the same. Then I could probably help you better. Jere Quote:
I'd sure would like to get my hands on some recordings from Europe to see why comskip doesn't work over there since the fundamentals should be the same. Then I could probably help you better. Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#732
|
||||
|
||||
Quote:
Quote:
Let me know if I should upload some shows for you, I will PM you the link when done so. Oliver
__________________
Oliver Kötter ------------ Check this thread for importing German TV Data into SageTV Using SageTV 7.1.9, Java 1.6.0_24 Win7 Home Premium on an Asus M4N78-AM Mainboard, AMD Athlon II X2 215, 4 GB RAM, 500 GB HDD, 2xTechnoTrend S-2400 as Network Encoder (LM DVB Smart Recorder), ATI Radeon HD 3450 with analog TV-Out on good old CRT TV (100Hz) My avatar shows the world's best composer!!! |
#733
|
|||
|
|||
I've been trying to use this, I can get it to run by manually doing it at the command prompt (but can't get sage to play it like that). I have yet to find it inside Sage. I imported the stv in Sage but don't see it anywhere. I've seen mention to look for Custom Menus then settings, but I don't see custom menus anywhere. Is there a keyboard shortcut I need to do to pull up that menu?
I'm running Sage 2.1 and the only stv I've imported was this one. Thanks |
#734
|
||||
|
||||
Follow the instructions on Malore's STV Homepage. I've update the first post to indicate this and that the latest version of my STV updated for use with SageTV 2.1 can be found there.
Note: Several other custom STV files have added support for comskip. So feel free to try them as well. Last edited by malore; 02-02-2005 at 01:06 PM. |
#735
|
||||
|
||||
What SVT's support the live tv realtime processing of commskip? Are there any that work with 2.0.1? I don't want to have to upgrade if I don't have too, my system works great. Thanks.
|
#736
|
|||
|
|||
Is there a version of COMSKIP available for Linux? I am thinking about deploying a customized sage, but all my media is stored on a linux system and remote mounted, and it would be much more efficient to run comskip on the fileserver than on the Sage machine.
Also, now that Myth is releasing an improved commercial skip code base, will these changes be put into comskip? Thanks, Mike |
#737
|
||||
|
||||
Quote:
And, BTW, the improved commercial skip code base that MythTV is releasing came from the comskip that Sage users have had for a while now. Unless there is something that I didn't notice, there isn't anything new to add. Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#738
|
|||
|
|||
Sort of, but not really.....
Quote:
The improved code base in MythTV did NOT come from comskip, I put a comment in my source saying that the edge detection IDEAS for logo detection came from comskip, but none of the code did and the other ideas that have gone into the improved detection base in Myth have been on my TODO list for a couple years now. I've been working on the commercial detection code in Myth for over 2 years now off and on, and I think I'm safe in saying that most of the detection methods you have implemented have been mentioned on the Myth mailing lists at least 3-4 times and probably on the net in other locations more than that. Not trying to get mean or anything, but I don't like the inference that my code is a copy of comskip source. I've got a list a page long of detection ideas that I've come up with or that MythTV users have mentioned on the lists, so just because a feature is added to Myth doesn't mean that the code was copied from your source (which was a direct copy of my original Myth code I might add). Chris Pinkham |
#739
|
|||
|
|||
Linux patch and Makefile
Quote:
The patch includes a Makefile and README.Linux file that should be enough to get you going if you do want to do anything with it. http://www4.infi.net/~cpinkham/tmp/comskip_linux.patch |
#740
|
||||||||
|
||||||||
Quote:
Quote:
Quote:
These are my comments on each new feature and why I made the comment I did: Quote:
Quote:
Quote:
Quote:
Quote:
Having calmed down and given this some thought, here is my comment: Comskip was born from MythTV's commercial detection routines and owes it's existence to that code. Comskip has since grown and morphed into it's own identity that (IMHO) is innovative in some areas. As far as I can tell, some of the improvements to MythTV's commercial detection code have previously been incorporated into comskip. The other's are not relevant to Sage's use of comskip. If I'm missing something, please let me know. Regarding the linux patch, I have been unable to get it to successfully merge with any windows patching tools, but I will patch it manually and then commit it to the sage-community website. Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|