You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
981 B
42 lines
981 B
/* 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: ',-map 0:v -map 0:a -map 0:s? -map 0:d? -c copy -c:v:0 libx265 -max_muxing_queue_size 9999',
|
|
container: '.mkv',
|
|
handBrakeMode: false,
|
|
FFmpegMode: true,
|
|
reQueueAfter: true,
|
|
infoLog: '☑File is a video! \n☒File is not hevc! \n',
|
|
},
|
|
},
|
|
{
|
|
input: {
|
|
file: require('../sampleData/media/sampleH265_1.json'),
|
|
librarySettings: {},
|
|
inputs: {},
|
|
otherArguments: {},
|
|
},
|
|
output: {
|
|
processFile: false,
|
|
preset: '',
|
|
container: '.mp4',
|
|
handBrakeMode: false,
|
|
FFmpegMode: false,
|
|
reQueueAfter: false,
|
|
infoLog: '☑File is a video! \n☑File is already in hevc! \n',
|
|
},
|
|
},
|
|
];
|
|
|
|
run(tests);
|