新版42218装ffmpeg 4.3.2-38,后面命令该怎么输?
本帖最后由 卡热虎 于 2021-10-6 00:37 编辑1。DSM7-42218装了ffmpeg 4.3.2-38,想解决VIDEO STATION 与 JELLYFI的 DTS EAC3 等问题,网上搜的教程方式都不太一样,不懂该抄哪个是,现版本了,video station 已经和advanced media extensions捆绑了,不可以单独卸载了,还能用以前的方法吗,谁看得懂的指导下?
这种问题百度一下不有了?????? 本帖最后由 卡热虎 于 2021-10-6 13:28 编辑
第一次:
sudo chmod +s /var/packages/ffmpeg/target/bin/ffmpeg
sudo chmod +s /var/packages/ffmpeg/target/bin/ffprobe
sudo chmod +s /var/packages/ffmpeg/target/bin/vainfo
sudo sed -i'-BACKUP' -e 's/eac3/ZAAP/' -e 's/dts/ZAP/' -e 's/truehd/ZAPZAP/' /var/packages/VideoStation/target/lib/libsynovte.so sudo mv /var/packages/VideoStation/target/bin/ffmpeg /var/packages/VideoStation/target/bin/ffmpeg-BACKUP sudo mv /var/packages/VideoStation/target/bin/ffprobe /var/packages/VideoStation/target/bin/ffprobe-BACKUP sudo mv /var/packages/VideoStation/target/bin/vainfo /var/packages/VideoStation/target/bin/vainfo-BACKUP
echo "H4sICJ6oBF8AA2ZmbXBlZy13cmFwcGVyAO1abXPbNhL+LP4KhKVf5Jimybn7ogwz8dlKqklcayzHnU7ioyASlFhTJEtQVFzH/70LAqT4KjltrzO9qWeSSMCziwfAg8Vine9eaDMv0GaYLiQpJqkp64YsSZYfzg/7j1KP2IsQycqhgxOCDl7u/aTuLdU9B+19P9i7HOxNDvpIRcojTWKCl57zxL7pMnr9GmnJMtJcdxmR+Ql4k564VyvCMS67BvRX5Ia+g9Q10o1T+EaJg2Sq/ffkSNG+aejix0T7WieLhMTLjEG8LPerJV8nNHFIHEs9RhnJR0dH6P3ow4fz70cfLhB8k6Xevef7SL0ZXl/CJOyF5zuR58jIeK05JNWCle+zwZIYRygbEU1G7xhaknBsL8zpKsBLglQs5ntAtZMj+hCEMOCDpWkH0G6vEqRC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n94UH+8wmmc3U6WOWlQJ90W3KsvWRtnaENZGp7XR0LQYidVaKqHAyNufpfVeWei9bUrv1aXOjsk/cv+byP120iV3o0vu+nPkntI/IvdO60LuhazFSLnci2NgpN9y+f0j9/97uV9dj9515RVNWf112qEJbHnLaoCmEkIBfnhYhqiV5ev3keonSD/NXyd/4hIycp272PxdWtEl7f7fC78BTGYfI90hAAA=" | base64 -d | gunzip > /var/packages/VideoStation/target/bin/ffmpeg
sudo ln -s /var/packages/ffmpeg/target/bin/ffprobe /var/packages/VideoStation/target/bin/ffprobe
sudo ln -s /var/packages/ffmpeg/target/bin/vainfo /var/packages/VideoStation/target/bin/vainfo
sudo sed -i'-BACKUP' -e 's/eac3/ZAAP/' -e 's/dts/ZAP/' -e 's/truehd/ZAPZAP/' /var/packages/VideoStation/target/lib/libsynovte.so
sudo chmod +x /var/packages/VideoStation/target/bin/ffmpeg
sudo chmod +s /var/packages/VideoStation/target/bin/ffmpeg
sudo chown root:VideoStation /var/packages/VideoStation/target/bin/ffmpeg
本帖最后由 卡热虎 于 2021-10-6 13:54 编辑
第一次没成功,还是看不了(也有可能是没有重启ffmpeg,只重启了 VS)。之 后又试了以下的第二种。
本帖最后由 卡热虎 于 2021-10-6 13:51 编辑
第二次:
mv -n /var/packages/VideoStation/target/bin/ffmpeg /var/packages/VideoStation/target/bin/ffmpeg.orig
Ⅰ.(这里用来备份群晖原本的VideoStation ffmpeg)
wget -O - https://gist.githubusercontent.com/BenjaminPoncet/bbef9edc1d0800528813e75c1669e57e/raw/ffmpeg-wrapper > /var/packages/VideoStation/target/bin/ffmpeg
Ⅱ.(这里用来下载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
Ⅲ.(这里用来设置脚本相应权限)
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
Ⅳ.(这里用来备份VideoStation's libsynovte.so)
sed -i -e 's/eac3/3cae/' -e 's/dts/std/' -e 's/truehd/dheurt/' /var/packages/VideoStation/target/lib/libsynovte.so
Ⅵ.(这里用来为libsynovte.so 添加 DTS, EAC3 and TrueHD支持)
以上脚本输入完毕后,关闭Video Station,让ffmpeg与Video Station的关联生效!
再次进入Video Station就能播放原本不能播放的视频内容了!
------------------------------------
以上方法完毕后还会转圈所以需要添加以下代码:
mv /var/packages/CodecPack/target/bin/ffmpeg33 /var/packages/CodecPack/target/bin/ffmpeg33.orig
mv /var/packages/CodecPack/target/bin/ffmpeg41 /var/packages/CodecPack/target/bin/ffmpeg41.orig
cp /var/packages/VideoStation/target/bin/ffmpeg /var/packages/CodecPack/target/bin/ffmpeg33
cp /var/packages/VideoStation/target/bin/ffmpeg /var/packages/CodecPack/target/bin/ffmpeg41
本帖最后由 卡热虎 于 2021-10-6 13:52 编辑
之后 要重启 两个套件就可以了
问题解决了吗??我也按照你的还是没成功至于你说的ffmpeg 好像没有重启吧好像只有卸载!!! goal003 发表于 2021-10-9 19:06
问题解决了吗??我也按照你的还是没成功至于你说的ffmpeg 好像没有重启吧好像只有卸载!!! ...
不需要重启ffmpeg,这只是程序被动调用而已,重启video服务就可以了
页:
[1]