Ticket #65 (new defect)

Opened 2 years ago

Last modified 1 year ago

MicroDVD / . sub subtitle support

Reported by: j Assigned to: astrange
Priority: normal Milestone: Requested Codecs
Component: Subtitles Version:
Severity: normal Keywords:
Cc:

Description

would be nice to have MicroDVD subtitle support. '.sub' is used as extension. The strcuture consists of start and end video frames in curly braces {} for every piece of dialogue, with line breaks defined by pipes: |. A new line marks a new piece of dialogue.

Example:

{6561}{6617}I like to be pretty everyday.
{6631}{6669}I like to be in good shape.
{6695}{6745}That's why I love Avalon.
{6753}{6832}With Avalon,|I know I'm beautiful.
{6842}{6900}And I know I'll remain that way.
{6919}{6984}Avalon,|for a better world.

Change History

02/09/07 15:02:18 changed by tick

  • milestone set to Sometime after 1.0.

02/14/07 14:16:01 changed by astrange

  • owner set to astrange.

I'm not sure it's even possible to have frame-level subtitles here. We might not preserve frame numbers from AVI.

02/15/07 00:26:37 changed by dconrad

I can only think of two cases where we wouldn't preserve frame numbers in AVI, both of which are due to zero-byte frames. The first is H.264 w/ b-frames in AVI, which usually has one or two null frames before any real ones; I don't think that a difference of a couple frames would matter much in this rare situation. Second is with VFR/120fps AVIs, where null frames extend the previous frame's duration. How MicroDVD is handled in this case is unclear; I would think that it would either be actual frames or a constant 30 fps, but it seems that most implementations assume a constant frame rate that's set to the AVI frame rate, which would be 120fps. So we could pass the AVI's frame rate to the MicroDVD loader to use in this case, though I wonder whether this situation has ever occurred.

06/13/07 09:44:03 changed by tick

  • milestone changed from Sometime after 1.0 to Requested Codecs.