BleepingComputer.com: Subtitle for metroska video

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Subtitle for metroska video

#1 User is offline   novo 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 44
  • Joined: 10-January 08
  • Gender:Male
  • Location:West Bengal, India

  Posted 25 July 2010 - 09:16 AM

Hallo Everyone,
I’ve a metroska video file and a .srt subtitle file. Is there any way to marge them. Because when I put them in a same directory and ensure that both video and subtitle file share same name (just like we do for .avi file), the subtitle doesn’t appear in proper places. It comes 4-5 seconds after the dialogue being said.
Is there any way to synchronize them properly?


Thank you,
Novojit
:thumbsup:

#2 User is offline   petewills  

  • Retired
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 1,123
  • Joined: 15-October 07
  • Gender:Male

Posted 25 July 2010 - 10:27 AM

Check out the Matroska website:

http://www.matroska.org/

It seems that you may need to adjust the time elements in the SRT file.

From the tech info: Subtitles / SRT

"SRT is perhaps the most basic of all subtitle formats.

It consists of four parts, all in text..

1. A number indicating the which subtitle it is in the sequence.
2. The time that the subtitle should appear on the screen, and then disappear.
3. The subtitle itself.
4. A blank line indicating the start of a new subtitle.

When placing SRT in Matroska, part 3 is converted to UTF-8 and placed in the data portion of the Block.
Part 2 is used to set the timecode of the Block, and BlockDuration element. Nothing else is used.

Here is an example SRT file:

1
00:02:17,440 --> 00:02:20,375
Senator, we're making
our final approach into Coruscant.

2
00:02:20,476 --> 00:02:22,501
Very good, Lieutenant.

In this example, the text "Senator, we're making our final approach into Coruscant."
would be converted into UTF-8 and placed in the Block. The timecode of the block would be set to "00:02:17,440".
And the BlockDuration element would be set to "00:00:02,935".

The same is repeated for the next subtitle.

Because there are no general settings for SRT, the CodecPrivate is left blank. "

All answers from others welcome, as I have no experience of Matroska, only a general awareness of it. :thumbsup:

This post has been edited by petewills : 25 July 2010 - 10:29 AM


#3 User is offline   novo 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 44
  • Joined: 10-January 08
  • Gender:Male
  • Location:West Bengal, India

  Posted 26 July 2010 - 11:07 AM

Thanks Petewills,

Thanks for the information; I’ve got your idea. But does anybody suggest any software and the process to adjust timings of subtitles or recommend any other format of subtitle (except .srt) which firmly synchronized with metroska video format.

Novojit

:thumbsup:

This post has been edited by novo: 26 July 2010 - 11:08 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users