Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » Automated frame extraction?

Automated frame extraction?

Up one level

Automated frame extraction?

Posted by rbenn at 2010-04-15 19:52  

I'm using ELAN to align video with waveforms and TextGrids imported from Praat. I need to extract video frames that correspond to points on the TextGrid. This is easy enough to do by hand: import the waveform/TextGrid, select the relevant point on the appropriate tier, then right-click on the movie and save the frame as a JPEG.<br><br>Of course, since I'll be doing this a lot - say, 4000 times - in the near future, I'm wondering if there's any way to script/automate this process. Any tips would be greatly appreciated.<br>

Re: Automated frame extraction?

Posted by hasloe at 2010-04-19 13:58  

Currently not, unfortunately. Would you always want to extract the first frame of each annotation on the tier?

Anyway, there are plans to create something similar for extracting audio or video clips based on the annotations of a tier. This could be extended with extraction of first frame images of all annotations of a tier. (Cannot tell when this can be realized).

-Han

Re: Re: Automated frame extraction?

Posted by rbenn at 2010-05-11 18:11  
Yes, I had something like that in mind. Either (i) extract the first frame corresponding to a point on the annotation tier, or (ii) extract n frames from within a non-empty interval, spaced at a distance of 1/(n-1) of the interval length (i.e. 5 frames, including start point and endpoint, with each frame 1/4 of the way through the interval).

Thanks for the great program.
 

Powered by Plone

This site conforms to the following standards: