Jump to content

Closed captions per movie/series


Recommended Posts

LqHnyBear
Posted (edited)

I have CC turned to only forced as I very rarely need it. Is there a way to tell emby on certain tv shows or movies to always use a specific CC that’s embedded in the video file? I have a series that has embedded subs but they aren’t forced and turning them on for each new episode can be problematic. Or let’s just say I keep forgetting. Lol

Edited by LqHnyBear
rodainas
Posted
14 minutes ago, LqHnyBear said:

I have CC turned to only forced as I very rarely need it. Is there a way to tell emby on certain tv shows or movies to always use a specific CC that’s embedded in the video file? I have a series that has embedded subs but they aren’t forced and turning them on for each new episode can be problematic. Or let’s just say I keep forgetting. Lol

Emby reads metadata fromthe video file, you can add the forced tag to your shows as a batch job with mkvtoolnix for example, then the subs will be auto selected using the forced only option within emby settings.

LqHnyBear
Posted

Is there another way to do it. As new episodes download your way would require me to have mkvtoolnix do some sort of batch on every file I download. 

rodainas
Posted

If you are adding episodes for a tv show on a one by one basis, well there is no batch field to work on, just episode by episode.

Only if you already have a bunch of episodes acumulated you can then batch that with command line.

The problem is that emby needs the tag to be feeded for the option to work, it cant differentiate between forced or complete by itself.

LqHnyBear
Posted

Thank you but yeah it’s not going to work. I appreciate your help though. 

Posted

If you don't mind me asking, why won't a script of some type work for you that you run before adding media to Emby?

Could also be used to back process existing media as well.

LqHnyBear
Posted
18 minutes ago, cayars said:

If you don't mind me asking, why won't a script of some type work for you that you run before adding media to Emby?

Could also be used to back process existing media as well.

Too complicated and I’ve never gotten anything like that to work in the past.

Posted

This is complicated to setup as you have to put a bit of time in to the setup but it's well worth the learning curve as it's a "Swiss Army Knife" of processing you can do to your media.

What it can do is give you consistent media.  By this I mean it can do things like remove audio tracks not in the language you want to save.  It can remove subs that you don't need. It can pull internal subrips and make SRT from them.  It can create 2 channel default audio tracks (playback on any device).  You can setup video codecs to keep or a video codec to convert to.

That is just scratching the surface of what it can do. Like I said it does have a bit of a learning curve but once you've got it setup you will wonder how you ever got by without it.  It also has hooks to lots of programs use for getting media as well.

https://github.com/mdhiggins/sickbeard_mp4_automator

  • Like 1
rodainas
Posted

Example command using mkvtoolnix to add forced tag/flag

mkvpropedit video.mkv —edit track:s1 --set flag-forced=1

If you want to batch on Windows you can use 

For /R C:\path\to\files in %G do mkvpropedit %G —edit track:s1 --set flag-forced=1

Or bash on linux

Option a
Find /path/to/files -name “*.mkv” -exec mkvpropedit {} —edit track:s1 --set flag-forced=1 \;

Option b
Find /path/to/files -name “*.mkv” | while read f; do mkvpropedit “$f” —edit track:s1 --set flag-forced=1; done

You just need to be sure which of the subtitles tracks (if there are more than one) is the forced one.

To check info of tracks, three options:

option 1

mkvinfo video.mkv

option 2
mkvmerge -i -J video.mkv

option 3

ffmpeg -i video.mkv

LqHnyBear
Posted

Thank you 

Posted

There are existing feature requests to try and remember subtitle selections on a per series level that you could lend your support to.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...