node.js - 用ffmpeg命令行获取json格式的视频的信息,在nodejs中怎么调用这些数据?
天蓬老师
天蓬老师 2017-04-17 15:57:34
0
1
635

ffprobe -i 1.flv -print_format json -show_frames -show_format -show_streams -v 0

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

Antworte allen(1)
Ty80
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)
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage