tphim 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +3 -2
- package/pipeline.mjs +2 -2
- package/pro-terminal.mjs +22 -9
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 💎 TPHIM - Ultimate Video Pipeline v2.
|
|
1
|
+
# 💎 TPHIM - Ultimate Video Pipeline v2.5.1
|
|
2
2
|
|
|
3
3
|
**TPHIM** là bộ công cụ tối thượng để xây dựng hệ thống VOD (Video on Demand) chuyên nghiệp. Hỗ trợ tự động hóa từ khâu tải video, transcode HLS đa chất lượng, tạo phụ đề AI và upload lên Cloud (S3/Tebi).
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
## 📋 Changelog v2.
|
|
15
|
+
## 📋 Changelog v2.5.1
|
|
16
16
|
- ✨ **NEW:** Dual Preview Sprites (High-Res + Low-Res) với FFmpeg Complex Filter
|
|
17
17
|
- ⚡ **OPTIMIZATION:** Tiết kiệm CPU với single-pass processing
|
|
18
18
|
- 📱 **MOBILE:** Low-Res sprites (80x45 tiles) tối ưu cho mobile và preview nhanh
|
|
@@ -216,5 +216,5 @@ ntxa -h # Tương tự
|
|
|
216
216
|
|
|
217
217
|
---
|
|
218
218
|
|
|
219
|
-
*Phát triển bởi TXA - Ultimate Video Pipeline 2030 v2.
|
|
219
|
+
*Phát triển bởi TXA - Ultimate Video Pipeline 2030 v2.5.1* 🍿🎬
|
|
220
220
|
*Last Update: March 2026*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tphim",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "TPHIM - Ultimate Video Pipeline: Download, Transcode HLS, AI Subtitles (with skip option), Resume Upload, and Cloud Upload.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -59,7 +59,8 @@
|
|
|
59
59
|
"figlet": "^1.10.0",
|
|
60
60
|
"log-symbols": "^7.0.1",
|
|
61
61
|
"mime-types": "^3.0.2",
|
|
62
|
-
"ora": "^9.3.0"
|
|
62
|
+
"ora": "^9.3.0",
|
|
63
|
+
"tphim": "^2.5.0"
|
|
63
64
|
},
|
|
64
65
|
"funding": {
|
|
65
66
|
"type": "individual",
|
package/pipeline.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// pipeline.mjs v2.
|
|
2
|
+
// pipeline.mjs v2.5.1
|
|
3
3
|
// Usage: node pipeline.mjs "URL_hoac_duong_dan_mp4" "slug" "Tên Phim" [vi|en|both|skip]
|
|
4
4
|
//
|
|
5
|
-
// v2.
|
|
5
|
+
// v2.5.1 FEATURES:
|
|
6
6
|
// - Batch HLS Transcoding (2 qualities at a time)
|
|
7
7
|
// - Incremental Uploads (Upload immediately after each batch)
|
|
8
8
|
// - Fast-Track Storyboards (Capture & upload after first batch)
|
package/pro-terminal.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* NROTXA ULTIMATE CLI 2030 EDITION v2.
|
|
3
|
+
* NROTXA ULTIMATE CLI 2030 EDITION v2.5.1
|
|
4
4
|
* High-performance, Neon-infused Video Pipeline with Resume Upload
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -111,7 +111,7 @@ function showHelp() {
|
|
|
111
111
|
)
|
|
112
112
|
);
|
|
113
113
|
|
|
114
|
-
console.log(chalk.gray(' ⚡ TPHIM ULTIMATE VIDEO CORE v2.
|
|
114
|
+
console.log(chalk.gray(' ⚡ TPHIM ULTIMATE VIDEO CORE v2.5.1 | STATUS: READY ⚡\n'));
|
|
115
115
|
|
|
116
116
|
console.log(`${neonPurple('📖 CÁCH SỬ DỤNG:')}`);
|
|
117
117
|
console.log(chalk.cyan(' ntxa help - Hiển thị help này'));
|
|
@@ -129,11 +129,9 @@ function showHelp() {
|
|
|
129
129
|
|
|
130
130
|
console.log(`${neonPurple('⚡ TÍNH NĂNG:')}`);
|
|
131
131
|
console.log(chalk.cyan(' • Download video từ multiple sources'));
|
|
132
|
-
console.log(chalk.cyan(' •
|
|
133
|
-
console.log(chalk.cyan(' •
|
|
134
|
-
console.log(chalk.cyan(' • Skip
|
|
135
|
-
console.log(chalk.cyan(' • Resume upload (crash recovery)'));
|
|
136
|
-
console.log(chalk.cyan(' • Upload cloud storage (Tebi.io)'));
|
|
132
|
+
console.log(chalk.cyan(' • Batch HLS Transcoding (Incremental Uploads)'));
|
|
133
|
+
console.log(chalk.cyan(' • Fast-Track Storyboards (After first batch)'));
|
|
134
|
+
console.log(chalk.cyan(' • Skip 3GP export option'));
|
|
137
135
|
console.log(chalk.cyan(' • Batch processing support'));
|
|
138
136
|
console.log(chalk.cyan(' • Proxy rotation tự động'));
|
|
139
137
|
console.log(chalk.cyan(' • Encoded segment names (base64)'));
|
|
@@ -154,6 +152,12 @@ async function main() {
|
|
|
154
152
|
return;
|
|
155
153
|
}
|
|
156
154
|
|
|
155
|
+
// Check for version command
|
|
156
|
+
if (args.some(arg => ['-v', '--version', '-V', '--Version'].includes(arg))) {
|
|
157
|
+
console.log(chalk.cyan('TPHIM Ultimate Video Pipeline ') + chalk.bold('v2.5.1'));
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
|
|
157
161
|
checkEnv();
|
|
158
162
|
console.clear();
|
|
159
163
|
|
|
@@ -170,7 +174,7 @@ async function main() {
|
|
|
170
174
|
)
|
|
171
175
|
);
|
|
172
176
|
|
|
173
|
-
console.log(chalk.gray(' ⚡ NEON-INFUSED VIDEO CORE v2.
|
|
177
|
+
console.log(chalk.gray(' ⚡ NEON-INFUSED VIDEO CORE v2.5.1 | STATUS: READY ⚡\n'));
|
|
174
178
|
|
|
175
179
|
p.intro(`${neonPurple('▣ SYSTEM INITIALIZED - BATCH MODE ENABLED')}`);
|
|
176
180
|
|
|
@@ -211,6 +215,14 @@ async function main() {
|
|
|
211
215
|
{ value: 'both', label: 'Dual Core (VI+EN)', hint: 'Premium' },
|
|
212
216
|
],
|
|
213
217
|
}),
|
|
218
|
+
skip3gp: () =>
|
|
219
|
+
p.select({
|
|
220
|
+
message: '📱 Legacy 3GP Export:',
|
|
221
|
+
options: [
|
|
222
|
+
{ value: false, label: '✅ Yes', hint: 'Generate 3GP for older devices' },
|
|
223
|
+
{ value: true, label: '❌ No', hint: 'Skip 3GP (Saves time)' },
|
|
224
|
+
],
|
|
225
|
+
}),
|
|
214
226
|
confirm: () =>
|
|
215
227
|
p.confirm({
|
|
216
228
|
message: '🚀 Initiate batch pipeline sequence now?',
|
|
@@ -291,7 +303,8 @@ async function main() {
|
|
|
291
303
|
input: inputUrl,
|
|
292
304
|
slug: finalSlug,
|
|
293
305
|
title: currentTitle,
|
|
294
|
-
langArg: group.lang
|
|
306
|
+
langArg: group.lang,
|
|
307
|
+
skip3gp: group.skip3gp
|
|
295
308
|
});
|
|
296
309
|
|
|
297
310
|
s.stop(`${neonPink(`✅ [${i + 1}/${links.length}] COMPLETE:`)} ${currentTitle}`);
|