SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #121  
Old 04-18-2006, 07:25 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by dshields
I am new to SageTV. I have been using it for just a couple days. I want commerciail skip features like I had in my ReplayTV boxes. I have already spent a couple hours reading about how to do this and following threads and I am still confused (mostly because of discussions relating to SageTV version 3 and older).

In particular, at the Comskip Wiki, the screen shots look nothing like what I see in SageTV v4.

I have installed DirMon2, Comskip v79.33, and the stvi. Unfortunately, even after reading the forums, it's still not clear how to get this to work from my client (MediaMVP).

Supposedly, I cannot use UNC paths with SageTV running as a service. But it appears comskip needs UNC paths.
Nope, you cannot use mapped drives, UNC paths work just fine

Quote:
I have a bunch of other questions after reading all the posts about older versions, but is it possible that someone could help me understand the most simple way to use ComSkip with SageTV v4 (latest) and the MediaMVP? Thanks!
The basic theory hasn't changed, you need 3 things:

1) An application to detect and mark commercials, like ShowAnalyzer (my choice) or Comskip
2) Something to run said app on recordings, originally this was part of an STV (SageTV Application Package), but things have leaned in favor of Dirmon/Dirmon2.
3) An STV for Sage capable of reading the commercial files and skipping (or allowing you to skip) commercials.


How to do that?
1) Just download and install (ShowAnalyzer)
2) Download, install, and then setup - With dirmon(2) you just install and setup the location of the recordings, the location of the app from 1, and what files it should look for (mpg)
3) The easiest way is to just download neilm's comkip import and import that in SageTV.

There are more detailed instructions are posted in the threads/pages for each.
Reply With Quote
  #122  
Old 04-19-2006, 10:33 AM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Quote:
Originally Posted by stanger89
Nope, you cannot use mapped drives, UNC paths work just fine



The basic theory hasn't changed, you need 3 things:

1) An application to detect and mark commercials, like ShowAnalyzer (my choice) or Comskip
2) Something to run said app on recordings, originally this was part of an STV (SageTV Application Package), but things have leaned in favor of Dirmon/Dirmon2.
3) An STV for Sage capable of reading the commercial files and skipping (or allowing you to skip) commercials.


How to do that?
1) Just download and install (ShowAnalyzer)
2) Download, install, and then setup - With dirmon(2) you just install and setup the location of the recordings, the location of the app from 1, and what files it should look for (mpg)
3) The easiest way is to just download neilm's comkip import and import that in SageTV.

There are more detailed instructions are posted in the threads/pages for each.
Thank you very much

I think I correctly performed all 3 steps you list. However, I did not get any commercial skipping on my MediaMVP. In fact, the comskip setup options do not appear in my client, even though I saw and reviewed them on my server.

