MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
Thread Tools Display Modes
Old 2005-05-24, 00:37   #1 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: North America
Posts: 265
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default Monitor frame numbers?

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 (http://www.dragonglobal.org/). 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();
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.
__________________
-CodeMonkey

P4 2.8gHz, 512MB memory, nVidia FX5200, 40GB HD, 200GB HD
OS: Windows XP Home SP2
TVcard(s): Hauppauge PVR500MCE, Hauppauge PVR 250MCE(Installed in development machine)
Remote: MCE 2005 (US Model)
________________
CodeMonkey is offline   Reply With Quote
Old 2005-06-17, 00:43   #2 (permalink)
Super Moderator
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,957
Thanks: 71
Thanked 28 Times in 28 Posts

Country:

My System

Send a message via ICQ to Marcusb
Default

Hi CM, how is this work going? are you having much luck?

Don't take the lack of replies as lack of interest. I am sure there are lots of people out there eagerly waiting for this function.

The sound of semi-automatic sounds quite good too. Maybe you should release this as a beta? In some ways this could be a better option than fully automatic anyway. In any case is is a great leap forward over the "old" way of skipping commercials.
Marcusb is offline   Reply With Quote
Old 2005-07-29, 14:16   #3 (permalink)
Portal Member
 
Join Date: Jul 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I think the "semi-automatic" would be very cool. I was thinking about this and came up with some thoughts before I saw this thread. I thought I'd jot down some ideas in case it helps codemonkey.

- a plugin that had a configurable start and end time, during which comskip would run it's analysis. That way, the processing takes place during non-live-viewing time. Maybe even have a dialog that comes up for a while, telling any night owl viewer that comskip is about to kick off, thereby allowing the potential viewer to skip comskip analysis for that night.

- the plugin would fire off comskip for any videos that don't already have an associated comskip text file.

- so that we don't get dangling comskip text files for deleted videos, the plugin could also check for any text files that don't have an associated video, and if found, delete them.

- then, during playback by the user, if the user hits a "magic" key on the remote, if the playback is in a "valid" commercial area, then the area is skipped and playback is resumed. A calming positive tone could be played indicating success. If we're not in a "valid" commercial area (i.e. comskip missed it), a negative tone could be played, and the video could go into fast forward so that the user could manually skip the commercial area.

- future integration into MP could include bands of a different color on the timeline of the OSD, visually indicating the commercial areas (yes, I own and use a commercial s/w product).

- could even have another plugin that creates a copy of the video that cuts out the commercial areas, for those that have 100% confidence in comskip.

I'm less inclined to use the "automatic" comskip mode, because my VCR has this feature, and it's really annoying when it kicks in to fast forward to skip over some commercials that aren't commercials.

I'm sure all this has already been thought of, but I thought I'd at least express my interest in this feature.

Regards,
John
jshan is offline   Reply With Quote
Old 2005-10-25, 07:51   #4 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,948
Thanks: 4
Thanked 15 Times in 15 Posts

Country:

My System

Default

Hey CodeMonkey,

Have you had any success with implementing commercial detection and skipping into MP? Any advice on what works, or doesn't work?
Taipan is offline   Reply With Quote
Reply

Bookmarks

Tags
frame, monitor, numbers

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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comskip 0.79 build 36: Added DVRCut output format erik1958 Tips and Tricks 25 2007-10-04 00:07
DVB-T radio stations still listing as numbers Nemulate Get Support 0 2006-12-31 00:54
Channel numbers with digital AND analogue b166er General Support 0 2006-10-23 21:09
SVN Build Numbers robomonkey General Support 6 2006-06-06 10:12
Channel ordering / numbers (DVB-T) AllenConquest Improvement Suggestions 2 2005-01-25 15:41


All times are GMT +1. The time now is 21:22.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden