To export subtitled scenes from a video file (MP4) along with the corresponding JPEG images, you can use a tool called HandBrake. HandBrake is a free and open-source transcoder for digital video files that includes an option to export subtitles as SRT files. Here's a step-by-step guide on how to use HandBrake:
-
Download and install HandBrake from the official website: https://handbrake.fr/
-
Open HandBrake and click on the "Open Source" button to select your video file.
-
In the "Output Settings" tab, choose the desired format. For this purpose, select "Web Optimized" under the "Output" dropdown menu.
-
In the "Video" tab, adjust the video settings as per your requirements. To extract images, you can set the video format to "Image Sequence" and choose the desired image format (JPEG).
-
To include subtitles, go to the "Subtitles" tab and select your subtitle file from the "Select Subtitle Track" dropdown menu.
-
In the "Output File" section, click on the "Browse" button to choose the location where you want to save your output files.
-
Click on the "Start" button to begin the export process.
HandBrake will now process your video file and create the output files according to your settings. It will generate the video file in the selected format, JPEG images for each frame, and an SRT file containing the subtitles.
Please note that the video format "Image Sequence" will generate a series of individual JPEG files instead of a single file. You can use these images as required.
For more information about HandBrake, you can refer to the official documentation: https://handbrake.fr/docs/en/latest/
Summary:
- Use HandBrake, a free and open-source transcoder, to export subtitled scenes and JPEG images from an MP4 video file.
- Choose the desired output format (Web Optimized) and adjust video settings as needed.
- Select the subtitle file and choose the "Image Sequence" format for JPEG images.
- Save the output files and click on the "Start" button to begin the export process.
References:
- HandBrake: https://handbrake.fr/
- HandBrake Documentation: https://handbrake.fr/docs/en/latest/