mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
Res fix
This commit is contained in:
parent
dc1abd4205
commit
044f97e161
2 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ function plugin(file) {
|
|||
|
||||
//
|
||||
|
||||
if(file.ffProbeData.streams[0].codec_name != 'h264' || file.ffProbeData.streams[0].width > 720 || file.ffProbeData.streams[0].height > 480 ){
|
||||
if(file.ffProbeData.streams[0].codec_name != 'h264' || file.ffProbeData.streams[0].width > 1280 || file.ffProbeData.streams[0].height > 720 ){
|
||||
|
||||
response.processFile = true;
|
||||
response.preset = '-Z "H.264 MKV 720p3030"'
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ function plugin(file) {
|
|||
|
||||
//
|
||||
|
||||
if(file.ffProbeData.streams[0].codec_name != 'h264' || file.ffProbeData.streams[0].width > 720 || file.ffProbeData.streams[0].height > 480 ){
|
||||
if(file.ffProbeData.streams[0].codec_name != 'h264' || file.ffProbeData.streams[0].width > 1920 || file.ffProbeData.streams[0].height > 1080 ){
|
||||
|
||||
response.processFile = true;
|
||||
response.preset = '-Z "H.264 MKV 1080p30"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue