forked from LBRYCommunity/lbry-sdk
Merge pull request #2875 from lbryio/1080p
default to 1080P for anything higher than 1080P
This commit is contained in:
commit
2e2b39455f
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ class TranscodeConfig(BaseConfig):
|
||||||
video_bitrate_maximum = Integer('Maximum bits per second allowed for video streams (0 to disable).', 8400000)
|
video_bitrate_maximum = Integer('Maximum bits per second allowed for video streams (0 to disable).', 8400000)
|
||||||
video_scaler = String('FFmpeg scaling parameters for reducing bitrate. '
|
video_scaler = String('FFmpeg scaling parameters for reducing bitrate. '
|
||||||
'Example: -vf "scale=-2:720,fps=24" -maxrate 5M -bufsize 3M',
|
'Example: -vf "scale=-2:720,fps=24" -maxrate 5M -bufsize 3M',
|
||||||
r'-vf "scale=if(gte(iw\,ih)\,min(2560\,iw)\,-2):if(lt(iw\,ih)\,min(2560\,ih)\,-2)" '
|
r'-vf "scale=if(gte(iw\,ih)\,min(1920\,iw)\,-2):if(lt(iw\,ih)\,min(1920\,ih)\,-2)" '
|
||||||
r'-maxrate 8400K -bufsize 5000K')
|
r'-maxrate 8400K -bufsize 5000K')
|
||||||
audio_encoder = String('FFmpeg codec and parameters for the audio encoding. '
|
audio_encoder = String('FFmpeg codec and parameters for the audio encoding. '
|
||||||
'Example: libopus -b:a 128k',
|
'Example: libopus -b:a 128k',
|
||||||
|
|
Loading…
Reference in a new issue