Add user1-prompts/txt
This commit is contained in:
16
user1-prompts/txt
Normal file
16
user1-prompts/txt
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
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.
|
||||||
Reference in New Issue
Block a user