Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No subtitles were found #31

Open
RameshKumarGogoi opened this issue May 28, 2022 · 5 comments
Open

No subtitles were found #31

RameshKumarGogoi opened this issue May 28, 2022 · 5 comments

Comments

@RameshKumarGogoi
Copy link

RameshKumarGogoi commented May 28, 2022

It worked on file named "Interstellar.2014.720p.BluRay.x264.YIFY.mkv" but failed on most of the files.
For example "Game.of.Thrones.S01E01.720p.BluRay.450MB.ShAaNiG.com" didn't worked, tried changing to "Game of Thrones S01E01" and "Game of Thrones S1E1". Added opensubtitles and addic7ed credentials still not working.

@nexsych
Copy link

nexsych commented Jun 25, 2022

It worked on file named "Interstellar.2014.720p.BluRay.x264.YIFY.mkv" but failed on most of the files. For example "Game.of.Thrones.S01E01.720p.BluRay.450MB.ShAaNiG.com" didn't worked, tried changing to "Game of Thrones S01E01" and "Game of Thrones S1E1". Added opensubtitles and addic7ed credentials still not working.

It worked for me after adding opensubtitles.org credentials. Make sure you have uncommented the line. I too have the same video file, no need to change its name.

@akash-258
Copy link

This worked for me Diaoul/subliminal#1044 (comment)

@akash-258
Copy link

@davidde I am also facing this issue , subliminal is able to download the subtitles after applying this fix. But script is not working for me.

script : autosub.lua
mpv : mpv.conf

whereis subliminal
subliminal: /usr/bin/subliminal
mpv The.Mandalorian.S02E01.1080p.WEBRip.x265-RARBG.mp4
[mpv_gnome_inhibit] GNOME+Wayland idle inhibit workaround enabled. You can ignore the warning from the [vo/gpu/wayland] component. 
 (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz)
File tags:
 Comment: The.Mandalorian.S02E01.1080p.WEBRip.x265-RARBG
 Title: The.Mandalorian.S02E01.1080p.WEBRip.x265-RARBG
[vaapi] Failed to initialize VAAPI: unknown libva error
[autosub] Reactivate external subtitle files: 
Track list:
 (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz)
[autosub] Automatic downloading disabled! 
AO: [pulse] 48000Hz 5.1 6ch float
VO: [gpu] 1920x1080 yuv420p10
AV: 00:00:01 / 00:51:51 (0%) A-V:  0.000
[autosub] Searching English subtitles ... 
AV: 00:00:01 / 00:51:51 (0%) A-V:  0.000
[autosub] No English subtitles found
[autosub]  

@GabR36
Copy link

GabR36 commented May 22, 2024

after adding OpenSubtitles.org credentials the program finds subtitles for me, but apparently opensubtitles.org is deliberately preventing the download, it downloads an .srt file with only the following text in it:

1
00:00:00,001 --> 04:00:00,003
Become OpenSubtitles.org VIP Member 
to get subtitles -> osdb.link/vip

I tested both my prefered language Portuguese and English, and both is getting that.

@fidodido48
Copy link

Hi,
I can confirm there's a problem with autosub not finding subtitles.
I was able to find them using AUR's opensubtitlesdownload pkg
(after providing login details, it downloads proper working subtitles, not the fake ones forcing to become a VIP).
Better yet, it can download all subs for the whole season at once:

Urllib error ( 429 )  Too Many Requests
>> An error occurred while connecting to the OpenSubtitles.com server
>> Downloading 'pl' subtitles for 'Walker.S03E05.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
>> Downloading 'pl' subtitles for 'Walker.S03E01.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
>> Downloading 'pl' subtitles for 'Walker.S03E07.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
Urllib error ( 429 )  Too Many Requests
>> An error occurred while connecting to the OpenSubtitles.com server
>> Downloading 'pl' subtitles for 'Walker.S03E08.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
>> Downloading 'pl' subtitles for 'Walker.S03E11.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
>> Downloading 'pl' subtitles for 'Walker.S03E12.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
>> Downloading 'pl' subtitles for 'Walker.S03E06.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
>> Downloading 'pl' subtitles for 'Walker.S03E14.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
>> Downloading 'pl' subtitles for 'Walker.S03E09.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
>> Downloading 'pl' subtitles for 'Walker.S03E15.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
Urllib error ( 429 )  Too Many Requests
>> An error occurred while connecting to the OpenSubtitles.com server
>> Downloading 'pl' subtitles for 'Walker.S03E13.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
>> Downloading 'pl' subtitles for 'Walker.S03E17.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
>> Downloading 'pl' subtitles for 'Walker.S03E10.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'
Urllib error ( 429 )  Too Many Requests
>> An error occurred while connecting to the OpenSubtitles.com server
>> Downloading 'pl' subtitles for 'Walker.S03E16.720p.AMZN.WEBRip.x264-GalaxyTV.mkv'

Sample of a proper-working subtitle file:

1
00:00:14,348 --> 00:00:15,933
<i>Poprzednio...</i>

2
00:00:17,809 --> 00:00:20,896
Ktokolwiek tam był,
próbował nas zabić.

3
00:00:22,147 --> 00:00:25,150
- Ludzie Serano chcieli się zemścić?
- Nowa ekipa.

4
00:00:25,317 --> 00:00:29,863
Masz mnie za skorumpowanego?
Okej. Ale próbuję chronić ludzi.

5
00:00:30,030 --> 00:00:34,159
Paramilitarna grupa usiłuje
uciszyć Strażnika Teksasu?

6
00:00:35,869 --> 00:00:37,746
To dopiero początek.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants