mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Add option to not transcode original resolution
This commit is contained in:
parent
7e0f50d6e0
commit
84cae54e7a
26 changed files with 303 additions and 87 deletions
|
@ -31,8 +31,7 @@ async function run (path: string, cmd: any) {
|
|||
availableEncoders: VideoTranscodingProfilesManager.Instance.getAvailableEncoders(),
|
||||
profile: 'default',
|
||||
|
||||
resolution: +cmd.resolution,
|
||||
isPortraitMode: false
|
||||
resolution: +cmd.resolution
|
||||
} as TranscodeVODOptions
|
||||
|
||||
let command = ffmpeg(options.inputPath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue