Find credits range via avisynth ? » Beverages » Forum
Forum
  Поиск   Users   Registration   Entrance
Today: 24.06.2025 - 09:03:49
Pages:  1  

Find credits range via avisynth ?

Advertising

CROWD links from forums - 0,9 USD


MessageAuthor

Is there any way to find credits range of a movie with an avisynth script ? Perhaps something based on average luma distibution for instance ? Assuming credits are white characters on black screen, one can search for frames where pixs with 40<luma<220 are near zero for instance and retaining the longest block of them as beeing the credits range. Would it be reliable ? Really I'm very confused at how this can be achieved :( Thanks for your help.

---------------------

mpwrd3

main-users




Statistics:
Messages: 16
Registration: 11.18.2003
18.04.24 - 19:35:27
Message # 1
RE: Find credits range via avisynth ?

such functions (finding credits, ads,...) would be quite slow and unreliable too (the whole video would be read)

---------------------
Follow me on Instragram @bassrebel 2003 2014 X1 X3.5i 2016 MB C300 4Matic

bassrebel

main-users




Statistics:
Messages: 2,139
Registration: 12.11.2003
18.04.24 - 19:46:41
Message # 2
RE: Find credits range via avisynth ?

Does it bother you to make it manually?! make a normal avs, open it in VirtualDub, see on which frame the credits begin Return to your avs file, add a trim line just after the mpeg2source line, kinda: trim(0,150500) Encode the credits separately at a fixed quantizer like 12. To do that, make another avs script with the following trim line, kinda: trim(150501,0)

---------------------

ZLUJ

main-users




Statistics:
Messages: 4,686
Registration: 09.14.2003
18.04.24 - 19:52:27
Message # 3
RE: Find credits range via avisynth ?

Thanks but I know how to encode credits manually :D If you follow links in my signature you'll find I'm writing a all in one app so that such a feature would be great. Actually I solved much much problems and tool is functionnal, but such a feature would a valuable add :) regards

---------------------
'98 328is w/3.23 LSD and more - sold '03 S2000 '95 Previa LE SC (mid-engine, RWD, dual sunroofs, boost) FWDFTL

///Misanthrope

main-users




Statistics:
Messages: 230
Registration: 08.21.2002
18.04.24 - 19:58:28
Message # 4
RE: Find credits range via avisynth ?

There should be a way to figure out a script based on the new conditional functions. I don't have the slightest clue as to how to get started though.

---------------------

kellie

main-users




Statistics:
Messages: 2,909
Registration: 11.27.2003
18.04.24 - 20:06:32
Message # 5
RE: Find credits range via avisynth ?

If you can assume a min credit length scanning would be MUCH faster (scan only every 25th frame e.g.) Possible algo as you proposed (black and white with a sharp histogram e.g.)

---------------------

marwan

main-users




Statistics:
Messages: 453
Registration: 04.21.2002
18.04.24 - 20:13:26
Message # 6
RE: Find credits range via avisynth ?

Algorithm would have to find vertical scrolling frames with very few colours... of course a Star Wars intro would be considered a credit then :D Bilu

---------------------

Cal

main-users




Statistics:
Messages: 598
Registration: 05.10.2003
18.04.24 - 20:23:38
Message # 7
RE: Find credits range via avisynth ?
theme issue in v2 : Previous topicNext topic: Vocal Processor Plug-ins
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants