问题描述
ffprobe -i 1.flv -print_format json -show_frames -show_format -show_streams -v 0
问题解答
回答1:child_process = require(’child_process’);json = child_process.execSync(’ffprobe -i 1.flv -print_format json -show_frames -show_format -show_streams -v 0’);console.log(json)