影片字幕加中文

  • 瀏覽: 2,048
  • 回覆: 2
一部影片只有英文字幕srt,
現在打算用自動化功能
將中文字幕加上,
python 做到嗎?
any good ideas ?
thx.
https://en.wikipedia.org/wiki/In_Time

1
00:01:05,262 --> 00:01:06,923
I don't have time.
我沒有時間
2
00:01:08,065 --> 00:01:10,898
I don't have time to
worry about how it happened.

3
00:01:11,435 --> 00:01:13,198
It is what it is.
4
00:01:14,071 --> 00:01:17,905
We're genetically engineered
to stop aging at 25.

5
00:01:18,742 --> 00:01:21,973
The trouble is, we live only one more year
.
.
.

https://www.youtube.com/watch?v=V6aHxRQYMfo


[ 本帖最後由 鄉貢仁 於 2023-11-26 14:18 編輯 ]進入香討影片區



引用:
原帖由 鄉貢仁 於 2023-11-25 23:47 發表

一部影片只有英文字幕srt,
現在打算用自動化功能
將中文字幕加上,
python 做到嗎?
any good ideas ?
thx.
https://en.wikipedia.org/wiki/In_Time

1
00:01:05,262 --> 00:01:06,923
I don't have time.
我沒有時間
2
00:01:08,065 --> 00 ...

https://my-subs.co/downloads/R8uDWvFvF1iAUFT76uaxOSM3lWUCfeCt0OMkJB4hQ4z..MK4gaGGQFHNH0nCq4R3pqZc_UwrtZDMezMmu0WBDOh37_IlBOovLpVqx4ztUlh2Fhk9v3RBh0Nb6EnUDjdpwjcnFG1j3wpJfu33CSh0Pw--



原來寫 python code 都不用了,
Potplayer 內置可加入第二個字幕檔.
咁又有d online free translator
可convert English Srt to Chinese Srt.
okay, 搞掂晒了.
thanks for 大家的 attention.