Announcement: Our new CyberLink Feedback Forum has arrived! Please transfer to our new forum to provide your feedback or to start a new discussion. The content on this CyberLink Community forum is now read only, but will continue to be available as a user resource. Thanks!
CyberLink Community Forum
where the experts meet
| Advanced Search >
Auto-detect & auto-remove ads from mp4 video file ?
AmPr [Avatar]
Newbie Joined: Dec 02, 2017 04:24 Messages: 19 Offline
[Post New]
I have PowerDirector 16 (I purchased the full Cyberlink Media Suite 16), on Windows (64 bit) 8.1.

I have an MP4 video file of a TV show I recorded, it has commercial ads in it.

Is it possible to auto-detect (& auto-remove) the ad segments from the MP4 file ?

or, at least mark the begin-end points of the ads (in the MP4 file) so I can remove them w/ the multi-trim function ?

Thanks in advance

This message was edited 1 time. Last update was at Aug 01. 2019 22:24

AshWilliams [Avatar]
Member Location: Michigan Joined: Mar 28, 2013 23:38 Messages: 109 Offline
[Post New]
PowerDirector won't auto detect the commercials for you. Cyberlink used to have software that did this, but I don't think it ever made it into PowerDirector.

Yes, Multi Trim is exactly the tool you should use. Allows you to trim the videos precisely, you can cut out all the commercials in one go. You could also do it right in the timeline using the Split button.

https://help.cyberlink.com/stat/help/powerdirector/17/enu/index.html?08_02_00_splitting_a_clip.htm

Ash

This message was edited 1 time. Last update was at Aug 01. 2019 22:57

optodata
Senior Contributor Location: California, USA Joined: Sep 16, 2011 16:04 Messages: 8630 Offline
[Post New]
Quote PowerDirector won't auto detect the commercials for you.

That's not quite accurate. Right click on your recording in the Media Library and choose Detect Scenes...



It will take some time, but you'll end up with all of the scenes blocked off on the right, and you can add or remove the markers as needed:



When you click OK, you'll see your video split into individual clips in a special folder in the Media Library. You can delete them or drag them onto the main timeline as you see fit.

This message was edited 1 time. Last update was at Aug 01. 2019 23:25

AshWilliams [Avatar]
Member Location: Michigan Joined: Mar 28, 2013 23:38 Messages: 109 Offline
[Post New]
Right, that might work too! Thanks Optodata! Though I believe is makes cuts based on change of shot or location? I've never tested it on a TV show to see what it might do.

I was referring to the old commercial cut that was available in PowerCinema and some other their software.

Ash
AmPr [Avatar]
Newbie Joined: Dec 02, 2017 04:24 Messages: 19 Offline
[Post New]
Thanks for the suggestions, I tried "Scene Detection" - it does not separate out (or mark) the ads in the video.

I don't know on what basis it's creating the separate scenes, even the actual content sections (without any ads) are split into small "scenes" which I don't want, because then I have to piece together many, many small content scenes. I'm guessing it'll also split the ads into separate "scenes" & then I'll have to remove multiple "ad scenes" !

According to the Help page on Scene Detection - "The scene detection function automatically creates individual clips based on the individual scenes (or pre-edited shots) contained within a video clip." I don't know how it determines "individual scenes" & "pre-edited shots".

So it seems there's no automatic way to remove/mark the commercial ad sections - other than - using Multi-Trim, which is what I'm currently doing by manually scanning thru the video & setting the In/Out markers for the ads & the content.
optodata
Senior Contributor Location: California, USA Joined: Sep 16, 2011 16:04 Messages: 8630 Offline
[Post New]
Scene Detection works by detecting how different each frame is from the one before, and in some situations it'll work exactly as expected if you're looking to remove ads. However, if there are lots of scene changes in the main content, it will also mark those.

You can try reducing the sensitivity by clicking on Stop and moving the slider to the left. You can also lower the Sensitivity once the detection has completed if there are too many scenes, and the detection will run again.



YouTube/optodata


DS365 | Win11 Pro | Ryzen 9 3950X | RTX 4070 Ti | 32GB RAM | 10TB SSDs | 5K+4K HDR monitors

Canon Vixia GX10 (4K 60p) | HF G30 (HD 60p) | Yi Action+ 4K | 360Fly 4K 360°
AmPr [Avatar]
Newbie Joined: Dec 02, 2017 04:24 Messages: 19 Offline
[Post New]
OptoData -
Thank you for the suggestions.

In my case, the scenes in the normal content (& the ads) will be very different at some point (from 1 frame to next), for e.g.,
-- in the content, when the context or background shot of the story changes, &,
-- in the ads when the ads change
Each of the above will produce different scenes.

So even if I reduce scene detection sensitivity & assuming that all the ads are clearly separated out from the content into separate "ad" scenes, I will have scenes that will have
(a) different story context scenes (each scene w/ similar frames & background shots & no ads), and,
(b) different ads scenes (different frames & background shots) w/ no story content.

So I'll have to do a lot of weaving together of content scenes (that don't have ads). This is going to be too time consuming, it's much faster for me right now to just scan (fast fwd, etc.) thru the video, see the ads, mark their begin/end in multi-trim & then just click on "Produce" to produce the final video.

I appreciate your suggestions, maybe scene detection will come in handy when I want to separate out story lines, or, scenes w/ similar frames, I'll try this out later. For now, I'm going to stick to multi-trim - easy & not too time consuming.
Powered by JForum 2.1.8 © JForum Team