Browse Source

增加视频采样,转换mp2格式

master
DIAMOND 10 months ago
parent
commit
2ae8bf2d01
  1. 3
      electron/electron.js

3
electron/electron.js

@ -59,6 +59,9 @@ ipcMain.on('openRtsp', (event, rtsp) => {
ffmpegOptions: {
'-stats': '',
'-r': 30,
// '-b:a': '128k',
'-ar': '44100',
'-codec:a': 'mp2',
},
}).on('exitWithError', () => {
stream.stop();

Loading…
Cancel
Save