Jump to content


Photo

Auto PGS to SRT Converter

pgs srt conversion subtitles

  • Please log in to reply
12 replies to this topic

#1 K-O-K OFFLINE  

K-O-K

    Member

  • Members
  • 11 posts
  • Local time: 06:17 AM

Posted 16 October 2018 - 11:48 PM

Hi, let me start off by saying that Emby its the best streaming server out there! Nice job and keep going!

I think it would be great to have an automatic feature that convert's .pgs subtitles inside .mkv files to .srt.

Let me give you an example of use case that's actually what I'm dealing right now:

I have a 55" LG 4K TV and i'm using the Emby app whis is beautiful btw.
I have several 4K HEVC BluRay movies in .mkv files in the server that have .pgs subtitles and different audio tracks for langs., the thing is that for me to be able to watch those movies I had to turn off all the transcoding options in my user profile.
If I turn on the transcoding options, it tries to burn the subtitles by transcoding the Video file.

 

I think that instead of transcoding the video file, it should be doing something like converting those .pgs existing subtitles to .srt files that are compatible with most DLNA devices.

I think it would be awsome if we could cron this to run on the less server busy hours so the .srt file is ready to play whenever is needed instead of doing it on the fly when maybe there's no enough CPU resources.

 

 



#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 45403 posts
  • Local time: 07:17 AM

Posted 17 October 2018 - 08:33 AM

Hi.  Trying to convert graphic subs to text would probably be a pretty tall order.

 

Why not just use our subtitle search features to obtain text subs for your items?



#3 K-O-K OFFLINE  

K-O-K

    Member

  • Members
  • 11 posts
  • Local time: 06:17 AM

Posted 17 October 2018 - 09:37 AM

Hi.  Trying to convert graphic subs to text would probably be a pretty tall order.

 

Why not just use our subtitle search features to obtain text subs for your items?

Hi Ebr, Thanks for your prompt reply,

I know it isn't straight forward to convert graph text to plain text, but I know it's possible, maybe I'm wrong, but I read there are some OCR Open Source softwares that maybe can be integrated with Emby to acomplish that, perhaps via a pluggin. I think it's a really interesting feature that can beat the competition, and be attractive for users.

About the subtitle search, believe me, I've tried, but I can't find any subtitle thats a perfect match for my movie, and since we don't have the subtitle adjustment/sync feature, there's nothing I can do to use those but to manually edit them which could be a pain.



#4 cayars OFFLINE  

cayars

    Advanced Member

  • Alpha Testers
  • 2923 posts
  • Local time: 07:17 AM

Posted 17 October 2018 - 11:44 AM

There is and I've been playing with this a lot but would suggest not doing this unless it's impossible to download an SRT or other text based subtitle from an online source first.  OCR is always problematic in some way, shape or form.



#5 K-O-K OFFLINE  

K-O-K

    Member

  • Members
  • 11 posts
  • Local time: 06:17 AM

Posted 17 October 2018 - 01:10 PM

Exactly, I think his is useful when you have a movie file with pgs subtitles and you can't find a srt subtitle match for it.

Even if you had the option for adjusting the subtitle offset, I'ts way better to "convert" the subtitle file type beacuse you know for a fact that It will be the best subtitle you can find, the perfect match and everything.

 

Consider also that sometimes hearing impaired people would benefit from this since often the english .pgs subtitles are CC and most of the times you just find regular subtitles out there.



#6 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 45403 posts
  • Local time: 07:17 AM

Posted 17 October 2018 - 01:26 PM

I'ts way better to "convert" the subtitle file type beacuse you know for a fact that It will be the best subtitle you can find, the perfect match and everything.

 

That assumes a "perfect" OCR solution...



#7 K-O-K OFFLINE  

K-O-K

    Member

  • Members
  • 11 posts
  • Local time: 06:17 AM

Posted 17 October 2018 - 01:56 PM

That assumes a "perfect" OCR solution...

 

Sure nothing's perfect, but i'ts doable, you can mark the feature as "experimental" while it gets mature enough.

I'm sure that you havn't had the chance to strugle with subtitles, but I can tell you, it can be a pain! Sometime's you download a subtitle that starts great but as the movie goes forward it gets awful, even misspelling, gets out of sync, etc.

