Faster converting
This commit is contained in:
parent
9f69e39b36
commit
1b65b47408
2 changed files with 1 additions and 3 deletions
2
index.js
2
index.js
|
@ -29,7 +29,7 @@ app.get("/convert", async (req, res) => {
|
|||
'-i', filePath,
|
||||
'-f', formats[format] || format,
|
||||
'-movflags', 'frag_keyframe+empty_moov',
|
||||
'-vcodec', 'copy',
|
||||
'-c', 'copy',
|
||||
'-'
|
||||
], {
|
||||
stdio: [
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
<option disabled>Video Formats</option>
|
||||
<option value="mp4">.mp4</option>
|
||||
<option value="mkv">.mkv</option>
|
||||
<option value="flv">.flv</option>
|
||||
<option value="avi">.avi</option>
|
||||
<option disabled>Audio Formats</option>
|
||||
<option value="mp3" selected>.mp3</option>
|
||||
<option value="wav">.wav</option>
|
||||
|
|
Loading…
Reference in a new issue