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
  #221  
Old 05-04-2008, 02:24 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
How to test CC decoding

Take build 133
http://www.kaashoek.com/files/comskip79_133.zip

make sure you have in your comskip.ini file
skip_b_frames=0
Then look at the detect_method setting and make sure it contains the 16=closed captions method.
If you don't know how to check set
detect_method=255
but remember to set it back after testing!
and set
verbose=10

Then drag and drop a couple of recordings on comskip.exe extracted from the build 133 zip
Does not matter if its dvr-ms, mpg or ts. If You regular comskip does process the recordings this one should also be able to do so.
If you are using dvr-ms and don't want to wait for comskip to start due to its regular "process during recording" delay you may set
dvrms_live_tv_retries=1
otherwise comskip may wait 300 seconds before it starts to do some real work.

When everything is done look at the generated .log file with the same name as the recording.
Open the file and look at the end for "Closed caption transcript"
Beneath there should be the full transcript of the close caption in the recording.
The transcript should be readable and make sense. If its garbled I need a short part of the recording to do some more tests.
Then look for lines starting with XDS, they come in pairs. The first with numbers and the second letters like
XDS: 1 83 d3 4f ce 49 43 20 58 80 8f
XDS: SONIC_X y
If you see them I like you to copy all the lines with XDS into a mail (or post in this thread)
Then you may have set
output_srt=1
or
output_smi=1
and see if there have been generated .srt or .smi file and see if they have the correct content.
If you do not know what the correct content should be, don't bother, as I also don't know

If there is no CC and no XDS set
output_data=1
and see if a .dmp file gets generated when processing the recording through comskip.
If no .dmp file is generated the recording does not have a user data stream and so no CC or XDS.
If there is a dmp file but no CC or XDS in the log file I like to get the first say 10kBytes of the .dmp file.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #222  
Old 05-07-2008, 01:10 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Build 134 is available

From the changelog
Changes in 0.79.134
- Change the extension of the XDS dump file to .data
- When comskip is started with a .csv file the .data file containing the XDS dump will also be read when available.
- In Debugwindow the 'X' key can be used to show XDS data. Currently the Program Name, V_Chips, Program duration and Program position are displayed. Decoding of the XDS data is not yet complete
- A very thin grey vertical line at the very top of the debugbar timeline shows the location of the XDS data changes

Could someone set
output_framearray=1
output_data=1
and enable the Close Caption processing and upload for the a file with a lot of XDS both the generated .csv and .data to my ftp server?

I prefer a recording with V-Chip data that changes during show/commercial and that shows program position information.
This will allow me to test additional detection rules using the XDS data
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #223  
Old 05-09-2008, 03:39 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Build 135: Improved CC decoding

From the changelog

Changes in 0.79.135
- Improved the CC word separation on certain broadcast channels
- (Re)added the "CC" type of CC data. All digital recorded ATSC channels now should have CC.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #224  
Old 08-17-2008, 05:47 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Comskip build 144 released

Many improvements done, in particular solving some crashes

