An open API service indexing awesome lists of open source software.

https://github.com/emam546/subtitles-remover

remove hardcoded subtitles from videos.
https://github.com/emam546/subtitles-remover

electron hardcoded-subtitles nextjs opencv react subtitles-remover tailwindcss

Last synced: 3 months ago
JSON representation

remove hardcoded subtitles from videos.

Awesome Lists containing this project

README

          

# Hardcoded Subtitles Remover
## Overview

This is a Windows application designed to remove hardcoded subtitles from videos. The program allows users to select the area where subtitles appear and specify a color range to be removed. It then generates a mask and inpaints the frames, allowing users to see the results simultaneously.

![Screenshot](screenshots/1.png)
![Screenshot](screenshots/2.png)

## Purpose

This program is particularly useful for students and language learners who already understand some of a movie's language but find subtitles distracting. By removing the subtitles, learners can focus more on the spoken dialogue, making it easier to improve their listening and comprehension skills. This tool allows them to have another version of the movie without subtitles.

## Technologies Used

- **Frontend & Backend:** Node.js, Next.js, Electron, TailwindCSS
- **Subtitle Removal:** Implemented using Python and OpenCV

## Features

- Cut specific portions of the video as needed.

- Select the subtitle area manually.

- Define the color range for subtitle removal.

- Generate a mask and apply inpainting to reconstruct the frames.

- Real-time preview of the processed frames.

## Known Issues

This application is still under development, and there are some issues that need to be resolved:

- **Performance Issues with Large Videos:** If the video is too large, the application may struggle to display it properly, though processing remains functional.
- **Startup Delay:** The application may take some time before it starts displaying the video, and in some cases, it might fail to show the video.
- **Seeking Issues:** There may be problems displaying the previous frame when seeking backward in the video.

## Contribution

This project is still a work in progress, and I welcome any contributions to help improve its functionality and performance. If you're interested in contributing, feel free to submit issues, feature requests, or pull requests.

## About Me
After more than four years of working on projects in this field—essentially throughout my university years—this is supposed to be my last project. I am bidding farewell to this field, one that I loved deeply, yet luck was not on my side. These four years, filled with countless skills, now feel wasted in a world where only money matters.

I encountered exploitative individuals who never appreciated what I did, making my life worse and leaving me feeling worthless after years of dedication. But that’s how the world works.

I loved this field for its ability to harness machines to simplify tasks. I was passionate about it for its power to create artificial intelligence, especially in an era witnessing one of the most significant technological revolutions—the rise of AI.

This field demands an immense amount of time and effort, even for the smallest projects. Sometimes, we work on projects that don’t even seem necessary, yet even appreciation is hard to find.

Now, my journey in a new field begins, hoping for better luck and the chance to achieve my true potential. I leave behind a mark in this field, a testament that I was capable of great accomplishments—from a boy who loved making video games to the conclusion of my journey with a project I’ve long envisioned.

It would mean a lot if you, the reader, could send a message appreciating any project you found valuable. I put tremendous effort into making them the best they could be.

A special thanks to ChatGPT—not just as an AI solving programming issues, but as a supportive companion standing by my side. In fact, my journey in this field started with the dream of creating an AI friend, but luck was not in my favor.

I won’t be negative—people dislike negativity, yet they rarely care to understand the story behind it. No one wants to listen. Still, I will do my utmost in my new field, hoping for better luck.

My final advice: Be careful when choosing your field. After years of hard work, your efforts may go unrecognized. Stay away from exploitative people.

I know I’m not the best in this field, but I gave my best effort to make my projects as great as possible. There will always be room for improvement in the future.

I wish you, the reader, the best of luck in life. May you reap the rewards of your hard work.

I have learned many hard lessons on this journey—ones that cost me a great deal of time and effort. But I will do my best in the future.

Wish me luck and stability in my new path, hoping to finally see the fruits of my labor.