CroatianMeteorNetwork / RMS

RPi Meteor Station
https://globalmeteornetwork.org/
GNU General Public License v3.0
176 stars 49 forks source link

Enhancement to FRbinViewer #110

Closed markmac99 closed 2 years ago

markmac99 commented 2 years ago

Enhancement to FRbinViewer to create an mp4 of the data.

FRbinViewer can already be used to export one or more FR files as a set of still images in jpg, bmp or png format. I often use these to create a more detailed video of fireballs than can be generated from the FF file.

With this enhancement, if the selected export type is "mp4" then FRbinViewer will automatically create an mp4 video rather than stills. This uses the same essential logic as GenerateMP4s. There is no change in the exposed interface, except that passing in "-f mp4" will now result in a video rather than an error!

Note: FRbinViewer operates on a whole folder and some FR files may contain more than one 'line', so multiple MP4s will usually be created. To avoid creating unwanted videos of clouds and aircraft, the user should copy the desired FR file to a temporary location before processing. I am looking into a further enhancement to allow DIR_PATH to be either a folder or an individual file, and to handle it accordingly.

Tested on Pi3, Pi4 and Windows.