Commit 29651274 authored by Guillaume Lebigot's avatar Guillaume Lebigot

Ajout temporaire de debug ffmpeg gain

parent c4dc34cb
......@@ -17,7 +17,7 @@ export async function extractSubtitles(videofile, extractfile, config) {
export function getVideoGain(videofile, config) {
const conf = config || getConfig();
logger.debug('[ffmpeg] Gain config : '+JSON.stringify(conf));
return new Promise((resolve) => {
const proc = spawn(conf.BinffmpegPath, ['-i', videofile, '-vn', '-af', 'replaygain', '-f','null', '-'], { encoding : 'utf8' });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment