7

While I can find the frame rate of movie via -

$ mediainfo $somemovie.$format  | grep Frame rate 

Is there anything which tells the frame-rate of a sub file, (.srt) ?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
shirish
  • 11,967
  • 27
  • 107
  • 190

1 Answers1

9

srt-files are based on running-time, so the frame-rate doesn't matter. If a text is supposed to be shown at 0h10m10s to 0h10m15s, then it will be shown then - it doesn't matter if there are 10, 25, 50 or 100 frames video for each second.

However, sometimes the video-files may be slightly edited, so a subtitle-file made to another "version" of the video (eg. a movie), may not line-up perfectly or may drift. But this is not due to frame-rate.

From a srt-file - note the times, eg. from 0h03m22,520s to 0h03m23,873s:

(...)
18
00:03:22,520 --> 00:03:23,873
Manu...

19
00:03:24,040 --> 00:03:26,918
Manu, come please.
Where is Radouan?

20
00:03:27,680 --> 00:03:29,989
Where is Radouan?
-Come here.
(...)
Baard Kopperud
  • 7,023
  • 6
  • 42
  • 62
  • 1
    Hey, which movie is this? :) – heemayl Jan 16 '17 at 03:06
  • Yes! And that can be an annoying problem to correct that mismatch. Video players like VLC do offer some options to fix the issue but it is still hard. – curious_cat Jan 16 '17 at 03:40
  • 1
    @curious_cat: I used to have a script that fixes linear distortions by identifying two translations and the actual time that they should appear. Linear time distortion is much more common than mismatch due to edits. They're generally caused by digitising different source media. VHS for example tend to have slightly shorter running time compared to cinema reel even if you don't delete any scenes. – slebetman Jan 16 '17 at 04:14
  • @heemayl seems to be http://www.script-o-rama.com/movie_scripts/b/baise-moi-script-transcript-despentes.html – muru Jan 16 '17 at 06:15
  • @muru hehe, nicely done :) – heemayl Jan 16 '17 at 06:22
  • This can be due to frame rate if the rip/encode/decode process was botched and the output is getting displayed at a subtly different frame rate than the input was supposed to generate. A trained eye _can_ see this, but it can also go unnoticed especially in lower quality recordings and account for subtitle "drift" if the subtitles were matched to the correct playback rate. – Caleb Jan 16 '17 at 08:47
  • 1
    @heemayl Yep, it's "Baise Moi" (F*** Me) - what can I say, it was the first title `find` spat out... – Baard Kopperud Jan 16 '17 at 14:14