Jump to content


Photo

Hardware Requirements for Handling Subtitles on the Fly at 1080p


  • Please log in to reply
13 replies to this topic

#1 the_master288 OFFLINE  

the_master288

    Newbie

  • Members
  • 7 posts
  • Local time: 12:33 AM

Posted 24 January 2020 - 03:19 PM

Hi Everyone,

 

I am looking to rebuild my server to be able to subtitles on the fly at 1080p.  I would like the machine to be able to handle multiple streams and the potential need to transcode as well.  Currently, my server handles streaming non-subtitled videos decently, however, I am looking to expand the capabilities to one that can handle subtitles better.  The server has a lot of hiccups when trying to deal with subtitles (either subtitles not displaying or lag).

 

Do you guys have any advice on what sort of CPU/Hardware I should pickup to assist with this?  Is something like a AMD 2700x a good purchase, or should I go with Intel on this?

 

Thank you so much for your advice!



#2 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 2958 posts
  • Local time: 01:33 AM
  • LocationLong Island, NY

Posted 24 January 2020 - 03:48 PM

why not just extract the subtitles ahead of time so they don't have to be burned in and peg your cpu?



#3 the_master288 OFFLINE  

the_master288

    Newbie

  • Members
  • 7 posts
  • Local time: 12:33 AM

Posted 24 January 2020 - 03:59 PM

why not just extract the subtitles ahead of time so they don't have to be burned in and peg your cpu?

Apologies, I'm pretty new to streaming media.  Is there an easy/automated way to do this?  Can Emby Premiere assist with this?



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149390 posts
  • Local time: 01:33 AM

Posted 25 January 2020 - 12:58 AM

HI there, what format subtitles are you referring to?



#5 the_master288 OFFLINE  

the_master288

    Newbie

  • Members
  • 7 posts
  • Local time: 12:33 AM

Posted 25 January 2020 - 02:03 AM

HI there, what format subtitles are you referring to?

Hi Luke,

 

They are .ass subtitles.

 

Thanks!



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149390 posts
  • Local time: 01:33 AM

Posted 25 January 2020 - 02:19 PM

Are they external?

#7 the_master288 OFFLINE  

the_master288

    Newbie

  • Members
  • 7 posts
  • Local time: 12:33 AM

Posted 25 January 2020 - 02:53 PM

Are they external?

These aren't external.  They are built into .mkv video files, however, they aren't burned in as you can select which ones you want to use.  Would external be better in this case?  If so, what would be the easiest way to extract these and make them external?



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149390 posts
  • Local time: 01:33 AM

Posted 25 January 2020 - 03:15 PM

Many apps, though not all, can display .ass subtitles without transcoding. If they're embedded they can be extracted on the fly provided that the storage I/o can do that quickly enough. But yes external will always be more efficient.

#9 the_master288 OFFLINE  

the_master288

    Newbie

  • Members
  • 7 posts
  • Local time: 12:33 AM

Posted 25 January 2020 - 03:24 PM

Many apps, though not all, can display .ass subtitles without transcoding. If they're embedded they can be extracted on the fly provided that the storage I/o can do that quickly enough. But yes external will always be more efficient.

Interesting.  Thanks for the information.

 

With this, is there a particular way to extract these efficiently?  Once I do extract them, is the best course of action to have the video file with NO SUBTITLES EMBEDDED and then select an external subtitle using the Emby Subtitle Selector Dropdown?



#10 pir8radio OFFLINE  

pir8radio

    NGINX

  • Members
  • 3245 posts
  • Local time: 12:33 AM
  • LocationChicago

Posted 25 January 2020 - 09:43 PM

Hi Everyone,

 

I am looking to rebuild my server to be able to subtitles on the fly at 1080p.  I would like the machine to be able to handle multiple streams and the potential need to transcode as well.  Currently, my server handles streaming non-subtitled videos decently, however, I am looking to expand the capabilities to one that can handle subtitles better.  The server has a lot of hiccups when trying to deal with subtitles (either subtitles not displaying or lag).

 

Do you guys have any advice on what sort of CPU/Hardware I should pickup to assist with this?  Is something like a AMD 2700x a good purchase, or should I go with Intel on this?

 

Thank you so much for your advice!

 

 

Just give number one or number two on this list a call, they'll hook you up..    https://www.top500.org/list/2019/11/

 

Sorry...  not helpful I know....   :huh:


Edited by pir8radio, 25 January 2020 - 09:44 PM.


#11 the_master288 OFFLINE  

the_master288

    Newbie

  • Members
  • 7 posts
  • Local time: 12:33 AM

Posted 25 January 2020 - 11:15 PM

Just give number one or number two on this list a call, they'll hook you up..    https://www.top500.org/list/2019/11/

 

Sorry...  not helpful I know....   :huh:

Haha, definitely didn't expect that  :lol:

 

Either way, all good.  I'm just looking for some insights on the best way to extract these subtitles efficiently and if what I listed above is the right thought process or not.



#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149390 posts
  • Local time: 01:33 AM

Posted 25 January 2020 - 11:33 PM

To be honest i haven't heard of a tool for .ass subtitle extraction, although I'm sure there is one. @Smaky might have some tips.



#13 PenkethBoy OFFLINE  

PenkethBoy

    Advanced Member

  • Members
  • 3759 posts
  • Local time: 06:33 AM
  • LocationWarrington,UK

Posted 26 January 2020 - 04:45 AM

This can be done with MKVToolNIX via the command line with MKVExtract (one of the programs installed as part of the MKVToolNix install) - but its fiddly and its easier....

 

... to extract subtitles or any other track from within a video file by using "gMKVExtractGUI" - it uses MKVToolNix (so that also needs to be installed) to extract the subs or tracks you want

 

One limitation is that it "only" reads mkv files - but you can do a lossless conversion in MKVToolNix or ffmpeg to mkv

 

e.g.

5e2d4ed60dea9_Annotation20200126083047.j

check the track you want to extract - an ASS track in this case

 

and will be saved as a .ass file

5e2d4f10cf077_Annotation20200126083042.j

you just need to rename to match naming convention for sub files etc for Emby

 

the GUI can take numerous files at once so you can extract multiple subs from multiple files in one go or (add Job) queue them up to the job queue etc etc


  • FrostByte and maegibbons like this

#14 the_master288 OFFLINE  

the_master288

    Newbie

  • Members
  • 7 posts
  • Local time: 12:33 AM

Posted 26 January 2020 - 03:38 PM

To be honest i haven't heard of a tool for .ass subtitle extraction, although I'm sure there is one. @Smaky might have some tips.

I appreciate all of the help over the past few days @Luke!

 

This can be done with MKVToolNIX via the command line with MKVExtract (one of the programs installed as part of the MKVToolNix install) - but its fiddly and its easier....

 

... to extract subtitles or any other track from within a video file by using "gMKVExtractGUI" - it uses MKVToolNix (so that also needs to be installed) to extract the subs or tracks you want

 

One limitation is that it "only" reads mkv files - but you can do a lossless conversion in MKVToolNix or ffmpeg to mkv

 

e.g.

5e2d4ed60dea9_Annotation20200126083047.j

check the track you want to extract - an ASS track in this case

 

and will be saved as a .ass file

5e2d4f10cf077_Annotation20200126083042.j

you just need to rename to match naming convention for sub files etc for Emby

 

the GUI can take numerous files at once so you can extract multiple subs from multiple files in one go or (add Job) queue them up to the job queue etc etc

Fantastic, I will look into this.  Thank you so much @PenkethBoy!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users