Unnesacary

This commit is contained in:
Bingus_Violet 2023-12-11 00:10:34 -06:00
parent cdb2585c8a
commit 583dfc4608
2 changed files with 2 additions and 3 deletions

View file

@ -42,7 +42,6 @@ app.post("/convert", uploads.single("files"), (req, res) => {
const ffmpegProcess = cp.spawn(ffmpeg, [ const ffmpegProcess = cp.spawn(ffmpeg, [
'-i', file.path, '-i', file.path,
'-preset', preset,
'-f', format, '-f', format,
'-loglevel', 'error', '-loglevel', 'error',
'-movflags', 'frag_keyframe+empty_moov', '-movflags', 'frag_keyframe+empty_moov',

View file

@ -25,7 +25,7 @@
<input name="files" type="file" accept="video/*, audio/*"> <input name="files" type="file" accept="video/*, audio/*">
</div> </div>
<div class="setting"> <!-- <div class="setting">
<p>Quality:</p> <p>Quality:</p>
<select required id="preset" name="preset"> <select required id="preset" name="preset">
<option value="ultrafast">Ultra Fast (Lowest)</option> <option value="ultrafast">Ultra Fast (Lowest)</option>
@ -38,7 +38,7 @@
<option value="veryslow">Very Slow (Highest)</option> <option value="veryslow">Very Slow (Highest)</option>
</select> </select>
</div> </div> -->
<div class="setting"> <div class="setting">
<p>Format:</p> <p>Format:</p>