2\2
Guide to Getting Translated Subtitles in Italian from a Video Without Subtitles
Step 1: Verify and Configure Python
Open the "Command Prompt" and type python --version and press Enter. If Python is installed, you will see a version. If nothing happens or it says it can't find Python, then we need to install it: Go to
python.org , download and install Python, selecting "Add Python to PATH" during installation. If Python is already installed but not in your PATH: find the folder where Python is installed (usually something like C:\Python3x where x is the version). Right-click on "This PC" or "Computer" and select "Properties". Go to "Advanced system settings". Click on "Environment Variables" (bottom right). In the "System Variables" section, find "Path" and click "Edit". Add Python folder path (e.g. C:\Python3x and C:\Python3x\Scripts) by clicking "New" and entering them. Then click "OK" on everything.
Step 2: Install Git
Go to
git-scm.com , download and install Git for Windows, selecting "Use Git from the Windows Command Prompt".
Step 3: Install FFmpeg Download FFmpeg from
ffmpeg.org , extract the files to %SystemDrive%\ffmpeg, and add %SystemDrive%\ffmpeg\bin to your system PATH via "Properties" > "Advanced system settings" > "Environment variables".
Step 4: Install Whisper In the Command Prompt, type pip install git
github.com/openai/whisper.gi…… and press Enter.
Step 5: Extract Audio from Video with Foobar2000 First of all, download and install Foobar2000 from the official website if you don't have it already. It's free and very easy to use. Open Foobar2000. Go to File > Open Audio File and select your video file (.mp4). Once opened, right-click the video file in the Foobar2000 playlist, select Convert > Quick Convert. In the dialog that appears, choose the output format as WAV or FLAC (WAV is uncompressed so better for quality). Choose the destination folder and file name (e.g. audio_extract.wav) and click Convert.
Note: There are many other methods to extract audio, both through desktop software and online services. Foobar2000 is just one of them, chosen for its simplicity and free nature.
Step 6: Generate English Subtitles
In the same folder as audio_extract.wav, run:
python -c "import whisper; model = whisper.load_model ('base'); result = model.transcribe ('audio_extract.wav'); with open ('subtitles_eng.srt', 'w', encoding='utf-8') as srt_file: for segment in result['segments' ]: srt_file.write (f\"{segment['id']}\n{segment['start']:02.0f }:{ segment['start'] % 60:06.3f } --> {segment['end']:02.0f }:{ segment['end'] % 60:06.3f}\n{segment['text']}\n\n\ ")" .
Step 7: Translate Subtitles into Italian
Go to
syedgakbar.com , load subtitles_eng.srt, select English as source language and Italian as target, then download the translated file as subtitles_ita.srt.
Step 8: Import and Sync Subtitles into DaVinci Resolve
Open DaVinci Resolve, import video_original.mp4 into Media, add to timeline in Edit, create a subtitle track, import and drag subtitle_ita.srt into the track. Wait a few moments for syncing.
Step 9: Fix Translation Errors
Open subtitles_ita.srt with a text editor, correct the errors while maintaining the .srt structure, then save. This step can also be performed when the video is open in DaVinci Resolve and the subtitle has been imported into the timeline, using the program's editing tools.
Step 10: Customize Subtitle Color in DaVinci Resolve
In the Edit or Fairlight timeline, select the subtitle track, go to Workspace > Subtitles, change the color to red or yellow for better readability, and save your changes.
Step 11: Embed Subtitles into Final Video
In the Deliver tab, go to Render Settings, find Subtitle Settings and select Embed in Video. Proceed with the rendering settings and start the process. For videos on X the allowed video format is .mp4 with H264 codec and I suggest a quality limited to 30,000 kb/s This guide was created with the help of GROK, a curious AI built by xAI.