Install AutoSub
- Download Python 2.7 from https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi
- Install Python
-
- Run CMD(Win +R) Type in CMD pip install autosub C:\Python27\Scripts\pip.exe install https://pypi.python.org/packages/35/7b/9d5361c0f7abfcc 6d826a5279b1c450 1f7616505629f6c54857587ec6e37/autosub-0.3.9.tar.gz OR (Download Last version autosub https://pypi.python.org/pypi/autosub) C:\Python27\Scripts\pip.exe install "c:\youdownloaded\autosub-0.3.9.tar.gz"
- Change Name File Autosub Rename C:\Python27\Scripts\autosub autosub_app.py
- Modify with notepad.exe or Notepad++(Edit Text) autosub_app.py
- In line 48 add ", delete=False" temp = tempfile.NamedTemporaryFile(suffix='.flac') by temp = tempfile.NamedTemporaryFile(suffix='.flac', delete=False)
- Eliminate line 53 os.system('stty sane'). (Optional)
5. Eliminate line 53 os.system('stty sane'). (Optional)
Copy ffmpeg.exe to C:\Python27\Scripts\ (Erorr) Copy ffmpeg.exe to C:\Python27\
Copy ffmpeg.exe to C:\Python27\Scripts\ (Erorr) Copy ffmpeg.exe to C:\Python27\
.
6. Test Script C:\Python27\python.exe C:\Python27\scripts\autosub_app.py --list-languages
Auto-generating subtitles for any video file
Spanish
C:\Python27\python.exe C:\Python27\scripts\autosub_app.py -S es -D es TuVideo.mp4
English
C:\Python27\python.exe C:\Python27\scripts\autosub_app.py -S en -D en YouVideo.mp4
Japanese
C:\Python27\python.exe C:\Python27\scripts\autosub_app.py -S ja -D ja YouAnimeVideo.mp4
Optional
Compile script Python(Exe Executable)
C:\Python27\python.exe -m compileall C:\Python27\scripts\autosub_app.py
Run
C:\Python27\scripts\autosub_app.pyc YouVideo.mp4 (English Default)
7.- Translate your Subtitles
Download Subtitle Edit https://github.com/SubtitleEdit/subtitleedit/releases
SubtitleEdit-3.4.13-Setup.zip Or version portable SE3413PL.zip
Run SubtitleEdit.exe
Open Subtitle (TuVideo.srt,YouAnimeVideo.srt,YouVideo)
Menu-Auto-Translate-(PowerbyGoogle)
From(Japanese) To English
Translate
with
C:\Python27\Scripts\pip.exe install autosub
Message Install normally is:
Uninstall AutoSub
C:\Python27\Scripts\pip.exe uninstall autosub
No comments:
Post a Comment