Dragon Global Forums

Go Back   Dragon Global Forums > ShowAnalyzer > ShowAnalyzer Beta

ShowAnalyzer Beta Discussion related to the ShowAnalyzer Beta.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-25-2007, 06:03 PM
Member
 
Join Date: Dec 2006
Posts: 45
hgordillo is on a distinguished road
Default Run SA ONLY to extract CC, not to find commercials

Can this be done? I know it sounds strange but If I have a recording and run SA to find the commercials and then cut them out, I now have to extract the CCs (and not before, since positions change after cutting the commercials). It is in this circumstance that would be great to run SA again JUST to extract the CCs as it would be a lot faster, I think, not having to run the commercial-location process again. Also, as I've just posted in babgvant's site, If I am directing all this from DvrmsToolBox it does not even run the process since a commercial XML file exists for the recording (I don't know if this decision is mage by DTB or by SA) from the first time it got run and thus CCs don't get extracted, unless you change the name of the commercial-free recording, or change the name or delete the commercial XML file before, compicating any automation you may want to have.

Any thought would be appreciated. BTW great job with the pates version...much faster...
Reply With Quote
  #2 (permalink)  
Old 05-01-2007, 08:39 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 2,020
Jere_Jones has disabled reputation
Default

Currently, no. This was possible at one point, but I didn't think anyone used it. Especially since mpg2srt worked so much better and faster for that purpose. Unfortunately it doesn't process DVRMS files.

I'll consider adding it.

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.59 - 8 Feb 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #3 (permalink)  
Old 05-01-2007, 08:40 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 2,020
Jere_Jones has disabled reputation
Default

What I might be able to do is write a program that will take a cc file and the chapters.xml file and cut out the commercial sections and adjust the times. Would that be helpful?

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.59 - 8 Feb 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #4 (permalink)  
Old 06-05-2007, 09:48 AM
Member
 
Join Date: Dec 2006
Posts: 45
hgordillo is on a distinguished road
Default

Quote:
Originally Posted by Jere_Jones View Post
What I might be able to do is write a program that will take a cc file and the chapters.xml file and cut out the commercial sections and adjust the times. Would that be helpful?

Jere
Sorry I missed this post Jere; Yes that would help. thx.
Reply With Quote
  #5 (permalink)  
Old 06-05-2007, 12:43 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 2,020
Jere_Jones has disabled reputation
Default

Ok. I'll work on it. It would be a simple command line program that took 3 options:

1) What SRT file in
2) What XML file in
3) What SRT file out

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.59 - 8 Feb 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #6 (permalink)  
Old 06-08-2007, 03:41 PM
slowpork
Guest
 
Posts: n/a
Default

Here's what I usually do.

1. Record to d:\1\x.dvr-ms
2. find commerical and cut to d:\2\x.dvr-ms
3. run SA command line with option -srt on d:\2\x.dvr-ms to generate d:\2\x.srt

When I run #3, does it mean SA finds commercials again?

******************

hi Jere - Wondering if cc output can have an option save as ANSI ? Currenltly it save as Unicode, and some programs have problem reading it. (eg. Tmpgenc Dvd author, DVDsanta, etc.)

Thanks!!
SP
Reply With Quote
  #7 (permalink)  
Old 06-10-2007, 08:52 AM
Member
 
Join Date: Dec 2006
Posts: 45
hgordillo is on a distinguished road
Default

Quote:
Originally Posted by slowpork View Post
Here's what I usually do.

1. Record to d:\1\x.dvr-ms
2. find commerical and cut to d:\2\x.dvr-ms
3. run SA command line with option -srt on d:\2\x.dvr-ms to generate d:\2\x.srt

When I run #3, does it mean SA finds commercials again?

******************

hi Jere - Wondering if cc output can have an option save as ANSI ? Currenltly it save as Unicode, and some programs have problem reading it. (eg. Tmpgenc Dvd author, DVDsanta, etc.)

Thanks!!
SP
SP -- I'm no expert but I'm pretty sure that step 3 above runs SA Commercial Detection portion all the same.

Regarding your ansi SRT question, if you pull up the ShowAnalyzer Configuration, in the global/settings under 'Closed Captioning Output' you''ll see for each supported format (SMI, SRT, SUB) and 'encoding' setting that can be UTF-16 (default - UNICODE) and UTF-8 (ANSI). Hope this helps.
Reply With Quote
  #8 (permalink)  
Old 07-21-2007, 03:43 AM
slowpork
Guest
 
Posts: n/a
Default

Thanks Hgordillo.


Also to extract cc only, you can use attached utility (save 3 files in same directory), and run below command.

extractclosedcaptions.exe test.dvr-ms

It will result test.srt for you.
Reply With Quote
  #9 (permalink)  
Old 07-22-2007, 10:33 AM
Member
 
Join Date: Dec 2006
Posts: 45
hgordillo is on a distinguished road
Default

Quote:
Originally Posted by slowpork View Post
Thanks Hgordillo.


Also to extract cc only, you can use attached utility (save 3 files in same directory), and run below command.

extractclosedcaptions.exe test.dvr-ms

It will result test.srt for you.
Hey thanks! It works well. And faster. Is there a way to make it write the SRT in ANSI instead of Unicode?
Reply With Quote
  #10 (permalink)  
Old 07-22-2007, 02:41 PM
slowpork
Guest
 
Posts: n/a
Default

hi hgor,
glad that works for you , um... i don't have Visual Studio C# installed at the moment but I can send you source code if you want. Usually I open *.srt by text editor (eg. textpad) and then save as unicode or ansi.

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CC extract problem slowpork ShowAnalyzer Beta 21 04-04-2008 01:04 PM
PAL DVR-MS extract to SRT kkm ShowAnalyzer Beta 6 03-12-2008 10:55 PM
Extract both CC1 and CC3? masnovelas ShowAnalyzer Beta 0 12-25-2007 06:05 PM
dirmon cant find any jobs mtfred99 DirMon Discussion 2 11-19-2005 02:30 PM
Edge Profile Detection - find the logo JRock ShowAnalyzer Beta 2 10-12-2005 02:36 PM


All times are GMT -4. The time now is 08:55 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0