Skip to content

Commit

Permalink
Update jlse.js
Browse files Browse the repository at this point in the history
  • Loading branch information
naa0yama authored Oct 6, 2024
1 parent 636f498 commit c006705
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions modules/join_logo_scp_trial/src/jlse.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ const argv = require("yargs")
default: "cutcm_logo",
describe: "select encord target"
})
.option("tsdivider", {
alias: "tsd",
type: "boolean",
default: false,
describe: "select tsdivider enabled"
})
.option("option", {
alias: "o",
type: "string",
Expand Down Expand Up @@ -122,10 +128,13 @@ const main = async () => {
const channel = argv.channel ? parseChannel(inputFile, channel_name) : parseChannel(inputFile, "");
const param = parseParam(channel, inputFileName);
let avsFile = createAvs(INPUT_AVS, inputFile, 1);
console.log("TS spliting ...");
tsdivider(inputFile);
console.log("TS split done");
avsFile = createAvs(INPUT_AVS, TSDIVIDER_OUTPUT, -1);

if(argv.tsdivider) {
console.log("TS spliting ...");
tsdivider(inputFile);
console.log("TS split done");
avsFile = createAvs(INPUT_AVS, TSDIVIDER_OUTPUT, -1);
}

await chapterexe(avsFile);
await logoframe(param, channel, avsFile);
Expand Down

0 comments on commit c006705

Please sign in to comment.