NisaarAgharia / AI-Shorts-Creator

AI-Video-Cropper is a Python-based tool that leverages the power of GPT-4 (OpenAI's language model) to automatically analyze videos, extract the most interesting sections, and crop them for improved viewing experience. This project combines the capabilities of GPT-4, FFmpeg, and OpenCV to automate the process of identifying highlights in videos
553 stars 111 forks source link

Change Language ?? #13

Open Zeffut opened 9 months ago

Zeffut commented 9 months ago

Hello do you no if i can change language i actually got this with a french video :

` No transcripts were found for any of the requested language codes: fr

For this video (5knbYsVIMJU) transcripts are available in the following languages:

(MANUALLY CREATED) None

(GENERATED)

(TRANSLATION LANGUAGES)

If you are sure that the described cause is not responsible for this error and that a transcript should be retrievable, please create an issue at https://github.com/jdepoix/youtube-transcript-api/issues. Please add which version of youtube_transcript_api you are using and provide the information needed to replicate the error. Also make sure that there are no open issues which already describe your problem! `

feedain9 commented 9 months ago

I think the best is to use Whisper to get the subtitle...

Youtube-transcript-api is very limited...

NisaarAgharia commented 9 months ago

True

feedain9 commented 9 months ago

True

your script doesn't add subtitles to the videos, right ?

Zeffut commented 8 months ago

thanks i try whisper