• 陪伴互联网运营小白共同探索成长,与IT爱好者共享探索乐趣
  • 建站只为分享,欢迎在PC端文章面打赏支持
  • 使用Ctrl+D 可收藏本站

emby开心版指南

好玩有趣 陆子方 2周前 (04-18) 94次浏览 0个评论 扫描二维码
文章目录[隐藏]

前言

子方没想到,多年以前探索的硬解码竟然实现了。lxc on proxmox。jellyfin没问题,可是emby要会员。

烦恼又来了,视频文件存在多级分类,在jellyfin无法全部展示,需要先进入文件夹,然后又想到了emby。看了两天,知道大概要做个伪装服务器。本文不太适合纯小白。

教程

1、lnmp服务器,本地或外网均可.新建网站mb3admin.com

2、自签ssl证书,也可以找个网站生成

3、修改vhost.conf

4、emby的服务器mb3admin.com host要指向自己的服务器

5、小金牌是点亮了,转码过程查看gpu是有变化的

二次补充

经测试,硬件解码找不到设备。也使用jellyfin进行了验证,即lxc中是能看到显卡信息的,只是启用硬件解码时会提示错误。那么,这至少说明不是破解的问题,而是在lxc环境中,显卡直通比较复杂,也涉及到硬件型号等,这里不再进一步研究。

对于emby是否完成破解,目前看来是看控制台是否出现金色小徽章。对于是否调用硬解,至少转码选项中的高级,应该能看到硬解具体选项。

使用本方式时,需要同步修改各用户端的host。这一点需要特别提出。

server
    {
        listen 443 ssl http2;
        #listen [::]:443 ssl http2;
        server_name mb3admin.com ;
        index index.html index.htm index.php default.html default.htm default.php;
        root  /home/wwwroot/mb3admin.com;

        ssl_certificate /usr/local/nginx/conf/ssl/mb3admin.pem;
        ssl_certificate_key /usr/local/nginx/conf/ssl/mb3admin.key;
        ssl_session_timeout 5m;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
        ssl_prefer_server_ciphers on;
        ssl_ciphers "TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AE>
        ssl_session_cache builtin:1000 shared:SSL:10m;
        # openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048
        ssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;

        include rewrite/none.conf;
        #error_page   404   /404.html;

        # Deny access to PHP files in specific directory
        #location ~ /(wp-content|uploads|wp-includes|images)/.*\.php$ { deny all; }

        include enable-php.conf;

location /admin/service/registration/validateDevice {
            default_type application/json;
          return 200 '{"cacheExpirationDays": 3650,"message": "Device Valid","resultC>
        }
        location /admin/service/registration/validate {
            default_type application/json;
          return 200 '{"featId":"","registered":true,"expDate":"2099-01-01","key":""}>
        }
        location /admin/service/registration/getStatus {
            default_type application/json;
          return 200 '{"deviceStatus":"","planType":"Lifetime","subscriptions":{}}';
        }
        location /admin/service/appstore/register {
            default_type application/json;
          return 200 '{"featId": "","registered": true,"expDate": "2099-01-01","key":>
        }
        location /emby/Plugins/SecurityInfo {
            default_type application/json;
          return 200 '{SupporterKey: "", IsMBSupporter: true}';
        }
    add_header Access-Control-Allow-Origin *;
    add_header Access-Control-Allow-Headers *;
    add_header Access-Control-Allow-Method *;
    add_header Access-Control-Allow-Credentials true;

        location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
        {
            expires      30d;
        }

        location ~ .*\.(js|css)?$
        {
            expires      12h;
        }

        location ~ /.well-known {
            allow all;
        }

        location ~ /\.
        {
            deny all;
        }

        access_log off;
    }

 


子方有料原创丨转载请注明原文链接
期待您的评论或捐赠,这是最好的鼓励和支持!
喜欢 (0)
[赞赏使我快乐]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到