agermanidis / autosub

[NO LONGER MAINTAINED] Command-line utility for auto-generating subtitles for any video file
MIT License
4.11k stars 1.64k forks source link

takes a different english language #156

Open ghost opened 5 years ago

ghost commented 5 years ago

The English language which it auto-captions looks like Indian English because I Indian words in it. I tried to change the regional language in my PC to English (united states) as well speech language to English (united states) which earlier was English (India). I then reinstalled the autosub but still gives me the same wrong captions for the video. Here are the Auto captions for the same OBAMA VIDEO which yo put the link in the description.

President Obama Addresses the Nation on the BP Oil Spill - Copy.srt.txt

BingLingGroup commented 4 years ago

@Nadeem2214 now my version of autosub can auto match or list the related language codes for a more specific detection. The new features are in the alpha branch which will be probably released tomorrow. Or you can also install it directly from the alpha branch.

ghost commented 4 years ago

I downloaded the alpha Branch but still no changes..i get the same wrong subtitles. Please send me single installer file where I can put in a video and get the .srt file as ouput .

Thanks for your efforts and letting me know.

On Sat, Jul 27, 2019, 20:03 BingLingFanSub notifications@github.com wrote:

@Nadeem2214 https://github.com/Nadeem2214 now my version of autosub https://github.com/BingLingGroup/autosub can auto match or list the related language codes for a more specific detection. The new features are in the alpha branch which will be probably released tomorrow. Or you can also install it directly from the alpha branch.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/agermanidis/autosub/issues/156?email_source=notifications&email_token=AFRQKVOM5OP73WB74CEWSEDQBRMCJA5CNFSM4H4ME73KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26MRAA#issuecomment-515688576, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRQKVKBGSALMI4VWEDHAVDQBRMCJANCNFSM4H4ME73A .

BingLingGroup commented 4 years ago

I downloaded the alpha Branch but still no changes..i get the same wrong subtitles. Please send me single installer file where I can put in a video and get the .srt file as ouput . Thanks for your efforts and letting me know. On Sat, Jul 27, 2019, 20:03 BingLingFanSub @.***> wrote: @Nadeem2214 https://github.com/Nadeem2214 now my version of autosub https://github.com/BingLingGroup/autosub can auto match or list the related language codes for a more specific detection. The new features are in the alpha branch which will be probably released tomorrow. Or you can also install it directly from the alpha branch. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#156?email_source=notifications&email_token=AFRQKVOM5OP73WB74CEWSEDQBRMCJA5CNFSM4H4ME73KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26MRAA#issuecomment-515688576>, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRQKVKBGSALMI4VWEDHAVDQBRMCJANCNFSM4H4ME73A .

You just try this.

autosub -lsc en

This will list all lang codes matching en with a score above 90. (According to the package langcodes) And then use the en-in for your specific usage.

BingLingGroup commented 4 years ago

I downloaded the alpha Branch but still no changes..i get the same wrong subtitles. Please send me single installer file where I can put in a video and get the .srt file as ouput . Thanks for your efforts and letting me know. On Sat, Jul 27, 2019, 20:03 BingLingFanSub @.***> wrote: @Nadeem2214 https://github.com/Nadeem2214 now my version of autosub https://github.com/BingLingGroup/autosub can auto match or list the related language codes for a more specific detection. The new features are in the alpha branch which will be probably released tomorrow. Or you can also install it directly from the alpha branch. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#156?email_source=notifications&email_token=AFRQKVOM5OP73WB74CEWSEDQBRMCJA5CNFSM4H4ME73KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26MRAA#issuecomment-515688576>, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRQKVKBGSALMI4VWEDHAVDQBRMCJANCNFSM4H4ME73A .

About how to intall directly from the git repo, I wrote the method in the readme. You can have a try.

BingLingGroup commented 4 years ago

I downloaded the alpha Branch but still no changes..i get the same wrong subtitles. Please send me single installer file where I can put in a video and get the .srt file as ouput . Thanks for your efforts and letting me know. On Sat, Jul 27, 2019, 20:03 BingLingFanSub @.***> wrote: @Nadeem2214 https://github.com/Nadeem2214 now my version of autosub https://github.com/BingLingGroup/autosub can auto match or list the related language codes for a more specific detection. The new features are in the alpha branch which will be probably released tomorrow. Or you can also install it directly from the alpha branch. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#156?email_source=notifications&email_token=AFRQKVOM5OP73WB74CEWSEDQBRMCJA5CNFSM4H4ME73KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26MRAA#issuecomment-515688576>, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRQKVKBGSALMI4VWEDHAVDQBRMCJANCNFSM4H4ME73A .

@Nadeem2214

autosub -lsc en
Match Google Speech V2 lang codes.
Now match lang codes.
Input:            en
Score above:      90
Match result      Score (0-100)
en-us             99
en-au             97
en-ca             97
en-gb             97
en-gh             97
en-ie             97
en-in             97
en-ke             97
en-ng             97
en-nz             97
en-ph             97
en-sg             97
en-tz             97
en-za             97

All works done.

And then use en-in as the arg of -S. It should work.

BingLingGroup commented 4 years ago

@Nadeem2214 I've already released the standalone version. Click here and download.