Nov-23-2020, 07:26 PM
Quick test as i have already installed this in a virtual environment.
File used Shiv ki mahima ki katha.mp4 as test.
File used Shiv ki mahima ki katha.mp4 as test.
# example.py from videocr import get_subtitles if __name__ == '__main__': # This check is mandatory for Windows. print(get_subtitles('Shiv ki mahima ki katha.mp4', lang='eng', sim_threshold=70, conf_threshold=65))Python version and files
(my_env) G:\code\my_env λ python -V Python 3.8.3 (my_env) G:\code\my_env λ ls Include/ Scripts/ example.py python_Levenshtein-0.12.0-cp38-cp38-win_amd64.whl Lib/ 'Shiv ki mahima ki katha.mp4' ffmpeg.exe* pyvenv.cfgRun take long time,but work.
(my_env) G:\code\my_env λ python example.py
Output:0
00:00:00,000 --> 00:00:01,434
I ly this much that
I wish to see you, Bholenath”
1
00:00:01,468 --> 00:00:01,468
— Se I
2
00:00:01,534 --> 00:00:37,337
this much I wish to see you, Bholenath”
3
00:00:51,518 --> 00:00:53,787
Yamraj!- Lord Bholenath!
4
00:00:55,388 --> 00:00:55,855
low did you dare devotee dedicated
5
00:00:55,989 --> 00:00:55,989
fee
6
00:00:56,022 --> 00:01:01,761
4 How did you dare to attack a I devotee dedicated in worship?
7
00:01:01,795 --> 00:01:01,795
J
8
00:01:02,195 --> 00:01:08,568
/
This boy had embraced a shivling and come under my, surrender...