Category Archives: Speech and Language Processing

How to Automatically Create a Subtitle for a Video

Motivation:

You have MP4 video file.
You want to create a subtitle to understand the video content.

Solution:
  1. Split MP4 file to 9-minutes files (please refer to https://huybien.com/how-to-trim-or-cut-mp4-files-without-re-encoding/ for details).
  2. Log in https://www.veed.io
  3. Click the “+” icon.
  4. Upload a 9-minutes MP4 file.
  5. Click the “Subtitles” tab.
  6. Click the “Auto Translate” button. Select the language for the subtitle.
  7. Click the “Start” button. Wait for the process to be complete.
  8. Click the “Export” button.
  9. Ensure that the “Burn Subtitle” option is selected.
  10. Click the “Export Video” button. Wait for the process on the left to be complete.
  11. Click the “Download MP4” link.

 

How to Trim or Cut MP4 Files Without Re-Encoding

Motivation:

You have MP4 files with unwanted portions. You want to trim these portions.
You may also want to cut a MP4 file into files with equivalent length for uploading to specific storage that limits length of an uploaded video.

Solution:

  1. Download XMedia Recode.
  2. Install the application.
  3. Open a MP4 file.
  4. Under the Format tab set
    Profile = Custom
    Format = MP4
    File Extension = mp4
  5. Click the Video tab and set Mode = Copy on the middle panel.
  6. Click the Audio tab and set Mode = Copy on the middle panel.
  7. Click the Filters/Preview tab and set Start Time and to (End Time).
  8. Click the Add to queue button (with the + icon) on the tool bar.
  9. Click the Encode on the tool bar.

If you want to split a MP4 file to multiple files with equivalent length for uploading to specific storage that limits length of an uploaded video by time then follow the procedure below.

  1. Download XMedia Recode.
  2. Install the application.
  3. Open a MP4 file.
  4. Under the Format tab set
    Profile = Custom
    Format = MP4
    File Extension = mp4
  5. Click the Video tab and set Mode = Copy on the middle panel.
  6. Click the Audio tab and set Mode = Copy on the middle panel.
  7. Click the Filters/Preview tab and specify appropriate time range for each file, for example from 00:00:00:0000 to 00:09:00:0000.
  8. Click the Add to queue button (with the + icon) on the tool bar.
  9. Click the Encode on the tool bar.
  10. Repeat the procedure for the same file with different time ranges. For example use time range from 00:09:00:0000 to 00:18:00:0000 for creating the second file, then time range from 00:18:00:0000 to 00:27:00:0000 for crating the third file, etc.