Fix ab-av1 ffprobe using env vars instead of CLI args (v2.33)
- Use FFMPEG and FFPROBE environment variables instead of --ffmpeg/--ffprobe flags - Older ab-av1 versions don't support those command-line arguments - Sets env vars to point to tdarr-ffmpeg when executing ab-av1
This commit is contained in:
2100
Latest-Reports/NRi8RyLRK-log.txt
Normal file
2100
Latest-Reports/NRi8RyLRK-log.txt
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -10,7 +10,7 @@ const details = () => ({
|
||||
Features resolution-aware CRF, source-relative bitrate strategies, ab-av1 auto-CRF, and performance optimizations.
|
||||
**Balanced defaults**: Preset 6, CRF 26, tune 0 (VQ), 10-bit, SCD 1, AQ 2, lookahead -1, TF on, keyint -2, fast-decode 0.
|
||||
`,
|
||||
Version: '2.32',
|
||||
Version: '2.33',
|
||||
Tags: 'video,av1,svt,quality,performance,speed-optimized,vbr,crf,vmaf',
|
||||
Inputs: [
|
||||
{
|
||||
@@ -517,18 +517,22 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||
'--samples', sampleCount.toString(),
|
||||
'--encoder', 'libsvtav1',
|
||||
'--preset', preset.toString(),
|
||||
'--ffmpeg', 'tdarr-ffmpeg', // Use Tdarr's ffmpeg binary
|
||||
'--ffprobe', 'tdarr-ffmpeg', // tdarr-ffmpeg acts as both ffmpeg and ffprobe
|
||||
];
|
||||
|
||||
const command = `${abav1Path} ${args.join(' ')}`;
|
||||
|
||||
// Execute with timeout (5 minutes should be enough for sample encodes)
|
||||
// Set FFMPEG and FFPROBE environment variables to point to tdarr-ffmpeg
|
||||
const output = execSync(command, {
|
||||
encoding: 'utf8',
|
||||
timeout: 300000, // 5 minute timeout
|
||||
maxBuffer: 10 * 1024 * 1024, // 10MB buffer
|
||||
stdio: ['pipe', 'pipe', 'pipe']
|
||||
stdio: ['pipe', 'pipe', 'pipe'],
|
||||
env: {
|
||||
...process.env,
|
||||
FFMPEG: 'tdarr-ffmpeg',
|
||||
FFPROBE: 'tdarr-ffmpeg',
|
||||
}
|
||||
});
|
||||
|
||||
// Parse ab-av1 output for CRF value
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Tdarr Plugin Suite Documentation
|
||||
|
||||
> **Version**: 2025-12-16
|
||||
> **Plugins**: misc_fixes v2.8 | stream_organizer v4.10 | audio_standardizer v1.15 | av1_converter v2.32
|
||||
> **Plugins**: misc_fixes v2.8 | stream_organizer v4.10 | audio_standardizer v1.15 | av1_converter v2.33
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user