The OCR solution can't be worst than that, and you can be sure that at least it will be in-sync with the movie.

Also, keeping in mind that the OCR proccess should know whats "reading", meaning that it knows the type of input, It can be polish to get near perfect.

 

Just a thought. :)



#8 cayars OFFLINE  

cayars

    Advanced Member

  • Alpha Testers
  • 2923 posts
  • Local time: 07:17 AM

Posted 17 October 2018 - 03:09 PM

Personally I don't think something like belongs in Emby for a few reasons.

1) This process isn't speedy and won't work in real time.

2) It would have an extremely small amount of users who need or would use it.

3) Emby already supports downloading subs that will work with your media.

 

For the oddball movie that you can't find a reliable SRT for you can manually convert these yourself offline.

This would be a good thing to try anyway in order to get a feel for speeds and accuracy.

This will also allow you to convert movies you need now.

 

To get started have a read of these:

http://hometheatersn...--from-mkv.html

http://best-tablet-c...es-with-suprip/

 

That will give you a couple of options.



#9 naeonline OFFLINE  

naeonline

    Advanced Member

  • Members
  • 91 posts
  • Local time: 06:17 AM

Posted 17 October 2018 - 03:25 PM

Here is a 3rd part tool that can do it.  I use it all the time.  It can be scripted from the command-line as well.

https://www.nikse.dk/SubtitleEdit/



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131576 posts
  • Local time: 07:17 AM

Posted 17 October 2018 - 03:32 PM

Personally I don't think something like belongs in Emby for a few reasons.

1) This process isn't speedy and won't work in real time.

2) It would have an extremely small amount of users who need or would use it.

3) Emby already supports downloading subs that will work with your media.

 

For the oddball movie that you can't find a reliable SRT for you can manually convert these yourself offline.

This would be a good thing to try anyway in order to get a feel for speeds and accuracy.

This will also allow you to convert movies you need now.

 

To get started have a read of these:

http://hometheatersn...--from-mkv.html

http://best-tablet-c...es-with-suprip/

 

That will give you a couple of options.

 

I agree with this.



#11 dolphin OFFLINE  

dolphin

    Advanced Member

  • Members
  • 58 posts
  • Local time: 01:17 PM

Posted 25 June 2019 - 11:21 AM

This free online sup to srt converter seems to work pretty well: https://subtitletool...p-to-srt-online

Sadly, text that is italic in the sup file is not italic in the srt file.



#12 rbjtech OFFLINE  

rbjtech

    Advanced Member

  • Members
  • 352 posts
  • Local time: 12:17 PM
  • LocationLondon, UK

Posted 25 June 2019 - 12:29 PM

Here is a 3rd part tool that can do it.  I use it all the time.  It can be scripted from the command-line as well.

https://www.nikse.dk/SubtitleEdit/

 

I use Subtitle Edit all the time - it's OCR is good, on an entire PGS movie it may pick out 10 words that it cannot recognize. 

 

I also use it to re-sync SRT subtitles if there is no other option.

 

It's well worth a look - and agree with the others, this sort of functionality is best left to specialist programs such as this.



#13 Mibok OFFLINE  

Mibok

    Advanced Member

  • Members
  • 220 posts
  • Local time: 05:17 AM

Posted 25 June 2019 - 12:47 PM

In my experience you never get perfect results with OCR, it usually take me a couple of hours sometimes an entire afternoon to do that work using Subtitle Edit or some other tools, while it works ok in general lines you often see it takes "I" instead or lower case "L", it struggles with italics taking for example "ae" as a single character that doesn't recognize, character names are other common problem. And is something that is not gonna get better sooner in any OCR software as the technology hasn't evolved that much.

 

 But you can try run Subtitle edit with a single pass and apply some of the included "Common fixes" and you'll get something usable but keep in mind that it WILL have some errors that might ruin the experience of the movie.

 

 Honestly i think that having the alternative of transcoding or downloading the str subs there is no urge to having this tool, but if you want to do it anyway (like i do in most of the cases) the tools are out there and they are fairly easy to use you just need to do some tweaking afterwards.







Also tagged with one or more of these keywords: pgs, srt, conversion, subtitles

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users