LqHnyBear 23 Posted July 28, 2021 Posted July 28, 2021 (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 July 28, 2021 by LqHnyBear
rodainas 191 Posted July 28, 2021 Posted July 28, 2021 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 23 Posted July 28, 2021 Author Posted July 28, 2021 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 191 Posted July 28, 2021 Posted July 28, 2021 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 23 Posted July 28, 2021 Author Posted July 28, 2021 Thank you but yeah it’s not going to work. I appreciate your help though.
Carlo 4561 Posted July 28, 2021 Posted July 28, 2021 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 23 Posted July 28, 2021 Author Posted July 28, 2021 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.
Carlo 4561 Posted July 28, 2021 Posted July 28, 2021 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 1
rodainas 191 Posted July 28, 2021 Posted July 28, 2021 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
Luke 42083 Posted July 28, 2021 Posted July 28, 2021 There are existing feature requests to try and remember subtitle selections on a per series level that you could lend your support to.
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