Skip to content

SANGAAM/subtitleVideo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subtitle Video Generator

A MERN-stack application that enables users to upload videos, extract subtitles, and generate a new video with embedded subtitles using FFmpeg.


Output

Screenshot 1 Screenshot 2

Features

  • Video Upload: Upload your video file to the application.
  • Audio & Subtitle Extraction: Automatically extracts audio and generates subtitles from the video.
  • Subtitle Embedding: Combines the original video, extracted audio, and generated subtitles into a single output video.
  • FFmpeg Integration: Handles video processing seamlessly.

Technologies Used

  • Frontend: React.js
  • Backend: Node.js with Express.js
  • Database: MongoDB
  • Video Processing: FFmpeg
  • Subtitle Extraction: Speech-to-Text API (or tool used)

Usage

  1. Open the application in your browser.
  2. Upload a video file.
  3. Process the video:
    • Extract audio and generate subtitles.
    • Merge audio, video, and subtitles.
  4. Download the generated video with subtitles.

FFmpeg Commands Used

  • Extract Subtitles:
    ffmpeg -i input.mp4 -map 0:s:0 subtitles.srt
  • Merge Audio, Video, and Subtitles:
     ffmpeg -i input.mp4 -i subtitles.srt -c:v copy -c:a copy -c:s mov_text output.mp4
    

Future Enhancements

  • Support for Multiple Subtitle Languages
  • Improved Speech-to-Text Accuracy with Custom Models
  • Cloud Storage Integration for Video Uploads

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors