Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
22nd February 2023, 07:07 | #2 | Link |
Registered User
Join Date: May 2011
Posts: 321
|
Four questions , pretty heavily compressed. :-)
Black could be detected using PlaneStats with some threshold and checking max values. Video bars (of known type? Check diff) or check for gray left,right and green in the middle. Detect silence perhaps not, because vapoursynth cannot evaluate audio, FrameEval would not work (could be wrong). Freeze frames check for differences using PlaneStats or Diff to detect no changes within a threshold limit, all DIY stuff. The easiest part would be actually to print results using matplotlib. |
23rd February 2023, 19:37 | #5 | Link |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,843
|
Yes, but in this case I need just numbers and getting these is way easier with ffmpeg. Black, freeze frame and silent detection filters work quite well in ffmpeg.
Then I need to generate FCP XML to create a timeline. This is more tricky, but doable. It will be all Python based (which I can do), but only at basic level. Last edited by kolak; 23rd February 2023 at 19:40. |
|
|