help
This commit is contained in:
parent
46084e7540
commit
cdb2585c8a
2 changed files with 2 additions and 1 deletions
2
index.js
2
index.js
|
@ -46,6 +46,8 @@ app.post("/convert", uploads.single("files"), (req, res) => {
|
||||||
'-f', format,
|
'-f', format,
|
||||||
'-loglevel', 'error',
|
'-loglevel', 'error',
|
||||||
'-movflags', 'frag_keyframe+empty_moov',
|
'-movflags', 'frag_keyframe+empty_moov',
|
||||||
|
'-vcodec', 'copy' ,
|
||||||
|
'-acodec', 'copy',
|
||||||
'-'
|
'-'
|
||||||
], {
|
], {
|
||||||
stdio: [
|
stdio: [
|
||||||
|
|
|
@ -47,7 +47,6 @@
|
||||||
<option value="mp4">.mp4</option>
|
<option value="mp4">.mp4</option>
|
||||||
<option value="matroska">.mkv</option>
|
<option value="matroska">.mkv</option>
|
||||||
<option value="flv">.flv</option>
|
<option value="flv">.flv</option>
|
||||||
<option value="avi">.avi</option>
|
|
||||||
<option value="mov">.mov</option>
|
<option value="mov">.mov</option>
|
||||||
<option disabled>Audio Formats</option>
|
<option disabled>Audio Formats</option>
|
||||||
<option value="mp3">.mp3</option>
|
<option value="mp3">.mp3</option>
|
||||||
|
|
Loading…
Reference in a new issue