The 4K and 1080p copy of a movie usually have different audio and subtitle tracks; the 1080p might have the german PGS and the 4K not. This is an issue for plex and it’s management of multi-version movies.
So, to get over the various issues, i have used MKVTOOLNIX to remove all audio and PGS tracks from the 1080p copy and mux in all the audio and PGS tracks from the 4K copy.
I have tested this and it works. I was concerned that the resolution of the 4K PGS might pose an issue with being muxed into the 1080p MKV version.
So, before I merrily move ahead, is there anything that will cause issue with muxing all the audio and PGS subtitle tracks into the 1080P version of the movie?
Timing.
If both films, video wise, are not frame-for-frame identical, you will have audio/video sync problems.
Frame-for-frame identical means
- Begin with the same image
- The first full scene change is at the same frame offset from the beginning in both (e.g. frame 262)
- Have the same frame count / run time (H:M:S.F)
@ChuckPA said:
Timing.
If both films, video wise, are not frame-for-frame identical, you will have audio/video sync problems.
Frame-for-frame identical means
- Begin with the same image
- The first full scene change is at the same frame offset from the beginning in both (e.g. frame 262)
- Have the same frame count / run time (H:M:S.F)
Both discs where packaged together; 4k movies in the UK come with the bluray version too. I have done rudimentary testing via android tv and everything seems in sync. Any method to compare you recommend?
@ChuckPA just did a frame count with mediainfo: 1080: 174348 and 4K: 174373.
Slightly off, but the subtitles and audio do seem synced.
I would keep a copy of the original and perform the merge.
The worst that can happen at that point is you do it again and adjust the offset at the beginning
@ChuckPA said:
I would keep a copy of the original and perform the merge.
The worst that can happen at that point is you do it again and adjust the offset at the beginning
Was going to do an ffprobe, but it was taking too long.
ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1 input.mkv
mkvtoolnix (mkvmerge) is the tool to use. painless and with a GUI
@ChuckPA said:
mkvtoolnix (mkvmerge) is the tool to use. painless and with a GUI
yes, that is what i used to remove audio and subtitles tracks from the 1080p version and mux in the 4k audio and PGS tracks into the 1080p version. Simple. The ffprobe was just another tool to count frames more precisely than media info.
Yes . ffprobe will give you all the info you need.
@ChuckPA said:
Yes . ffprobe will give you all the info you need.
Just rather a shame that plex merge requires both movie versions to have the exact audio and subtitle tracks; or selecting these tracks becomes impossible if they differ between versions.
“Plex merge” ? I don’t think I’m understanding the reference.
To try and ‘piece meal’ one track from one file and another track from another file to ‘merge together magically’ at playback is not a reasonable request. Think about it. “Hmm, Let’s play the video from Willy Wonka with the audio from The Godfather” ? Does that sound reasonable?
Is this what you mean?
@ChuckPA said:
“Plex merge” ? I don’t think I’m understanding the reference.
To try and ‘piece meal’ one track from one file and another track from another file to ‘merge together magically’ at playback is not a reasonable request. Think about it. “Hmm, Let’s play the video from Willy Wonka with the audio from The Godfather” ? Does that sound reasonable?
Is this what you mean?
No, no. Plex merge multiple versions feature. The two files you merge must have identical audio and subtitles tracks.
Oh, that’s a Metadata Merge only. NOT a content merge.
What it does is take two ‘matched’ entries, one of which is incorrect or otherwise different, and merge then under the same icon.
They don’t need the exact same content. The purpose is to allow two distinct files to be listed as one entry.
This way, when you’re at the pre-play screen, you pick the version you want
@ChuckPA said:
Oh, that’s a Metadata Merge only. NOT a content merge.
What it does is take two ‘matched’ entries, one of which is incorrect or otherwise different, and merge then under the same icon.
They don’t need the exact same content. The purpose is to allow two distinct files to be listed as one entry.
This way, when you’re at the pre-play screen, you pick the version you want
I know. But on android tv, you need to have the tracks matching:
4k movie with:
eng.audio.1
jap.audio.1
PGS.ENG
PGS.JAP
1080P copy of movie with:
eng.audio.1
ger.audio.1
jap.audio.1
PGS.ENG
PGS.GER
PGS.JAP
In android TV the option to select GER will not be there when you watch the 1080p version, you can only select the option for audio and subtitles that are present in the 4K version. That’s why i went to all the trouble to make sure the audio and subtitles matched between version, so I can select the correct tracks.
That i don’t know. I’m a Linux guy who is primarily in server packaging (the guy who ports PMS to the new systems)
If you have questions about Android TV, the best thing to do is ask in the Android TV forum