So my questions are:
1. Do I need to perform the stvi import on the client (even though I did it already on the server)?
2. Do I need to reboot the server after all this? I didn't. I did reboot the client, but that didn't help. My server is headless, runs W2K3, and only runs SageTV and related apps.
3. Could someone provide me a link to the correct stvi file (neilm's comkip import)? I think I found the correct one, but it wasn't easy to find it. I only found one. The file name is "comskip_playback_import.stvi". I can't paste the link where I found it because Spurl.Net is down today

4. Does any see any problem with me using the exact comskip .ini file used by jlindborg at this post? - http://forums.sagetv.com/forums/show...t=16237&page=2

5. Lastly, is there a post that describes the best way to set up the MediaMVP remote buttons for use with comskip?

Thanks!
Reply With Quote
  #123  
Old 04-19-2006, 11:07 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by dshields
Thank you very much
1. Do I need to perform the stvi import on the client (even though I did it already on the server)?
Yes. This is your stopper. The MediaMVP is just another Sage client. If you want it to do something different then you need to import the appropriate .stvi. The .stvi you're using for comskip is fine. You just need to import it on your client where you're trying to use it.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #124  
Old 04-19-2006, 11:14 AM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Thanks!
Reply With Quote
  #125  
Old 04-19-2006, 03:25 PM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
After doing all this and installing the stvi on the MediaMVP client, I still do not get any commercial advance functionality.

What troubleshooting steps should I try?
How can I determine if everything is functioning correctly?

Thanks
Reply With Quote
  #126  
Old 04-19-2006, 03:58 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Are you getting txt files with your recordings (on the HDD)?
Reply With Quote
  #127  
Old 04-19-2006, 04:04 PM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Yes. I know that comskip processed all my mpg files after I installed it and dirmon2. The process took several hours and comskip created .txt files related to all my mpg files.

I actually think the problem is that comskip just isn't working well for me. I just opened up several of these text files and typically the only frames marked as commercials are at the beginning and end of the video. I didn't see a single .txt file with more than 3 segments marked and all were at either the beginner or end of the mpg.

Should I try SA instead? Or has someone figured out how to configure comskip.

Last edited by dshields; 04-19-2006 at 04:07 PM.
Reply With Quote
  #128  
Old 04-19-2006, 05:50 PM
antplugger antplugger is offline
Sage Advanced User
 
Join Date: Sep 2005
Posts: 167
I have the same problem running comskip from dirmon. I did report the problem but have not followed up on whether it got resolved Anyhow, I found if I ran comskip manually from cmd.exe it worked perfectly and thats the way I use it today as I only use it selectively
Reply With Quote
  #129  
Old 04-19-2006, 06:49 PM
blade blade is offline
SageTVaholic
 
Join Date: Jan 2005
Posts: 2,500
Quote:
Originally Posted by dshields
Yes. I know that comskip processed all my mpg files after I installed it and dirmon2. The process took several hours and comskip created .txt files related to all my mpg files.

I actually think the problem is that comskip just isn't working well for me. I just opened up several of these text files and typically the only frames marked as commercials are at the beginning and end of the video. I didn't see a single .txt file with more than 3 segments marked and all were at either the beginner or end of the mpg.

Should I try SA instead? Or has someone figured out how to configure comskip.
Yes, use SA. You should find that it's a lot more accurate for you. I have the same problem you do when using comskip but SA works just fine.
Reply With Quote
  #130  
Old 04-20-2006, 09:02 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
It would help me a lot when some of you that have bad detection results with comskip would mail me the .csv file and .log file generated by comskip when you set
verbose=10
and
output_framearray=1
in the comskip.ini file.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #131  
Old 04-20-2006, 09:45 AM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Quote:
Originally Posted by erik
It would help me a lot when some of you that have bad detection results with comskip would mail me the .csv file and .log file generated by comskip when you set
verbose=10
and
output_framearray=1
in the comskip.ini file.
That sounds simple enough. I'll do it right away if someone will tell me how to run comskip from the command line on a specific .mpg file.

I assume the .csv file is the result of "output_framearray=1", right?

Erik, do you need the .mpg file along with the .log file?

Where should I email the .zip file to? Thanks, and I hope I can help.
Reply With Quote
  #132  
Old 04-20-2006, 09:58 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Simply drag and drop the mpeg file onto comskip.
Either by creating a shortcut to comskip.exe on the desktop or directly onto the executable in its folder.

If you are able to upload the mpeg that would be nice.
I will PM you the upload details.

The rest is OK to zip and to mail to me at
erik@kaashoek.com
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #133  
Old 04-20-2006, 11:19 AM
blade blade is offline
SageTVaholic
 
Join Date: Jan 2005
Posts: 2,500
I think many of the bad detections are from comskip's problems finding it's .ini file when using Dirmon2. I dropped the .ini into the system32 folder and it seems to have fixed my detection problems.
Reply With Quote
  #134  
Old 04-20-2006, 12:30 PM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Quote:
Originally Posted by erik
Simply drag and drop the mpeg file onto comskip.
Either by creating a shortcut to comskip.exe on the desktop or directly onto the executable in its folder.

If you are able to upload the mpeg that would be nice.
I will PM you the upload details.

The rest is OK to zip and to mail to me at
erik@kaashoek.com
Erik, thanks for the instructions, but I don't think this is necessary now. After doing what you suggested, I found out that comskip processed the file correctly. (This is the first time it has ever done that for me!) Then I read Blade's post about the potential .ini problem with DirMon2 and it all makes some sense.

When I run comskip with DirMon2, it processes very poorly (like others have explained in this forum), but when I run it by dropping a specific mpeg on the .exe, it processes very well.

I already have SA installed now, so I'll try that for a couple days, then I'll try blade's suggestion of putting the comskip.ini file in System32 (or editing my path env var) and compare the results.

Sounds like this mysterious problem may be near solved.
Reply With Quote
  #135  
Old 04-20-2006, 12:33 PM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Quote:
Originally Posted by blade
I think many of the bad detections are from comskip's problems finding it's .ini file when using Dirmon2. I dropped the .ini into the system32 folder and it seems to have fixed my detection problems.
Comparison of 1) comskip run under DirMon2, 2) SA run under DirMon2, 3) comskip run by dropping MPG onto comskip.exe.

