Spyderturbo007 19 Posted February 2, 2021 Posted February 2, 2021 Is there an option to delay subtitles? I run across subtitles all the time that are slightly out of sync. I don’t like the PGS subtitles because there isn’t any way to change their font / position. At least no way that I can find. it also doesn’t look like there is a way to easily convert PGS to SRT during the rip process. So I’m stuck with ripping the disk and then downloading a subtitle from either subscene or open subtitles. The problem is that most of the time they are slightly off with the timing. Kodi allows me to adjust the timing ahead or behind by 0.1s increments. Is something like that an option with Emby?
Luke 42077 Posted February 2, 2021 Posted February 2, 2021 Hi there, have you explored the subtitle offset function in many of our video players?
pwhodges 2012 Posted February 2, 2021 Posted February 2, 2021 1 hour ago, Spyderturbo007 said: I don’t like the PGS subtitles because there isn’t any way to change their font / position. At least no way that I can find. it also doesn’t look like there is a way to easily convert PGS to SRT during the rip process. PGS subtitles are images. You can't change their position in any software I know... Converting them is a full OCR effort. You can use Subtitle Edit or DVDSubExtractor (works for PGS subs too), but it's a pretty hands-on process either way, and understandable that you might not want to get involved with it. Luke has already answer re Emby's facilities for timing. Paul
Ronstang 293 Posted February 3, 2021 Posted February 3, 2021 I have been having trouble lately with subs from certain channels I record movies from being out of sync and it is frustrating. I encode and store all my movies so I extract the CCs from the video and convert to SRT automatically. I found a great tool called SubSync that actually listens to the audio and then will automatically sync the subtitles by saving a new SRT file. It takes a few minutes but so far it has been extremely accurate for me. You can use the subtitle offset function in Emby but instead of fiddling with that and then having to deal with helping others watching my files in the house I prefer to use SubSync to make a permanent solution that is portable and will work on any player you use anywhere because you have corrected the core sub file. 1
rbjtech 5284 Posted February 3, 2021 Posted February 3, 2021 (edited) Useful info thanks .. just seen subsync has a CLI, I wonder if I could incorporate an SRT sync 'check' as part of my post media processing .. Edited February 3, 2021 by rbjtech
Ronstang 293 Posted February 3, 2021 Posted February 3, 2021 54 minutes ago, rbjtech said: Useful info thanks .. just seen subsync has a CLI, I wonder if I could incorporate an SRT sync 'check' as part of my post media processing .. I wish there was a way to make SubSync an automatic tool that I could batch run on a directory of directories because it's smart enough to know when and if subs are in sync and it even has the ability to translate the language spoken to sync other language subs to the audio. It's a slick and accurate tool but it is completely manual at the time, not a huge deal because MGM Movie Channel is the one I always have trouble with so as soon as I encode a movie I run it through SubSync before I put it into my library.
rbjtech 5284 Posted February 3, 2021 Posted February 3, 2021 (edited) It looks to be an extremely capable utility - and I see no reason at all why you could not scan your entire collection with an iterative script that 'corrects' the subtitle sync as it goes... CLI Options .. A great find - thanks - I'm going to have a good look at this when I get a bit of time. Having a 're-sync' button in Emby would also be perfect - as my sync on a test file only took a few seconds.. impressive. edit - even better - it has a batch mode ! Just run 'subsync --batch' from the command line and it will allow you to drag and drop files/folders .. Edited February 3, 2021 by rbjtech
Spyderturbo007 19 Posted February 3, 2021 Author Posted February 3, 2021 21 hours ago, Luke said: Hi there, have you explored the subtitle offset function in many of our video players? That's what I was asking. I can't find the offset option.
ebr 16169 Posted February 3, 2021 Posted February 3, 2021 Just now, Spyderturbo007 said: That's what I was asking. I can't find the offset option. Where did you look for it and in which app?
Spyderturbo007 19 Posted February 3, 2021 Author Posted February 3, 2021 Just now, ebr said: Where did you look for it and in which app? It's for my Shield, so I suspect that's AndroidTV. I played a video and then pressed down and went to CC where I can choose a subtitle file, or move it around on the screen.
ebr 16169 Posted February 3, 2021 Posted February 3, 2021 4 minutes ago, Spyderturbo007 said: It's for my Shield, so I suspect that's AndroidTV. I played a video and then pressed down and went to CC where I can choose a subtitle file, or move it around on the screen. Okay, the delay is only available in the beta version of that app right now. It will show on that same menu when a sub that supports it is selected.
Spyderturbo007 19 Posted February 3, 2021 Author Posted February 3, 2021 1 minute ago, ebr said: Okay, the delay is only available in the beta version of that app right now. It will show on that same menu when a sub that supports it is selected. Cool. I'll wait for it to be released. Thanks!
Spyderturbo007 19 Posted February 3, 2021 Author Posted February 3, 2021 Since we are talking about subtitles, is there a way to specify a TV show for Open Subtitles and have it download all subtitles for all episodes missing subtitles for that show? I don't have an Open Subtitles VIP account, so I suspect when the task runs it runs out of free credits.
GrimReaper 4739 Posted February 3, 2021 Posted February 3, 2021 (edited) 29 minutes ago, Spyderturbo007 said: Since we are talking about subtitles, is there a way to specify a TV show for Open Subtitles and have it download all subtitles for all episodes missing subtitles for that show? AFAIK, Refresh Metadata->Search for missing metadata on Series level should do that. Edited February 3, 2021 by GrimReaper76 Typo 1
rbjtech 5284 Posted February 3, 2021 Posted February 3, 2021 52 minutes ago, Spyderturbo007 said: I don't have an Open Subtitles VIP account, so I suspect when the task runs it runs out of free credits. Yes it will, but as it's a scheduled task that repeats until it's complete, it will eventually complete them all using a standard (free) account. I believe the quota resets every 24 hrs. 1
neik 873 Posted November 10, 2021 Posted November 10, 2021 On 2/3/2021 at 1:19 PM, rbjtech said: Useful info thanks .. just seen subsync has a CLI, I wonder if I could incorporate an SRT sync 'check' as part of my post media processing .. Have you been using it? If so, how are your experiences with it? My usecase: My grandparents live abroad and I would like to share my library with them, unfortunately though, they don't understand the languages my files have as they don't understand English. Therefore, I would like to add the third language as subtitles but can't do it manually as verification after downloading is way too time intensive. Would be quite interested in what you think of the tool.
rbjtech 5284 Posted November 10, 2021 Posted November 10, 2021 2 hours ago, neik said: Have you been using it? If so, how are your experiences with it? My usecase: My grandparents live abroad and I would like to share my library with them, unfortunately though, they don't understand the languages my files have as they don't understand English. Therefore, I would like to add the third language as subtitles but can't do it manually as verification after downloading is way too time intensive. Would be quite interested in what you think of the tool. Hi @neik - unfortunately not beyond the initial look. Just too many things on the go at the moment and this one is low priority for me. But it did look a decent, well written tool - certainly worth playing with the GUI version to see if it lives up to it objective - and if it does, I see no reason why the CLI version would not do the same but automated in some sort of recursive script. 1
neik 873 Posted November 10, 2021 Posted November 10, 2021 25 minutes ago, rbjtech said: But it did look a decent, well written tool - certainly worth playing with the GUI version to see if it lives up to it objective - and if it does, I see no reason why the CLI version would not do the same but automated in some sort of recursive script. I had a couple of minutes to play with it and can confirm your statement. Clean and lean UI which is easily understandable. From what I tested (few different episodes and movies) the default values didn't get me the result I wanted. After sharpening the values a bit it works like a charm on my sample, even took some subs which were way off sync but the tool figured it out nicely. Have to think about it now how I can implement it in my Emby. 1
rbjtech 5284 Posted November 10, 2021 Posted November 10, 2021 Nice - Maybe write up your findings in a new thread in the Tools & Utilities section
rodainas 191 Posted November 10, 2021 Posted November 10, 2021 I tried subsync some time ago good results, but then tried alass, got same or probably better success rate with it, the difference is is much much faster doing the syncing process. 2
neik 873 Posted November 10, 2021 Posted November 10, 2021 50 minutes ago, rodainas said: I tried subsync some time ago good results, but then tried alass, got same or probably better success rate with it, the difference is is much much faster doing the syncing process. Sound interesting! As I see it doesn't seem to be developed anymore whereas subsync is, have you encountered any issues with alass due to that?
rodainas 191 Posted November 10, 2021 Posted November 10, 2021 7 minutes ago, neik said: Sound interesting! As I see it doesn't seem to be developed anymore whereas subsync is, have you encountered any issues with alass due to that? Doesnt give any problems, it has a good mechanism,I tested both with same subtitles and the results are similar, success or not, but alass is just way faster. 1
rodainas 191 Posted November 10, 2021 Posted November 10, 2021 I may add it works even better if you use a reference subtitle, the sync is more accurate with this. 1
jackandjohn 11 Posted October 24, 2022 Posted October 24, 2022 I suspect that the end result will be everyone fixing their subtitles and Emby not making sync a priority, but I'd like to add two things right now: The delay is about the file itself and is not player-specific. For that reason I think it's worth at least having a server-side DB column for the delay The iOS delay interface is frustrating for large delays. I have a file with a delay of 20.5 seconds, and the interface only changes by +-50ms per (UI-blocking) button tap. >400 taps required Offset is reset when leaving the playback and coming back
visproduction 315 Posted October 24, 2022 Posted October 24, 2022 For SRT subs I use this site: https://subtitletools.com/subtitle-sync-shifter Find the first sync correct for your media. Look in the SRT for when that sub title turns on. Subtrack the difference and run the Subtitle tools on that web page. -1000 = minus 1 second. The site gives you a new SRT file where the subtitles all are retimed to match your shift. Often that fixes most SRT sync. You can continue to fine tune by going to the next problem sync, find the better starting time for that line, run the tool again and copy paste the from the line change down into a the edited SRT file. If you do it once, it will make more sense. You can progress through the file and tweak the problem sync and move the rest of the sub sync to match the edit point, if you need to do that. Of course, sometimes just a few line edits are all you need. The rest of the sub come back into sync afterwards. Hope that helps.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now