1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-16 21:12:13 +00:00

Add option to change encoder and container (#114)

This change enables the user to select a specific
container and/or encoder for the output. As this change
forces ffmpeg to use copy by default, destreamer now uses
mkv as default output. This might be needed when MS Streams
doesn't offer a mp4 compatible stream. mkv offers much more
support.
This commit is contained in:
molikuner
2020-05-02 15:47:18 +02:00
committed by GitHub
parent 516f6ce2cd
commit c21fb96ff6
3 changed files with 34 additions and 4 deletions

View File

@@ -82,6 +82,12 @@ Options:
[boolean] [default: false]
--noCleanup, --nc Don't delete the downloaded video file when an FFmpeg
error occurs [boolean] [default: false]
--encodeVideo, --ev Encode the video with a specify encoder. Set to
"none" to disable video. [string] [default: "copy"]
--encodeAudio, --ea Encode the audio with a specify encoder. Set to
"none" to disable audio. [string] [default: "copy"]
--format, -F The file format of the output file(s)
[string] [default: "mkv"]
```
Download a video -