Changes in 0.79.144
- Bug solved: Comskip crashes on recordings with mono AC3 sound
Changes in 0.79.143
- Bug solved: When remove_before is set to a positive value and the first commercial starts at the beginning of the recording then the first commercial is missing in the generated list of commercials.
- It is on request again possible to set enable_mencoder_pts=1 in order to use the initial PTS as an offset in the .edl output file to allow mencoder to correctly cut TS recordings.
Changes in 0.79.142
- Made a big change to the sound detection algorithm. This should solve some crashes on certain recordings.
Changes in 0.79.141
- Bug solved: Too short commercials at the beginning or end are not deleted even when shorter then min_commercialbreak
- Substantial changes to the heuristics and to the validation algorithm. Its better on my set of test files, how about yours?
- Switched back to the old compiler
- Bug solved: Can not disable heuristics rule 7.
Changes in 0.79.140
- When the debugwindow is uncovered the windows stayed black untill you hit a key or clicked on the time bar. I tried to show the debuginfo when the window is uncovered but it is not always working.
- Switched to a new compiler, did expect all kind of problems but haven't seen one yet.
- Bug solved: Heuristics rule 7 triggers incorrectly causing loss of show at the beginning of the recording.
Changes in 0.79.139
- Output for Virtualdup shifted with 2 frames
- Added a fflush after writing to stderr
Changes in 0.79.138
- It is now possible to use the .csv file to test changed settings of maxbright
Changes in 0.79.137
- Bug solved: When reviewing the .txt file the bar at the top of the debugwindow is grey instead of black/white
Changes in 0.79.136
- Bugs solved: Comskip crashes when invoked with a .csv file and no .data file is present.
Changes in 0.79.135
- Improved the CC word separation on certain broadcast channels
- (Re)added the "CC" type of CC data.
Changes in 0.79.134
- Change the extension of the XDS dump file to .data
- When comskip is started with a .csv file the .data file containing the XDS dump will also be read when available.
- In ComskipGUI.exe the 'X' key can be used to show XDS data. Currently the Program Name, V_Chips, Program duration and Program position are displayed. Decoding of the XDS data is not yet complete
- A very thin grey vertical line at the very top of the debugbar timeline shows the location of the XDS data changes
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #225  
Old 08-17-2008, 10:48 AM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
since I have an extra core or 2 sitting idle most of the time...

is there a way to run more than one instance of comskip at a time? seems I can't get more than one going. do I need a program folder for CSM and a separate one for the cmd line in the STVi?

thanks again for the effort on this app. I'm finally getting around to trying out the CC feature, too.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
Reply With Quote
  #226  
Old 08-17-2008, 10:55 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
You can run more than one instance at a time. Dirmon will do this on Windows.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #227  
Old 08-17-2008, 01:24 PM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
yeah, I had trouble w/ that scheduler back when I tried it. maybe I didn't tweak it enough.

my issue is w/ CSM running an instance of comskip, I can't kick off another through the Sage menu. I have it pointed to the location of the comskip.cmd file and that's edited to point to the correct location of comskip.exe.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
Reply With Quote
  #228  
Old 08-18-2008, 03:19 AM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
next question...

with output_smi=1 is it normal for the CC file to have the format [filename]_1.smi? it's causing the smi file to get deleted shortly after it's created.

I remember there being a work-around using this for the auto-compress stvi, but I didn't load that in this time around and CSM/comskip don't refer to any STVi for operation.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
Reply With Quote
  #229  
Old 09-21-2008, 08:15 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Build 0.80.001, available in the early access area, has h.264 decoding enabled.
Do read the readme.txt included in the distribution zip file.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #230  
Old 09-21-2008, 08:34 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Awesome man! Strong work.
Reply With Quote
  #231  
Old 09-21-2008, 09:04 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Be aware that it is VERY slow and still has difficulty with some types of AAC.
And it does (often) NOT work on converted program stream h.264, only on original transport stream recordings.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #232  
Old 09-22-2008, 03:39 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
There seems to be an error in this release.
I removed it from the server
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #233  
Old 09-22-2008, 11:32 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
I uploaded build 002, hopefully will solve some reported crashes
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #234  
Old 01-01-2009, 10:43 PM
antplugger antplugger is offline
Sage Advanced User
 
Join Date: Sep 2005
Posts: 167
Could anyone tell me if sage_minute_bug and sage_framenumber_bug are still relevent and need to be set to 1 in latest version of SageTV ?

Thanks
Reply With Quote
  #235  
Old 01-02-2009, 07:10 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
I've run it both ways and haven't noticed a difference. Currently I have it set to 0 (zero).

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
  #236  
Old 01-02-2009, 07:26 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by antplugger View Post
Could anyone tell me if sage_minute_bug and sage_framenumber_bug are still relevent and need to be set to 1 in latest version of SageTV ?

