So I have a blu-ray disc with more episodes on it. Each episode is seperate .m2ts file, when I open .m2ts directly episode start with one second of black screen and ends with around 10 seconds of black screen. When opened through menu length of episode is shorter then when you open .m2ts file directly. My question is how can I get exact start and end time (I am assuming it is in .mpls file) from which player knows when to start and end playing .m2ts file.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
Last edited by nikola54321; 4th May 2024 at 13:51.
-
Have you decrypted the disc? If it is encrypted, it will definitely not be playable.
Not every Blu-ray M2TS file can be played, some are igs menu files. -
I manage to solve it. I will write how, it may help someone.
In .clpi is information of start and end time of .m2ts file and in .mpls is information of start and end time for player. So you just need to compare those times.
.clpi will have same name as .m2ts file but .mpls might have different name, you need to open it with some player (I used MPC-BE) and find corresponding .mpls.
Then use MPLS2JSON to convert .clpi and .mpls into something readable. Open with notepad and in converted clpi look for "presentation_start_time" and "presentation_end_time", in converted mpls look for "IN_time" and "OUT_time". These values are in decimal. In attachments is a python script that I write that converts those values into time and calculate length and difference of start and end.
Similar Threads
-
"Start Time" errors in Subtitle Edit, and "End Time" correct
By Frank_VH in forum SubtitleReplies: 11Last Post: 25th Mar 2024, 09:42 -
Seek Entries at End of MKV File Instead of at Start, Impossible to Navigate
By koberulz in forum Newbie / General discussionsReplies: 13Last Post: 30th Nov 2023, 19:02 -
How to remove unwanted m2ts from mpls?
By misiuro in forum Authoring (Blu-ray)Replies: 1Last Post: 21st Apr 2022, 08:18 -
Potplayer - How to get rid of audio buffer at start/end of recording
By Dorraj in forum Software PlayingReplies: 0Last Post: 28th Apr 2020, 23:26 -
Automatically fixing lines with identical start and end times?
By bizzybody in forum SubtitleReplies: 4Last Post: 30th Sep 2019, 12:58