Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
4th December 2019, 13:06 | #1 | Link |
Registered User
Join Date: Nov 2019
Posts: 15
|
How to get the duration of a Blu-ray disk with millisecond accuracy?
I want to get the duration with millisecond accuracy and have tried BDInfo 0.7.5.5 (GUI). However, it reports the duration as hh:mm:ss without the precision of milliseconds. Any help would be deeply appreciated.
Last edited by yellowolf; 4th December 2019 at 13:16. |
4th December 2019, 13:25 | #2 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
Number of frames / framerate.
Isn't the time resolution = 1/framerate, means for a 60fps it is 16.667 ms, or for a typical blu-ray movie @23.976 fps the time resolution is 41.708ms? But never 'milliseconds accuracy'. Last edited by Sharc; 4th December 2019 at 13:30. |
4th December 2019, 17:50 | #3 | Link | |
Registered User
Join Date: Mar 2016
Posts: 143
|
Quote:
Hi yellowolf, welcome to the forum, you can try mediainfo by selecting advanced mode: https://www.videohelp.com/software/MediaInfo |
|
5th December 2019, 10:43 | #4 | Link | |
Registered User
Join Date: Nov 2019
Posts: 15
|
Quote:
|
|
5th December 2019, 17:35 | #5 | Link | |
Registered User
Join Date: Mar 2009
Location: Germany
Posts: 5,769
|
Quote:
Now, seriously, why do you need this precision? In particular with DF the duration may actually differ across various players. PS: not even the audio is required to be aligned with video at millisecond (IIRC it's 1/3 frame that is some 10 milliseconds).
__________________
Born in the USB (not USA) |
|
6th December 2019, 08:48 | #7 | Link |
Registered User
Join Date: Mar 2009
Location: Germany
Posts: 5,769
|
Why picking up 1h 32m 54s 610ms and not 1h 37m 53s 11f?
Let's say the movie has 140787 frames. If the speed is 23.976fps, the time in seconds is almost 5872 seconds (xxx1, 99699699 etc etc). But if it's 24/1.001, it will be already 6 millisenconds off. By true 24fs, it will play for ~5866 seconds: 6120 milliseconds less. To further push this phylosophically discussion into the absurd, let's notice that the last frame has no proper duration (all other frames are replaced by the next image at its PTS (Presentation Time Stamp), that is its duration is given by the difference between those two PTSs. It should be also a PTS after the last frame (link-pts), but AFAIK is not mandatory used, many players giving the last frame the same duration as the preceding one/s or using pkt-duration (imprecise). The clock is also required to be within 4 millisecond tolerance. Thus it all boils down to what the OP intends to do....
__________________
Born in the USB (not USA) |
6th December 2019, 12:12 | #8 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Indeed, it's a huge bug of MediaInfo!
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
6th December 2019, 16:50 | #11 | Link | |
Registered User
Join Date: Nov 2019
Posts: 15
|
Quote:
|
|
Tags |
blu-ray, duration |
|
|