Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
fadri1 committed Jan 10, 2024
1 parent ab59c24 commit dcf1ac3
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions framefusion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ export interface Extractor {
//
// Example:
//
const TEST_VIDEO = './samples/tmp.mp4';
export const run = async() => {
// Arrange
const extractor = await BeamcoderExtractor.create({
inputFileOrUrl: TEST_VIDEO,
});

const frame = await extractor.getImageDataAtTime(230.63333333333335);
console.log(frame);
extractor.dispose();
};

run();
// const TEST_VIDEO = './samples/tmp.mp4';
// export const run = async() => {
// // Arrange
// const extractor = await BeamcoderExtractor.create({
// inputFileOrUrl: TEST_VIDEO,
// });

// const frame = await extractor.getImageDataAtTime(230.63333333333335);
// console.log(frame);
// extractor.dispose();
// };

// run();


export { BeamcoderExtractor };

0 comments on commit dcf1ac3

Please sign in to comment.