Files
vibe-test/user1-prompts/txt
2025-06-26 09:39:41 -04:00

16 lines
813 B
Plaintext

Your challenge is to create a program that processes a video file and performs a specific task. For this round, your task is:
Task:
Write a program that takes a video file as input and extracts the first frame, saving it as an image file (e.g., PNG or JPEG). Your program should accept the video file path as a command-line argument and output the image file in the same directory.
Requirements:
The program must be written in Python, JavaScript, or any language specified by the competition.
Use only open-source libraries.
The code should be well-documented and easy to understand.
Include instructions on how to run your program.
Bonus:
Add an option to extract a frame at a specific timestamp (e.g., at 10 seconds).
Submission:
Submit your code, a README file with instructions, and a sample output image.