documention-cn.md 2.0 KB

4DAGE-FFMPEG 中文说明

维护者: 张宇鹏 zhangyupeng@cgaii.com

文档

一个专门为4DAGE 4D Kankan而优化设计的FFmpeg,可以利用NVIDIA's GPU视频核心的加速,拥有python lv2的神经网络学习插件,如有speech-denoiser,ladspa等声音降噪功能,如4dage-ffmpeg中有使用。

这个仓库是提供一键FFmpeg安装脚本并提供一键安装命令,包括macOS and Linux 平台,非免费播件等。

Supported Codecs(支持的解码库):

  • x264: H.264 Video Codec (MPEG-4 AVC)
  • x265: H.265 Video Codec (HEVC)
  • libsvtav1, SVT-AV1 Encoder and Decoder
  • aom: AV1 Video Codec (Experimental and very slow!)
  • fdk_aac: Fraunhofer FDK AAC Codec
  • xvidcore: MPEG-4 video coding standard
  • VP8/VP9/webm: VP8 / VP9 Video Codec for the WebM video file format
  • mp3: MPEG-1 or MPEG-2 Audio Layer III
  • ogg: Free, open container format
  • vorbis: Lossy audio compression format
  • theora: Free lossy video compression format
  • opus: Lossy audio coding format
  • srt: Secure Reliable Transport
  • srt: Secure Reliable Transport
  • webp: Image format both lossless and lossy

some spec has using some flag with the repo's recommended params spec.

一些我们使用的ffmpeg参数也参考了下面的方法:

https://gist.github.com/mikoim/27e4e0dc64e384adbcb91ff10a2d3678

一键shell全安装命令 :

$ /bin/bash -c "$(curl -fsSL http://192.168.0.115:3000/zhangyupeng/4dage-ffmpeg/raw/master/web-install.sh)" 

一键4dag-ffmpeg安装命令(方便升级安装) :

$ /bin/bash -c "$(curl -fsSL http://192.168.0.115:3000/zhangyupeng/4dage-ffmpeg/raw/master/install-4dage)"  

Deb包安装方法:

TBC

vagrant(测试):

 vagrant up
 # seem the log to check what happen for script's onging
 tail -f /var/log/4dage-ffmpeg.log