|
|
|
|
@ -17,7 +17,7 @@ function details() {
|
|
|
|
|
function plugin(file) {
|
|
|
|
|
const response = {
|
|
|
|
|
processFile: false,
|
|
|
|
|
preset: `,-map 0 -codec copy -bsf:v "filter_units=remove_types=6"`,
|
|
|
|
|
preset: `,-map 0 -codec copy -bsf:v 'filter_units=remove_types=6'`,
|
|
|
|
|
container: '.${file.container}',
|
|
|
|
|
handBrakeMode: false,
|
|
|
|
|
FFmpegMode: true,
|
|
|
|
|
@ -35,7 +35,7 @@ function plugin(file) {
|
|
|
|
|
return response;
|
|
|
|
|
}
|
|
|
|
|
// If not, check for Closed Captions in the streams
|
|
|
|
|
var streams = file.ffProbeData.streams;
|
|
|
|
|
const streams = file.ffProbeData.streams;
|
|
|
|
|
for (const stream in streams) {
|
|
|
|
|
if (stream.closed_captions) {
|
|
|
|
|
response.processFile = true;
|
|
|
|
|
|