Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/bf285a572d17436a119684c43b311ddbfe13bed6?style=unified&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

fix: make sure the dimension is divisible by two for zscale ()

pull/11196/head
gnattu 1 year ago committed by GitHub
parent 7a2c3b0710
commit bf285a572d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -691,7 +691,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
Video3DFormat.HalfTopAndBottom => @"crop=iw:ih/2:0:0,scale=(iw*2):ih),setdar=dar=a,crop=min(iw\,ih*dar):min(ih\,iw/dar):(iw-min(iw\,iw*sar))/2:(ih - min (ih\,ih/sar))/2,setsar=sar=1",
// ftab crop height in half, set the display aspect,crop out any black bars we may have made
Video3DFormat.FullTopAndBottom => @"crop=iw:ih/2:0:0,setdar=dar=a,crop=min(iw\,ih*dar):min(ih\,iw/dar):(iw-min(iw\,iw*sar))/2:(ih - min (ih\,ih/sar))/2,setsar=sar=1",
_ => "scale=trunc(iw*sar):ih"
_ => "scale=round(iw*dar/2)*2:round(ih/2)*2"
};
filters.Add(scaler);

Loading…
Cancel
Save