1) comskip run under DirMon2:
FILE PROCESSING COMPLETE 107867 FRAMES AT 2997
-------------------
1 1111
107866 107867

2) SA run under DirMon2:
FILE PROCESSING COMPLETE
------------------------
13596 18101
35018 39520
47287 50891
56287 60796
77948 82459
96522 101027

3) comskip run by dropping MPG onto comskip.exe:
FILE PROCESSING COMPLETE 107867 FRAMES AT 2997
-------------------
1 1111
13601 18106
35022 39524
46390 50895
56290 60800
77952 82463
96526 101032
107866 107867
(wow)
Reply With Quote
  #136  
Old 04-25-2006, 06:24 AM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Neilm,

I have problem with the comskip plugin. The best way to describe it is to give an example. I am running comskip on “Numb3rs”. I used comskip's own internal debug window and the cuts were perfect, but in Sage the cuts were off especially later in the program.

Here is what I think the problem is. No recorded show has exactly the number of frames that the length would indicate. The “numb3rs” file had 108303 frames, which would indicate a length of 60 minutes and almost 14 seconds. I know that the Sage timeline shows this as exactly 1 hour but I do not know how it takes up the slack. I think that the Sage plugin simply divides the frames in the .txt file by 29.97 to arrive at the (in)correct point on the timeline. Some of the time when the actual length of the file is close to what it should be, this works fine. In others, such as my example above, there are errors. In most cases the errors are just enough to irritate the end user. Also these errors get progressively worse later in the file.

Is there anyway to correct for this in the plugin?
Reply With Quote
  #137  
Old 04-25-2006, 08:06 AM
owilsky's Avatar
owilsky owilsky is offline
Sage Aficionado
 
Join Date: Dec 2004
Location: Germany
Posts: 447
Hmmm... if I remember correctly, there was a setting for comskip in advanced options which you can set to PAL or NTSC. Are you sure that you set this properly?
__________________
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!!!
Reply With Quote
  #138  
Old 04-25-2006, 08:12 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Quote:
Originally Posted by owilsky
Hmmm... if I remember correctly, there was a setting for comskip in advanced options which you can set to PAL or NTSC. Are you sure that you set this properly?
That parameter has disappearded (got automated reading the mpeg file) about 50 releases ago.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #139  
Old 04-25-2006, 08:23 AM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Quote:
Originally Posted by erik
That parameter has disappearded (got automated reading the mpeg file) about 50 releases ago.
I'm pretty sure I saw that last night in my Sage->detail setup->advanced->comskip setting last night. It is not a comskip setting, but a setting in the STVi on how to handle the comskip inputs inside Sage. Maybe it does not do anything any longer?
Reply With Quote
  #140  
Old 04-25-2006, 08:32 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Quote:
Originally Posted by lovingHDTV
I'm pretty sure I saw that last night in my Sage->detail setup->advanced->comskip setting last night. It is not a comskip setting, but a setting in the STVi on how to handle the comskip inputs inside Sage. Maybe it does not do anything any longer?
Comskip does not use it anymore, maybe sage uses it in the translation from frame numbers to seconds.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.