1
0

4:3 output ratio

This commit is contained in:
2025-09-26 05:54:05 +02:00
parent 71cca0589e
commit a0cba047e5
3 changed files with 58 additions and 22 deletions

View File

@ -88,12 +88,26 @@ adm.videoCodec(
adm.addVideoFilter(
"shaderLoader", "shaderFile=/opt/rk/avidemux/unfish_gopro_8:7.glsl")
adm.addVideoFilter(
"swscale", "width=2792", "height=2160", "algo=2", "sourceAR=0", "targetAR=0", "lockAR=False", "roundup=0")
"crop",
"top=80",
"bottom=0",
"left=0",
"right=0",
"ar_select=0")
adm.addVideoFilter(
"swscale",
"width=2880",
"height=2160",
"algo=2",
"sourceAR=0",
"targetAR=0",
"lockAR=False",
"roundup=0")
adm.audioClearTracks()
if adm.audioTotalTracksCount() <= 0:
raise("Cannot add audio track 0, total tracks: " + str(adm.audioTotalTracksCount()))
adm.audioAddTrack(0)
adm.audioCodec(0, "LavAAC", "bitrate=128")
adm.audioCodec(0, "LavAAC", "bitrate=192")
adm.audioSetDrc2(0, 1, 1, 0.001, 0.2, 1, 2, -12)
adm.audioSetEq(0, 0, 0, 0, 0, 880, 5000)
adm.audioSetChannelGains(0, 0, 0, 0, 0, 0, 0, 0, 0, 0)