View Full Version : DVD (Mpeg2) Scene Detection?
aridan
21st June 2006, 00:21
A while ago, I have had all of my home movies transfered from VHS tape onto DVDs. Is there a program that can do an optical scene detection in VOB or Mpeg-2 files, and maybe create an index of those clips? Ideally, it would work just like Scenalyzer Live, but Scenalyzer is for DV tape capture only. TIA.
Mug Funky
21st June 2006, 04:26
don't think there's anything out there that does it, but i can imagine it being do-able.
for p and b frames, check if the number of intra blocks (or number and size?) is over a threshold.
for i-frames, decode and check against the previous and/or next i-frame.
then cut/re-encode the same way cuttermaran does.
of course in reality it'd probably be more difficult than that and require a full decode.
Ebobtron
21st June 2006, 09:09
If you want to know what frame number the first frame of a new scene is then I think I have an answer for you. If the list you want is just a list of numbers describing the above then I have got you covered if your up to a little work.
You shall need some software you may already have.
DgIndex
HC 018
AviSynth
You have two options
1 use DgIndex to create a d2v file. Open the d2v into HC gui.
2 use DgIndex to create a d2v file. Open that d2v in a avisynth script. Open the script file in HC 018 gui.
Either way you go, once HC can read the "*.d2v" or "*.avs" select the Preview/Chapters tab below the title bar and click on "create SCD chapter list". Then save it when done.
The method Hank uses for scene detection, is to me extraordinary. I have not seen its equal. There is the possibility that HC will detect the first bended frame of an interlaced scene change, but the next frame will have the frame you want.
Not the fastest way of doing something but you can have long lists of numbers describing every scene change.
Good luck :)
olyteddy
1st July 2006, 06:19
VirtualDub Mod can detect scene changes pretty well, but I wouldn't know how to create an index with it.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.