静看光阴荏苒
不管不顾不问不说也不念

Viewscreen:种子搜索/离线下载/自动转码/在线播放

这个Viewscreen可谓是真正的提供了搜索下载转码播放一条龙服务。。。

以前我常用的是aria2加上一个kodexplorer,这套方案的问题在于不是mp4格式的视频无法直接在线播放。包括之前比较火的cloud-torrent也是,几乎都是差了一个转码功能。直到我发现了Viewscreen这东西。

安装FFMPEG和一些需要用到的工具:

apt -y update
apt -y install ffmpeg x264 supervisor wget

下载二进制文件给执行权限:

wget https://github.com/viewscreen/viewscreen/raw/master/viewscreen-linux-amd64 -O /usr/bin/viewscreen
chmod +x /usr/bin/viewscreen

给权限让其可以绑定到低位端口(可选:考虑到很多人都是吃灰小鸡,可能小鸡上面的80/443还跑着别的程序,所以下面我不会将Viewscreen监听到80/443,这样可以避免端口冲突)

setcap cap_net_bind_service=+ep /usr/bin/viewscreen

新建一个文件下载的存放目录:

mkdir -p /opt/viewscreen/Downloads

准备一个域名解析到你的小鸡上,然后替换http-host后面的值为你的域名,之后执行如下命令:

viewscreen --http-host view.233.fi -http-addr :8080 --http-username imlala --download-dir /opt/viewscreen/Downloads

可以正常运行的话退出来新建一个supervisor的配置文件:

nano /etc/supervisor/conf.d/viewscreen.conf

写入如下配置:

[program:viewscreen]
priority=1
directory=/usr/bin
command=/usr/bin/viewscreen --http-host view.233.fi -http-addr :8080 --http-username imlala --download-dir /opt/viewscreen/Downloads
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/supervisor/viewscreen.log

更新配置:

supervisorctl update

WEB面板地址:http://view.233.fi:8080/viewscreen/

登录用户名是之前命令–http-username指定的。

登录密码是随机生成的,查看登录密码:

cat /var/log/supervisor/viewscreen.log

红框标注的就是密码:

直接粘贴磁力链接就能下载种子了:

在线播放:

赞(10)
未经允许不得转载:荒岛 » Viewscreen:种子搜索/离线下载/自动转码/在线播放
分享到: 更多 (0)

评论 20

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #1

    不能改密码吗 :grin:

    嘤嘤嘤4年前 (2020-01-04) Microsoft Edge 79.0.309.56 Microsoft Edge 79.0.309.56 Windows 10 x64 Edition Windows 10 x64 Edition回复
    • 不能。。

      LALA4年前 (2020-01-05) Google Chrome 74.0.3729.169 Google Chrome 74.0.3729.169 Windows 10 x64 Edition Windows 10 x64 Edition回复
    • 装好之后nano /opt/viewscreen/Downloads/.password
      Supervisorctl update 就好了

      mutiko4年前 (2020-02-23) Safari 13.0.4 Safari 13.0.4 iPhone iOS 13.3 iPhone iOS 13.3回复
  2. #2

    原来你喜欢日韩 :twisted:

    哇咔咔4年前 (2020-01-05) Google Chrome 69.0.3497.100 Google Chrome 69.0.3497.100 Windows 7 x64 Edition Windows 7 x64 Edition回复
    • 角度刁钻。。

      LALA4年前 (2020-01-05) Google Chrome 74.0.3729.169 Google Chrome 74.0.3729.169 Windows 10 x64 Edition Windows 10 x64 Edition回复
  3. #3

    学到了是大佬,哈哈哈

    Gabreel4年前 (2020-01-05) Google Chrome 79.0.3945.88 Google Chrome 79.0.3945.88 Windows 10 x64 Edition Windows 10 x64 Edition回复
    • 从垃圾桶探头出来看望dalao。

      LALA4年前 (2020-01-05) Google Chrome 74.0.3729.169 Google Chrome 74.0.3729.169 Windows 10 x64 Edition Windows 10 x64 Edition回复
  4. #4

    551不好看已删 :idea:

    橘子4年前 (2020-01-05) Google Chrome 77.0.3833.99 Google Chrome 77.0.3833.99 Windows 8 x64 Edition Windows 8 x64 Edition回复
  5. #5

    播放的时候无法加载字幕

    yaya4年前 (2020-01-06) Google Chrome 79.0.3945.88 Google Chrome 79.0.3945.88 Windows 10 x64 Edition Windows 10 x64 Edition回复
  6. #6

    试了下ipx247速度堪忧啊

    Gabreel4年前 (2020-01-09) Google Chrome 79.0.3945.88 Google Chrome 79.0.3945.88 Windows 10 x64 Edition Windows 10 x64 Edition回复
  7. #7

    只有我是买个小鸡DD Win系统远程挂下载,并自动同步到OD的吗 :cool:

    胡汉三4年前 (2020-01-14) Google Chrome 79.0.3945.88 Google Chrome 79.0.3945.88 Windows 10 x64 Edition Windows 10 x64 Edition回复
  8. #8

    error bootstrapping dht: no initial nodes, map[], map[]
    discovered 0 upnp devices, map[], map[]
    这是为啥呀,执行viewscreen –http-host view.233.fi -http-addr :8080 –http-username imlala –download-dir /opt/viewscreen/Downloads时报

    mutiko4年前 (2020-02-09) Microsoft Edge 18.18363 Microsoft Edge 18.18363 Windows 10 x64 Edition Windows 10 x64 Edition回复
    • 程序终止运行了么,如果没有停止运行的话忽略掉就好了。

      LALA4年前 (2020-02-10) Google Chrome 74.0.3729.169 Google Chrome 74.0.3729.169 Windows 10 x64 Edition Windows 10 x64 Edition回复
  9. #9

    去啦里找磁力地址啊大哥

    小鸡鸡4年前 (2020-02-12) Google Chrome 79.0.3945.130 Google Chrome 79.0.3945.130 Windows 7 x64 Edition Windows 7 x64 Edition回复
  10. #10

    急需要磁力地址 :eek:

    小鸡鸡4年前 (2020-02-12) Google Chrome 79.0.3945.130 Google Chrome 79.0.3945.130 Windows 7 x64 Edition Windows 7 x64 Edition回复
    • 之前发的不是有个喜欢dht的吗

      mutiko4年前 (2020-02-25) Safari 13.0.4 Safari 13.0.4 iPhone iOS 13.3 iPhone iOS 13.3回复
  11. #11

    博主 不行啊 我按照你的步骤 全部正确 。但是一搜索就提示错误为什么?没有办法搜索磁力啊

    没有办法搜索磁力啊4年前 (2020-04-10) Google Chrome 80.0.3987.163 Google Chrome 80.0.3987.163 Windows 10 x64 Edition Windows 10 x64 Edition回复
    • 搜索功能我好像也没用过,你可以在别的地方粘贴磁力进去用。。

      LALA4年前 (2020-04-10) Google Chrome 81.0.4044.92 Google Chrome 81.0.4044.92 Windows 10 x64 Edition Windows 10 x64 Edition回复
  12. #12

    实力老司机。。看片弄得贼高大上

    飞雷神4年前 (2020-07-17) Google Chrome 83.0.4103.116 Google Chrome 83.0.4103.116 Windows 7 x64 Edition Windows 7 x64 Edition回复

分享创造快乐

广告合作资源投稿