home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Monitor frame numbers?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CodeMonkey" data-source="post: 15368" data-attributes="member: 10548"><p>I am getting some thoughts together on how to implement commercial detection and skipping into MP. I have been playing with the successor to comskip called ShowAnalyzer (<a href="http://www.dragonglobal.org/" target="_blank">http://www.dragonglobal.org/</a>). It outputs the commercials detected in a text file that contains start frame number and end frame number of the commercials. I believe by using a combination of the following:</p><p></p><p>[code]g_Player.CurrentPosition;</p><p>g_Player.SeekAbsolute();[/code]</p><p></p><p>I can skip to the end of a commercial. However I am unsure as to how to tell I am in a commercial. Is there a way to monitor frame numbers as a recorded show is being played back? Semi automatic mode would just skip to the end of the next detected commercial if a button was pressed. This I could probably do by converting the frame number to a time and use the calls above. However I would also like a automatic mode that would automatically skip the commercial frames. Are the tools to do this already in MP and I just don't see them? Or is this functionality that would need to be added? Everything I see is indexed by time, which is fine. Is there some way to get triggered at a certain point during a show playback?</p><p></p><p>I would prefer to chat about this in real time on IRC, but unfortunately I don't think I will be able to do that for about two weeks, and only on weekends due to time zone issues. However if frodo et.al. thinks this can only be discussed live, then let me know and I will try and arrange a time to meet.</p></blockquote><p></p>
[QUOTE="CodeMonkey, post: 15368, member: 10548"] I am getting some thoughts together on how to implement commercial detection and skipping into MP. I have been playing with the successor to comskip called ShowAnalyzer ([url]http://www.dragonglobal.org/[/url]). It outputs the commercials detected in a text file that contains start frame number and end frame number of the commercials. I believe by using a combination of the following: [code]g_Player.CurrentPosition; g_Player.SeekAbsolute();[/code] I can skip to the end of a commercial. However I am unsure as to how to tell I am in a commercial. Is there a way to monitor frame numbers as a recorded show is being played back? Semi automatic mode would just skip to the end of the next detected commercial if a button was pressed. This I could probably do by converting the frame number to a time and use the calls above. However I would also like a automatic mode that would automatically skip the commercial frames. Are the tools to do this already in MP and I just don't see them? Or is this functionality that would need to be added? Everything I see is indexed by time, which is fine. Is there some way to get triggered at a certain point during a show playback? I would prefer to chat about this in real time on IRC, but unfortunately I don't think I will be able to do that for about two weeks, and only on weekends due to time zone issues. However if frodo et.al. thinks this can only be discussed live, then let me know and I will try and arrange a time to meet. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Monitor frame numbers?
Contact us
RSS
Top
Bottom