SHARE CODE SERVER UPLOAD HLS M3U8 tự làm server riêng trên website

Xin chào các bạn =))
Lại là mình đây, lâu lâu share tí cho có không khí vui vẻ.

1756911881600.png


Tính năng cơ bản ver free:
📌upload các file video phổ biến.
📌Lưu trữ file: ổ local/ ổ mount Drive/ FTP
📌Tự load các file video có sẵn storage vps, ftp,cloud hoặc file upload thông qua vps tự đưa vào panel admin tạo link hls hoặc lấy link gốc.
📌Convert HLS ra link domain riêng ko lo hàng ngày bị fix như Tiktok, lh3.
📌On off watermark file m3u8 hls
📌Phân trang sll, tìm kiếm, thông tin tệp, tạo user upload riêng.
📌Import link video public
Ai có nhu cầu bổ sung thêm tính năng inbox tele e nha: @lorenkidkubi

Bản Private Nhiều storage hơn, load nhanh hơn, embed vip, api, lựa server player,bypass google drive v.v.v.... update ver new 12T
Code Private VIP Full tải tại đây >

Changelog ver new
* Fix các lỗi trước đó Report
* Thêm up file sub
* Thêm API tạo thuyết minh AI từ TTSGG/ EventLab
* Thêm Bot thông báo hoạt động gửi đến Tele Admin
* Thêm Bypass link player Google Drive qua domain thứ 3. Ko limit
* Thêm Login Google OAuth
* Thêm Anti-leech domain qua player

Beta update log tháng 10
* Thay đổi embed player
* Băm segment mặc định là image
* Segment lấy path domain từ mysql change domain cực mạnh bypass block domain, giữ data khi thay domain.
* Tester fix các lỗi phiên bản trước nếu có rp
* Thay đổi giá source 200U(MR) thành 499U(MR)
* Thêm trả link data Multi Domain
Cảm ơn các bác đã ủng hộ ^^

1756685673481.png


Convert hls chỉ vài giây không logo, có logo thì render theo sức mạnh của vps.
1756685683969.png

PANEL: domain.com/login.php
admin/123456
Down code ver free: Click here
Sửa config tại file config.php

Bản Private Nhiều storage hơn, load nhanh hơn, embed vip, api, lựa server player,bypass google drive v.v.v.... update ver new 12T
Code Private VIP Full tải tại đây >

1756695059856.png


1756912152167.png


VPS Cấu hình tối thiểu
2CPU
2G Ram
OS UBUNTU / AAPANEL
Apache 2.4
Php 7.4
MariaDB 10.11
FFmpeg 6.1.1
max_execution_time >= 9000s
install gói yt-dlp

NGINX CONFIG:
# MIME types cho file .m3u8 và .ts
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}

server {
listen 80;
listen 443 ssl http2 ;
server_name yourdomain.com; # Sửa thành tên miền của bạn
root /www/wwwroot/yourdomain; # Sửa lại đường dẫn đến thư mục web chính
# Cho phép body lớn (upload file lớn)
client_max_body_size 2048M; # hoặc 4G, hoặc lớn hơn tuỳ nhu cầu
# (nếu dùng fastcgi, tăng timeout)
fastcgi_read_timeout 9000s;
# Đặt lại MIME types nếu nginx không nhận diện, hoặc để trong http {} cũng được
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}

# CORS cho stream video (.m3u8/.ts)
location ~ \.(m3u8|ts)$ {
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, OPTIONS';
add_header Access-Control-Allow-Headers 'Range';
if ($request_method = 'OPTIONS') {
add_header Access-Control-Max-Age 1728000;
add_header Content-Type 'text/plain charset=UTF-8';
add_header Content-Length 0;
return 204;
}
try_files $uri =404;
}

# Error page chuyển hướng về blank.html
error_page 403 /blank.html;
error_page 404 /blank.html;
location = /blank.html {
internal;
}
}
Các bạn tự chỉnh các limit liên quan upload, timeout, process nếu có trên vps apache, nginx của bạn.

Update 01/09/2025 Ver Share Free
📌Chunk upload tự động chia nhỏ file upload 30MB, Bypass limit upload 100MB proxy Cloudflare.
📌Thêm Storage ver free
📌Thêm Api: domaincuaban/api.php?api_key=2jkKZgvTvcT3f9oc8x6fn53XWsJMsxl6(key mặc định, tự sửa lại trong file api.php)
📌Tối ưu load phân trang video sll
📌Bổ sung lấy link embed cho HLS
📌Tối ưu import link

Bản Private Nhiều storage hơn, load nhanh hơn, embed vip, api, lựa server player,bypass google drive v.v.v.... update ver new 12T
Code Private VIP Full tải tại đây >
 
Last edited:

Extool

Newbie
Joined
Jul 29, 2025
Messages
11
Reactions
4
MR
0.125
Mình chuyển file ts thành file jpg 1px rồi upload lên 1 số trang để stream hls thì ko được, mình check thì file jpg đã bị thay đổi (có thể trang web đã optimzize ảnh). Có cách nào giữ nguyên nội dung file không các bác.
 

trunghieuct

Newbie
Joined
Sep 8, 2025
Messages
4
Reactions
3
MR
0.067
Xin chào các bạn =))
Lại là mình đây, lâu lâu share tí cho có không khí vui vẻ.

View attachment 293405

Tính năng cơ bản ver free:
📌upload các file video phổ biến.
📌Lưu trữ file: ổ local/ ổ mount Drive/ FTP
📌Tự load các file video có sẵn storage vps, ftp,cloud hoặc file upload thông qua vps tự đưa vào panel admin tạo link hls hoặc lấy link gốc.
📌Convert HLS ra link domain riêng ko lo hàng ngày bị fix như Tiktok, lh3.
📌On off watermark file m3u8 hls
📌Phân trang sll, tìm kiếm, thông tin tệp, tạo user upload riêng.
📌Import link video public
Ai có nhu cầu bổ sung thêm tính năng inbox tele e nha: @lorenkidkubi
View attachment 293107

Convert hls chỉ vài giây không logo, có logo thì render theo sức mạnh của vps.
View attachment 293108
PANEL: domain.com/login.php
admin/123456
Down code ver free: Click here
Sửa config tại file config.php

Bản Private Nhiều storage hơn, load nhanh hơn, embed vip, api, lựa server player v.v.v.... update ver new 12T
Code Private VIP Full tải tại đây > -=Stripped Content=-
xin share lại
 
Changelog ver new
* Fix các lỗi trước đó Report
* Thêm up file sub
* Thêm API tạo thuyết minh AI từ TTSGG/ EventLab
* Thêm Bot thông báo hoạt động gửi đến Tele Admin
* Thêm Bypass link player Google Drive qua domain thứ 3. Ko limit
* Thêm Login Google OAuth
* Thêm Anti-leech domain qua player

Beta update log tháng 10
* Thay đổi embed player
* Băm segment mặc định là image
* Segment lấy path domain từ mysql change domain cực mạnh bypass block domain, giữ data khi thay domain.
* Tester fix các lỗi phiên bản trước nếu có rp
* Thay đổi giá source 200U(MR) thành 499U(MR)
* Thêm trả link data Multi Domain
Cảm ơn các bác đã ủng hộ ^^
 

Announcements

Today's birthdays

Forum statistics

Threads
433,925
Messages
7,315,658
Members
185,237
Latest member
thaidracula119
Back
Top Bottom