Thanks
If memory serves that is for the default method of txt (frame based) output. I don't believe it is required for edl files which are better (time based)

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #237  
Old 01-02-2009, 11:22 AM
Slipshod's Avatar
Slipshod Slipshod is offline
Sage Aficionado
 
Join Date: Feb 2008
Location: San Francisco Bay Area
Posts: 474
Quote:
Originally Posted by bcjenkins View Post
If memory serves that is for the default method of txt (frame based) output. I don't believe it is required for edl files which are better (time based)
Yep, so if you're generating .edls you don't need to set it. I was just reading this last night while trying to tune Comskip. Unfortunately it still only uses one CPU and Erik didn't know why it wasn't using more than one correctly.
__________________
SageTV V7 (WHS), Diamond UI
Server: WHS with Xeon X3350, 4GB ECC, ASUS P5BV-C/4L, recording into a 6.6TB Drive pool
Tuners: 4 (2x HDHR)
Clients: 2x HD300, 1x HD200 Extenders, 1x Placeshifter
2x Roku XD
Reply With Quote
  #238  
Old 01-03-2009, 08:34 PM
TallMomof2's Avatar
TallMomof2 TallMomof2 is offline
Sage Aficionado
 
Join Date: Aug 2008
Posts: 258
I want to get Comskip to ignore recorded movies. In SageMC there's an option for ignored channels. Should they be separated by a "," comma or ";" semi-colon? Does this affect past recordings or only future recordings?
__________________
Server: Windows 8x64, ASUS P8 H67-M Pro Micro ATX, Core i5, 8 RAM, 14TB running latest Sage

Clients: HD200, HD300, Win7 Desktop

Capture Devices: Hauppauge Colossus & 1 HDHR, TV Service: Verizon FIOS
Reply With Quote
  #239  
Old 01-03-2009, 11:46 PM
Slipshod's Avatar
Slipshod Slipshod is offline
Sage Aficionado
 
Join Date: Feb 2008
Location: San Francisco Bay Area
Posts: 474
Quote:
Originally Posted by TallMomof2 View Post
I want to get Comskip to ignore recorded movies. In SageMC there's an option for ignored channels. Should they be separated by a "," comma or ";" semi-colon? Does this affect past recordings or only future recordings?
You'd have to read up on SJQ (SageJobQueue) plugin in order to have it run comskip on only certain channels and not others. I haven't sat down to tackle this yet, and I may just wait to see if Showanalyzer gets better in a month or two since it had this capability built-in to it.
__________________
SageTV V7 (WHS), Diamond UI
Server: WHS with Xeon X3350, 4GB ECC, ASUS P5BV-C/4L, recording into a 6.6TB Drive pool
Tuners: 4 (2x HDHR)
Clients: 2x HD300, 1x HD200 Extenders, 1x Placeshifter
2x Roku XD
Reply With Quote
  #240  
Old 01-04-2009, 09:57 AM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
I remember a file that used to be (maybe still is) included w/ either comskip, the STVi, or CSM that would allow you to script certain channels not to be processed. It would still kick off a process, but not comskip itself.

Ok, it's in the ...\SageTV\SageTV\STVs\SageTV3\Externals folder; "comskip.cmd". Not sure if that will do what you want, but its worth a look.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comskip Monitor: Announcement Steep SageTV Customizations 340 09-26-2020 09:23 AM
STV Import: Comskip Playback for Default STV (v1.5.4 30/August/2008 for SageTV 5/6) JREkiwi SageTV Customizations 600 11-23-2011 07:58 AM
Sage TV partial recordings and Comskip garyellis SageTV Customizations 4 04-22-2009 04:33 PM
Dirmon2 + Comskip + Mencoder bnh SageTV Customizations 11 09-08-2008 06:40 PM
Comskip & SageMC ? raoul SageMC Custom Interface 17 01-27-2008 05:13 PM


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


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