Open the Terminal: Launch the terminal (command line interface) on your computer.
Enter the Conversion Command: In the terminal, type the following command to convert your video file:
ffmpeg -i test.webm -f avi -vcodec mjpeg convertedFile.avi
Replace "test.webm" with the name of the video file you wish to convert. Make sure to include the file extension (e.g., .webm).
Replace "convertedFile.avi" with the desired output file name. The output must be in AVI format, so ensure that the file ends with .avi.
Important Note: When copying the file name, make sure to include the file extension (e.g., .webm or .avi). The output video file must be in AVI format for the next steps to work properly.
After Conversion: Once the conversion is complete, proceed to the "Image Capture and Analysis" section. There, you will extract data on the position and time of the ball within the video for further analysis.
This process ensures proper conversion of the video files to the required format for subsequent image analysis and data extraction.