🧱 Make Movie (creating animations from AAA data) - articulateinstruments/AAA-DeepLabCut-Resources GitHub Wiki

The Make Movie dialog allows the whole or selected part of the currently loaded recording to be exported as a movie (with sound) in .AVI format.

This function is intended for creating movies with combined data streams e.g. ultrasonic and lip camera together, to add to a presentation. There is a separate export files dialogue for batch exporting whole files of ultrasonic or camera video and a separate export data dialogue for batch exporting annotated regions of ultrasonic or camera data as videos.


How to make a movie

  1. To save the entire recording, make sure the cursor in the wave window is selecting a single point in time. To save a region of the utterance, select that region by clicking and dragging in the waveform window.

image


  1. Next, Right-Click right-click in the ultrasonic or video (or EPG) window and select Make Movie from the popup menu to show the dialog.

image


  1. The filename will default to \ExportedFiles\AVI.avi.

  1. The Frame rate will default to 25 which is sufficient for a presentation video and saves space but you can choose to export at the frame rate of the data stream you clicked on to bring up the dialog. In this example we clicked on the ultrasonic display so the frame rate option is every ultrasonic frame.

  1. You can configure the layout of the movie image by clicking on a panel and moving it to a different position. Or to remove it from the layout, drag it to the list on the right. To add a display type drag it from the list on the right onto the layout in the position you want it.

  1. Set the resolution of the output. 720 x 540 is most reliable for good detail in a 4 x 3 aspect ratio. Or 320 x 240 is the size of the video needs to be smaller.
AAA uses Video for Windows to export videos and it refuses to export some resolutions sometimes. For example 640 x 480 often generates a memory error. In such cases, try a different resolution.

  1. Click image. The processing subwindow will appear and process every frame. Then a window will appear where you should select x264vfw codec for exporting the video as this generates smaller files without losing detail.

image image


  1. Click image in the Video Compression widow and the file should save to the location specified in step 1. If you get an error, try a different resolution in step 6.

Refining the Movie

A default 4 x 3 aspect ratio may result in an untidy arrangement of windows in the resulting movie.

image image


Change aspect ratio to for example 9 x 4 so the ultrasound and lip video fill the screen.

image image


Change the background colour to match the ultrasound background.

image image


image does not do anything. If you would like this feature then contact us.

⚠️ **GitHub.com Fallback** ⚠️