Compare commits
No commits in common. "909eb70dea7fba7125bd2e5f6209347687e30863" and "2fc7ce1de02662d09b925a4ea2889d243230fc33" have entirely different histories.
909eb70dea
...
2fc7ce1de0
2 changed files with 4 additions and 36 deletions
|
|
@ -63,15 +63,11 @@ changelog:
|
||||||
# these URLs and publishes the release there instead of GitHub. Reachable via
|
# these URLs and publishes the release there instead of GitHub. Reachable via
|
||||||
# `forgejo` hostname inside the dokploy-network (the runner shares it); for
|
# `forgejo` hostname inside the dokploy-network (the runner shares it); for
|
||||||
# local goreleaser runs outside the network, override via env GITEA_API_URL.
|
# local goreleaser runs outside the network, override via env GITEA_API_URL.
|
||||||
#
|
|
||||||
# In goreleaser v2 `gitea_urls` is a top-level key (was nested under `release`
|
|
||||||
# in v1).
|
|
||||||
gitea_urls:
|
|
||||||
api: http://forgejo:3000/api/v1
|
|
||||||
download: https://git.torrentclaw.com
|
|
||||||
skip_tls_verify: false
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
gitea_urls:
|
||||||
|
api: http://forgejo:3000/api/v1
|
||||||
|
download: https://git.torrentclaw.com
|
||||||
|
skip_tls_verify: false
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: auto
|
prerelease: auto
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -67,31 +67,3 @@ func TestBuildHLSFFmpegArgsLibx264NoRegression(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestBuildHLSFFmpegArgsVAAPIDump prints the full argv buildHLSFFmpegArgsAt
|
|
||||||
// emits for a typical VAAPI session. Mimics the daemon spawn step so the
|
|
||||||
// operator can verify the ffmpeg command-line shape without booting the
|
|
||||||
// stack — equivalent to `journalctl --user -u unarr-dev | grep ffmpeg`
|
|
||||||
// but without waiting for a real player session.
|
|
||||||
func TestBuildHLSFFmpegArgsVAAPIDump(t *testing.T) {
|
|
||||||
cfg := HLSSessionConfig{
|
|
||||||
SessionID: "vaapi-smoke",
|
|
||||||
SourcePath: "/mnt/nas/peliculas/sample.mkv",
|
|
||||||
Quality: "720p",
|
|
||||||
AudioIndex: -1,
|
|
||||||
Transcode: TranscodeRuntime{
|
|
||||||
FFmpegPath: "/usr/bin/ffmpeg",
|
|
||||||
FFprobePath: "/usr/bin/ffprobe",
|
|
||||||
HWAccel: HWAccelVAAPI,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
probe := &StreamProbe{
|
|
||||||
VideoCodec: "hevc",
|
|
||||||
Width: 3840,
|
|
||||||
Height: 2160,
|
|
||||||
DurationSec: 5400,
|
|
||||||
AudioTracks: []ProbeAudioTrack{{Index: 0, Lang: "en", Codec: "ac3"}},
|
|
||||||
}
|
|
||||||
args := buildHLSFFmpegArgsAt(cfg, probe, "/tmp/smoke-tmpdir", 0, 0)
|
|
||||||
t.Logf("ffmpeg %s", strings.Join(args, " "))
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue