1.HLS协议 http live streaming

将本地文件或者摄像头视频转成hls流文件
https://www.ffmpeg.org/ffmpeg-all.html#hls-2

2.rtmp流协议

需要nginx-rtmp-module

编译过程有很多依赖

ffmpeg直播系统

参考
https://www.jianshu.com/p/06c2025edcd3
https://www.ffmpeg.org/ffmpeg.html

一些常用命令

提取音频 ffmpeg -i input-video.avi -vn -acodec copy output-audio.aac -vn是exclude video
去除音频 ffmpeg -i $input_file -c copy -an $output_file -an就是exclude audio
音频放大 ffmpeg -i out.mp3 -af "volume=20dB" xxx.mp3 注意20dB不能写成20db,20DB
视频水印 https://www.jianshu.com/p/e4ad7e1e7ed5

相关文章:

  • 2021-11-12
  • 2022-02-25
  • 2022-12-23
  • 2022-01-17
  • 2021-10-08
  • 2022-02-06
  • 2021-11-12
  • 2021-08-14
猜你喜欢
  • 2021-12-21
  • 2022-03-01
  • 2021-10-21
  • 2022-12-23
  • 2022-02-08
  • 2021-07-16
  • 2021-05-27
相关资源
相似解决方案