mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 10:45:53 -07:00
Add Tdarr_Plugin_s7x9_winsome_h265_nvenc test
This commit is contained in:
parent
1534f60889
commit
1b3763e9a4
2 changed files with 63 additions and 1 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// tdarrSkipTest
|
|
||||||
const details = () => {
|
const details = () => {
|
||||||
return {
|
return {
|
||||||
id: "Tdarr_Plugin_s7x9_winsome_h265_nvenc",
|
id: "Tdarr_Plugin_s7x9_winsome_h265_nvenc",
|
||||||
|
|
|
||||||
63
tests/Community/Tdarr_Plugin_s7x9_winsome_h265_nvenc.js
Normal file
63
tests/Community/Tdarr_Plugin_s7x9_winsome_h265_nvenc.js
Normal file
|
|
@ -0,0 +1,63 @@
|
||||||
|
/* eslint max-len: 0 */
|
||||||
|
const _ = require('lodash');
|
||||||
|
const run = require('../helpers/run');
|
||||||
|
|
||||||
|
const tests = [
|
||||||
|
{
|
||||||
|
input: {
|
||||||
|
file: _.cloneDeep(require('../sampleData/media/sampleH264_1.json')),
|
||||||
|
librarySettings: {},
|
||||||
|
inputs: {},
|
||||||
|
otherArguments: {},
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
processFile: true,
|
||||||
|
preset: '-Z "H.265 MKV 2160p60" --all-audio --all-subtitles -e nvenc_h265',
|
||||||
|
container: '.mkv',
|
||||||
|
handBrakeMode: true,
|
||||||
|
FFmpegMode: false,
|
||||||
|
reQueueAfter: true,
|
||||||
|
infoLog: "☒File isn't in hevc! \n",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
input: {
|
||||||
|
file: _.cloneDeep(require('../sampleData/media/sampleH265_1.json')),
|
||||||
|
librarySettings: {},
|
||||||
|
inputs: {},
|
||||||
|
otherArguments: {},
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
processFile: true,
|
||||||
|
preset: ',-map 0:v -map 0:a:0 -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ac3 -b:a:0 192k -ac 2',
|
||||||
|
container: '.mkv',
|
||||||
|
handBrakeMode: false,
|
||||||
|
FFmpegMode: true,
|
||||||
|
reQueueAfter: true,
|
||||||
|
infoLog: '☒File has no language track in ac3,eac3,dts. No eng track marked so transcoding audio track 1 into ac3! \n',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
input: {
|
||||||
|
file: (() => {
|
||||||
|
const file = _.cloneDeep(require('../sampleData/media/sampleH265_1.json'));
|
||||||
|
file.ffProbeData.streams[1].codec_name = 'ac3';
|
||||||
|
return file;
|
||||||
|
})(),
|
||||||
|
librarySettings: {},
|
||||||
|
inputs: {},
|
||||||
|
otherArguments: {},
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
processFile: false,
|
||||||
|
preset: '',
|
||||||
|
container: '.mkv',
|
||||||
|
handBrakeMode: false,
|
||||||
|
FFmpegMode: true,
|
||||||
|
reQueueAfter: false,
|
||||||
|
infoLog: '☑File is in mkv container! \n',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
run(tests);
|
||||||
Loading…
Add table
Add a link
Reference in a new issue