mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 02:35:54 -07:00
Add Tdarr_Plugin_00td_action_handbrake_basic_options test
This commit is contained in:
parent
8f9a97021f
commit
3d7314b94c
2 changed files with 74 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
// tdarrSkipTest
|
|
||||||
const details = () => ({
|
const details = () => ({
|
||||||
id: 'Tdarr_Plugin_00td_action_handbrake_basic_options',
|
id: 'Tdarr_Plugin_00td_action_handbrake_basic_options',
|
||||||
Stage: 'Pre-processing',
|
Stage: 'Pre-processing',
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,74 @@
|
||||||
|
/* eslint max-len: 0 */
|
||||||
|
const run = require('../helpers/run');
|
||||||
|
|
||||||
|
const tests = [
|
||||||
|
{
|
||||||
|
input: {
|
||||||
|
file: require('../sampleData/media/sampleH264_1.json'),
|
||||||
|
librarySettings: {},
|
||||||
|
inputs: {},
|
||||||
|
otherArguments: {},
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
processFile: true,
|
||||||
|
preset: '-Z "Very Fast 1080p30" -e x265 --all-subtitles',
|
||||||
|
container: '.mkv',
|
||||||
|
handBrakeMode: false,
|
||||||
|
FFmpegMode: false,
|
||||||
|
reQueueAfter: true,
|
||||||
|
infoLog: 'File is being transcoded using HandBrake \n',
|
||||||
|
handbrakeMode: true,
|
||||||
|
ffmpegMode: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
input: {
|
||||||
|
file: require('../sampleData/media/sampleH264_1.json'),
|
||||||
|
librarySettings: {},
|
||||||
|
inputs: {
|
||||||
|
handbrakePreset: 'Fast 576p25',
|
||||||
|
videoEncoder: 'nvenc_h265',
|
||||||
|
keepSubtitles: 'true',
|
||||||
|
container: 'mp4',
|
||||||
|
},
|
||||||
|
otherArguments: {},
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
processFile: true,
|
||||||
|
preset: '-Z "Fast 576p25" -e nvenc_h265 --all-subtitles',
|
||||||
|
container: '.mp4',
|
||||||
|
handBrakeMode: false,
|
||||||
|
FFmpegMode: false,
|
||||||
|
reQueueAfter: true,
|
||||||
|
infoLog: 'File is being transcoded using HandBrake \n',
|
||||||
|
handbrakeMode: true,
|
||||||
|
ffmpegMode: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
input: {
|
||||||
|
file: require('../sampleData/media/sampleH264_1.json'),
|
||||||
|
librarySettings: {},
|
||||||
|
inputs: {
|
||||||
|
handbrakePreset: 'Fast 576p25',
|
||||||
|
videoEncoder: 'nvenc_h265',
|
||||||
|
keepSubtitles: 'false',
|
||||||
|
container: 'mov',
|
||||||
|
},
|
||||||
|
otherArguments: {},
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
processFile: true,
|
||||||
|
preset: '-Z "Fast 576p25" -e nvenc_h265 ',
|
||||||
|
container: '.mov',
|
||||||
|
handBrakeMode: false,
|
||||||
|
FFmpegMode: false,
|
||||||
|
reQueueAfter: true,
|
||||||
|
infoLog: 'File is being transcoded using HandBrake \n',
|
||||||
|
handbrakeMode: true,
|
||||||
|
ffmpegMode: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
run(tests);
|
||||||
Loading…
Add table
Add a link
Reference in a new issue