DSM版本7.1-42661 Update 1
Video Station版本3.0.3-2084
1.安装ffmpeg
管理员账号登录web端,打开套件中心,点击设置→套件来源→新增,添加第三方源(http://packages.synocommunity.com/),名称可以随便填,设置完成后套件中心左侧列表会出现一个社群的选项,选中社群,找到ffmpeg并安装
2.配置,ssh链接群晖并输入sudo -i切换到root模式,依次执行下列内容,每次执行一句命令
#备份 VideoStation's ffmpeg mv -n /var/packages/VideoStation/target/bin/ffmpeg /var/packages/VideoStation/target/bin/ffmpeg.orig #下载ffmpeg脚本 wget -O - https://gist.githubusercontent.com/BenjaminPoncet/bbef9edc1d0800528813e75c1669e57e/raw/ffmpeg-wrapper > /var/packages/VideoStation/target/bin/ffmpeg #设置脚本相应权限 chown root:VideoStation /var/packages/VideoStation/target/bin/ffmpeg chmod 750 /var/packages/VideoStation/target/bin/ffmpeg chmod u+s /var/packages/VideoStation/target/bin/ffmpeg # 备份VideoStation's libsynovte.so cp -n /var/packages/VideoStation/target/lib/libsynovte.so /var/packages/VideoStation/target/lib/libsynovte.so.orig chown VideoStation:VideoStation /var/packages/VideoStation/target/lib/libsynovte.so.orig # 为libsynovte.so 添加 DTS, EAC3 and TrueHD支持 sed -i -e 's/eac3/3cae/' -e 's/dts/std/' -e 's/truehd/dheurt/' /var/packages/VideoStation/target/lib/libsynovte.so #备份CodecPack的ffmpeg41 cp /var/packages/CodecPack/target/bin/ffmpeg41 /var/packages/CodecPack/target/bin/ffmpeg41.bak #链接ffmpeg解码模块 cp /var/packages/VideoStation/target/bin/ffmpeg /var/packages/CodecPack/target/bin/ffmpeg41
文章评论