Skip to content

Commit

Permalink
chore: remove unused dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilly2fast committed Sep 2, 2024
1 parent 591c203 commit bb99d91
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
},
"dependencies": {
"@ffmpeg-installer/ffmpeg": "^1.1.0",
"@ffprobe-installer/ffprobe": "^2.1.2",
"fluent-ffmpeg": "^2.1.3"
}
}
3 changes: 0 additions & 3 deletions src/endpoints/ProcessVideo/service/sliceVideo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import https from 'https'
import fs from 'fs'
import { promises as fsPromises } from 'fs'
import ffmpegInstaller from '@ffmpeg-installer/ffmpeg'
//import ffprobeInstaller from '@ffprobe-installer/ffprobe'
import path from 'path'
import {
PlaylistInfo,
Expand All @@ -29,9 +28,7 @@ export async function sliceVideo(
): Promise<VideoInfo> {
return new Promise((resolve, reject) => {
console.log('FFmpeg path:', ffmpegInstaller.path)
// console.log('FFprobe path:', ffprobeInstaller.path)
ffmpeg.setFfmpegPath(ffmpegInstaller.path)
// ffmpeg.setFfprobePath(ffprobeInstaller.path)

ffmpeg.ffprobe(inputPath, async (err, metadata) => {
if (err) return reject(err)
Expand Down

0 comments on commit bb99d91

Please sign in to comment.