tphim 2.0.0 → 2.0.2
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/package.json +2 -2
- package/pipeline.mjs +1 -1
- package/pro-terminal.mjs +7 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tphim",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "TPHIM - Ultimate Video Pipeline: Download, Transcode HLS, AI Subtitles, and Cloud Upload.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"chalk": "^5.6.2",
|
|
54
54
|
"cli-progress": "^3.12.0",
|
|
55
55
|
"dotenv": "^17.3.1",
|
|
56
|
-
"ffmpeg-static": "^5.
|
|
56
|
+
"ffmpeg-static": "^5.3.0",
|
|
57
57
|
"ffprobe-static": "^3.1.0",
|
|
58
58
|
"figlet": "^1.10.0",
|
|
59
59
|
"log-symbols": "^7.0.1",
|
package/pipeline.mjs
CHANGED
|
@@ -247,7 +247,7 @@ export async function executePipeline({ input, slug, title, langArg = 'vi' }) {
|
|
|
247
247
|
|
|
248
248
|
selectedQualities.forEach((q, i) => {
|
|
249
249
|
maps += `-map 0:v -map 0:a `;
|
|
250
|
-
outputs += `-c:v:${i} libx264 -preset veryfast -b:v:${i} ${q.bv} -s:v:${i} ${q.w}x${q.h} -c:a:${i} aac -b:a:${i} ${q.ba} `;
|
|
250
|
+
outputs += `-c:v:${i} libx264 -preset veryfast -tune fastdecode -b:v:${i} ${q.bv} -s:v:${i} ${q.w}x${q.h} -c:a:${i} aac -b:a:${i} ${q.ba} `;
|
|
251
251
|
varStreamMapArr.push(`v:${i},a:${i}`);
|
|
252
252
|
});
|
|
253
253
|
|
package/pro-terminal.mjs
CHANGED
|
@@ -111,7 +111,7 @@ function showHelp() {
|
|
|
111
111
|
)
|
|
112
112
|
);
|
|
113
113
|
|
|
114
|
-
console.log(chalk.gray(' ⚡
|
|
114
|
+
console.log(chalk.gray(' ⚡ TPHIM ULTIMATE VIDEO CORE v2.0.2 | 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'));
|
|
@@ -124,19 +124,21 @@ function showHelp() {
|
|
|
124
124
|
console.log(chalk.cyan(' TEBI_ACCESS_KEY_ID - Access key'));
|
|
125
125
|
console.log(chalk.cyan(' TEBI_SECRET_ACCESS_KEY - Secret key'));
|
|
126
126
|
console.log(chalk.cyan(' TEBI_BUCKET - Bucket name'));
|
|
127
|
-
console.log(chalk.cyan(' TEBI_PUBLIC_URL - Public URL
|
|
127
|
+
console.log(chalk.cyan(' TEBI_PUBLIC_URL - Public URL'));
|
|
128
|
+
console.log(chalk.cyan(' PROXY_LIST - Danh sách proxy (ip:port:user:pass|...)'));
|
|
128
129
|
|
|
129
130
|
console.log(`${neonPurple('⚡ TÍNH NĂNG:')}`);
|
|
130
131
|
console.log(chalk.cyan(' • Download video từ multiple sources'));
|
|
131
|
-
console.log(chalk.cyan(' • Transcode
|
|
132
|
+
console.log(chalk.cyan(' • Transcode HLS 4-6 qualities'));
|
|
132
133
|
console.log(chalk.cyan(' • AI Subtitle generation (Whisper)'));
|
|
133
134
|
console.log(chalk.cyan(' • Upload cloud storage (Tebi.io)'));
|
|
134
135
|
console.log(chalk.cyan(' • Batch processing support'));
|
|
135
|
-
console.log(chalk.cyan(' •
|
|
136
|
+
console.log(chalk.cyan(' • Proxy rotation tự động'));
|
|
137
|
+
console.log(chalk.cyan(' • Encoded segment names (base64)'));
|
|
136
138
|
|
|
137
139
|
console.log(`${neonPurple('👤 DEVELOPER:')}`);
|
|
138
140
|
console.log(chalk.cyan(' TXA - Ultimate Video Pipeline 2030'));
|
|
139
|
-
console.log(chalk.gray(' Licensed under ISC
|
|
141
|
+
console.log(chalk.gray(' Licensed under ISC - See LICENSE.md'));
|
|
140
142
|
|
|
141
143
|
console.log(`${neonPink('🚀 Ready to rock! Try: ntxa')}`);
|
|
142
144
|
}
|