Old 05-14-2019, 05:59 AM   #41
mrlimbic
Human being with feelings
 
mrlimbic's Avatar
 
Join Date: Nov 2009
Location: UK
Posts: 583
Default

Quote:
Originally Posted by X-Raym View Post
@dysrock
You will have to write your own functions, based on pixel difference from one frame to another... That why it just 'in theory'.

But there is no real advantage of having this in video processor : you will be limited by playback speed, while ffprobe (used in this script) can do way faster analysis.
Video processor method has been used to compare difference versions of same video to spot VFX changes.

https://forum.cockos.com/showthread.php?t=204568

I wonder if that process could also be made quicker using ffprobe/ffmpeg? Instead of comparing to last frame you comparing to another video. You could put markers where they differ.
__________________
Convert NLE XMLs to RPP.
http://vordio.net
mrlimbic is offline   Reply With Quote
Old 05-14-2019, 06:35 AM   #42
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 12,070
Default

Quote:
Originally Posted by X-Raym View Post
@dysrock
You will have to write your own functions, based on pixel difference from one frame to another... That why it just 'in theory'.


But there is no real advantage of having this in video processor : you will be limited by playback speed, while ffprobe (used in this script) can do way faster analysis.
Edit: moved this to https://forum.cockos.com/showthread.php?t=220900

Last edited by Justin; 05-14-2019 at 07:32 AM.
Justin is offline   Reply With Quote
Old 05-14-2019, 09:26 PM   #43
Sonorityscape
Human being with feelings
 
Sonorityscape's Avatar
 
Join Date: Aug 2016
Posts: 33
Default

Awesome work!

I was testing with a video that had a lot of bright flashing which was triggering the cuts, but I think generally it will save a good amount of time.
Sonorityscape is offline   Reply With Quote
Old 05-15-2019, 02:20 AM   #44
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: brighton, uk
Posts: 12,635
Default

Quote:
Originally Posted by Sonorityscape View Post
Awesome work!

I was testing with a video that had a lot of bright flashing which was triggering the cuts, but I think generally it will save a good amount of time.
I wonder if the script should have a minimum time before next detection to help with this then?

Also, it's definitely a scene rather than shot detector but that's still very useful!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
musicbynumbers is offline   Reply With Quote
Old 05-17-2019, 08:53 PM   #45
dsyrock
Human being with feelings
 
dsyrock's Avatar
 
Join Date: Sep 2018
Location: China
Posts: 140
Default

Quote:
Originally Posted by mrlimbic View Post
It's basically set to 40% of change in colour space since last frame. I could make that a tweakable parameter. For some videos it may not work well at all not matter what threshold you set. Fades will never work well I think.
I have a question about ffprobe. As you said, the script base on the detection of change in colour space. There are so many values in the result of -show_frames. So do you know which value does ffprobe actually comparing and tell their difference?

Last edited by dsyrock; 05-17-2019 at 10:36 PM.
dsyrock is offline   Reply With Quote
Old Today, 12:40 PM   #46
reapero
Human being with feelings
 
Join Date: Aug 2011
Posts: 159
Default

Awesome script. Thanks!!

So, what is exactly needed to add the thumbnails?
reapero is online now   Reply With Quote
Reply

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

Forum Jump


All times are GMT -7. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.