![]() |
|
|||
|
Hello.
Have you determined for sure that Microsoft Windows Movie Maker cannot do it losslessly? It's a free download. You might also check out freeware VirtualDub at sourceforge. It can do several formats losslessly, but I don't whether WMV is one of them. I kinda doubt it, but, you might use it as a starting point to writing your own, since it is open source and has a plug-in architecture. At least all the GUI work would already be done for you. BTW, if you do put something together, be sure to share it. I would be interested, especially if it is lightning fast. |
|
||||
|
If WMM2 can, I haven't found out how yet. VirtualDub is also out of the question: "Some online searching turned up a promising freeware product called VirtualDub (http://virtualdub.sourceforge.net). VirtualDub has some amazing capabilities, but WMV import isn't one of them—thanks to Microsoft" (PCMag).
Also, even if those programs could, they'd still take a while to trim commercials out of videos. My program at a minimum will let one jump forward 60 seconds and back 10 seconds, and press the spacebar when they reach commercials to tell the program to edit them out. Once the user has identified the sections to cut out, it will schedule AsfCut to run either right away or sometime in the night with those values. Though, I'm hoping to be able to get my program to automatically jump to parts where commercials begin (using an algorithm) so the user just has to press "search", "begin trim", "search", "end trim", "search", "begin trim", etc... I could get this program done in a week if I had the time, but it'll probably take longer because of school and two other ongoing programming projects I have. |
|
|||
|
If you are looking for an algorithm for detecting scene changes in a mpeg stream, I found this paper discussing two methods.
The other menthod, which is what I think mythTV uses, is looking for "blank" frames and then looking in ~30 second intervals for the end of the commercial block. |
|
||||
|
Quote:
__________________
Rich A BTV Beta Tester. 4.x.x XP-PRO, Dual rack mount chassis. Gigabyte MA770-UD3 Nvidia 9500 video, 4 GB Ram, Athlon 64 x2 5600, 80 GB Op Sys/Program drive. 80 GB temp/swap file drive. 500 gb temp recording drive, 3 x 250 GB show storage drives. Samsung DVD burner. VGA video out to projector. TV-out to A/V whole house distribution. HDHR, PVR350, HVR1600, HVR1250, HVR-950, Harmony Remote. |
|
||||
|
To detect commercials, I'm planning on something similar to what Myth uses; I'll calculate the percentage of black in the screen, and look for fades and/or periods of just black. I'm planning on having a number of values to customize though, and I might even allow people to make plugin dlls to add different forms of detecting commercials. I'm not counting on my method to be fool-proof, though; just to substantially lessen the number of times the user has to press "advance forward 60 seconds". My goal is to allow the user to edit out commercials from a 30-minute show in <1 minute of user supervision (the actual cutting of the video will be done automatically at a time set by the user).
I already have my program (a modified DPlay sample program from the WM Format SDK) grabbing bitmaps from WMV files, so any possible roadblocks should be out of the way (except, of course, if Microsoft orders me to stop development of my program, which I think is highly unlikely. But, if that happens, that will be after I've made a working version ).
|
|
||||
|
I've been at the commercial cutting thing for a few years now. Mostly I work in the Mpeg format. (Using Womble)
Today it is more difficult than ever to automatically find start and stop points when dealing with commerical TV. In order to squeeze every last second of available time for commercial content the networks are cutting them very close. In fact there are some stations that have "no" black or fade to black at all. IE. Frame number 1999 is the movie and the very next frame (# 2000) is the commercial. Even worse, I have a local station that actually does a "fade/merge" into the movie from a commercial. There is actually a few frames with over-lapping video from both the movie and the commercial. That one really frosts me. I own a few of those ReplayTV boxes and one of them is the model that had commercial skip. It surprised me how well it works, but it always gets a few frames you don't want, one way or the other and does miss some entirely. Still it's about 90 percent on the good side. Good luck. A WM format frame accurate editor with auto commercial processing would be well received I'm sure.
__________________
Rich A BTV Beta Tester. 4.x.x XP-PRO, Dual rack mount chassis. Gigabyte MA770-UD3 Nvidia 9500 video, 4 GB Ram, Athlon 64 x2 5600, 80 GB Op Sys/Program drive. 80 GB temp/swap file drive. 500 gb temp recording drive, 3 x 250 GB show storage drives. Samsung DVD burner. VGA video out to projector. TV-out to A/V whole house distribution. HDHR, PVR350, HVR1600, HVR1250, HVR-950, Harmony Remote. |
|
||||
|
Re: Editing out commercials?
IGCutter, but it doesn't do any commercial detection itself: it reads BTV's SmartSkip info (if it exists) and allows you to add/change/remove the cut points and then actually (quickly, without recompression) remove the cut sections from the video file.
It hasn't been updated for a while, but it still does the job and there's even a version floating around that can edit AVI clips. |
|
||||
|
Re: Editing out commercials?
Have you tried Videoredo? The best commercial detection I've seen is videoredo. I am not sure if it works with WMV and its not donation ware, but its worth the price.
__________________
Media Server: Win XP MCE, MSI K9N SLI Platinum Motherboard, AMD Athlon 64 X2 5400+ 2.8 dual core, 1 GB Ram, 500 GB SATA HD x 3, 250 GB SATA HD, Geforce 8500 GT PCI-E, 2x HD PVR, HD homerun, DVD Dual Layer DVD Writer. Software: SageTV - I spent $130 to find an integrated solution. Media Extender: 2 x To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. -------- Quote:
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Editing commercials with a remote | erik | Beyond TV and Beyond TV Link | 1 | 12-05-2006 10:10 AM |
| Editing out commercials? | OMAC | SnapStream Discussion | 3 | 03-13-2005 05:25 PM |
| Recommended tool for editing out commercials | dtaylor | Beyond TV and Beyond TV Link | 3 | 06-12-2004 10:10 AM |
| Editing out commercials | Roddy | SnapStream Discussion | 13 | 04-08-2004 02:46 PM |
| Feature: editing video tracks and removing commercials | rkulagow | Development Discussion | 2 | 01-26-2001 12:50 AM |