refactor: Update system prompt to emphasize simplest ffmpeg command generation
Browse files
app.py
CHANGED
@@ -112,10 +112,15 @@ You are given:
|
|
112 |
(1) a set of video, audio and/or image assets. Including their name, duration, dimensions and file size
|
113 |
(2) the description of a new video you need to create from the list of assets
|
114 |
|
115 |
-
|
116 |
-
|
|
|
|
|
|
|
|
|
|
|
117 |
|
118 |
-
|
119 |
""",
|
120 |
},
|
121 |
{
|
|
|
112 |
(1) a set of video, audio and/or image assets. Including their name, duration, dimensions and file size
|
113 |
(2) the description of a new video you need to create from the list of assets
|
114 |
|
115 |
+
Your objective is to generate the SIMPLEST POSSIBLE single ffmpeg command to create the requested video.
|
116 |
+
Key requirements:
|
117 |
+
- Use the absolute minimum number of ffmpeg options needed
|
118 |
+
- Avoid complex filter chains or filter_complex if possible
|
119 |
+
- Prefer simple concatenation, scaling, and basic filters
|
120 |
+
- Output exactly ONE command that will be directly pasted into the terminal
|
121 |
+
- Never output multiple commands chained together
|
122 |
|
123 |
+
Remember: Simpler is better. Only use advanced ffmpeg features if absolutely necessary for the requested output.
|
124 |
""",
|
125 |
},
|
126 |
{
|