Skip to content

Commit

Permalink
Added ffprobe manually
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Sep 12, 2022
1 parent b2435f9 commit 147930b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Binary file added lib/ffprobe
Binary file not shown.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"homepage": "https://github.com/neurospeech/ff-lambda#readme",
"dependencies": {
"ffmpeg-static": "^5.1.0",
"ffprobe-static": "^3.1.0",
"fluent-ffmpeg": "^2.1.2",
"node-fetch": "^2.6.7",
"tmp-promise": "^3.0.3"
Expand Down
3 changes: 1 addition & 2 deletions src/FFConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ import { spawn } from "child_process";
import * as ffmpeg from "fluent-ffmpeg";
import * as path from "path";
import * as ffmpegPath from "ffmpeg-static";
import * as ffprobePath from "ffprobe-static";

export default class FFConfig {

public static ffMpegPath = ffmpegPath as any as string;
public static ffProbePath = ffprobePath.path as string;
public static ffProbePath = path.join(__dirname, "../lib/ffprobe");

public static ffmpeg = ffmpeg;

Expand Down

0 comments on commit 147930b

Please sign in to comment.