Skip to content

The swiss army knife of lossless video/audio editing

missing hunk

Mikael Finstadfd6b2d639f32
diff --git a/src/ffmpeg.js b/src/ffmpeg.js
index bf525c43..9f76d6e3 100644
--- a/src/ffmpeg.js
+++ b/src/ffmpeg.js
@@ -558,15 +558,6 @@ function determineOutputFormat(ffprobeFormats, ft) {
return ffprobeFormats[0] || undefined;
}
-export async function getFormatData(filePath) {
- console.log('getFormatData', filePath);
-
- const { stdout } = await runFfprobe([
- '-of', 'json', '-show_format', '-i', filePath,
- ]);
- return JSON.parse(stdout).format;
-}
-
export async function getDefaultOutFormat(filePath, formatData) {
const formatsStr = formatData.format_name;
console.log('formats', formatsStr);