Opened 12 years ago

Last modified 12 years ago

#634 new enhancement

DivX + Subtitles

Reported by: mkubicki@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: minor
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

This file (uploaded "DivX+Subtitles.divx") is an output from DivX Converter
(part of the DivX Codec from divx.com). There are subtitles invisible in mplayer.

Change History (6)

comment:1 Changed 12 years ago by compn

confirmed. divx subtitles. 'DXSB' DivX SuBtitles?, i bet :)

==> Found video stream: 2

STREAM Header =====

Type: vids FCC: divx (78766964)
Flags: 1
Priority: 0 Language: 0
InitialFrames?: 0
Rate: 0/0 = -1.#IO
Start: 0 Len: 0
Suggested BufferSize?: 0
Quality 0
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======

biSize 40
biWidth 640
biHeight 480
biPlanes 1
biBitCount 4
biCompression 1112758340='DXSB'
biSizeImage 153600

btw, the divx format has a lot of metadata, i wonder if mplayer could output it
for users.

5divx=http://xmlns.divxnetworks.com/2004/11/metadata#
0rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#
$dc=http://purl.org/dc/elements/1.1/
http://xmlns.divxnetworks.com/2004/11/metadata#fileIdentifier

x-default5A9B130874B17BDB3B1F337C-0000D419F6E0

http://xmlns.divxnetworks.com/2004/11/metadata#certificationLevel

x-defaultHT

http://xmlns.divxnetworks.com/2004/11/track#resolution

x-default720x416x

http://xmlns.divxnetworks.com/2004/11/track#framePeriod

x-default25000x1000x

http://xmlns.divxnetworks.com/2004/11/track#codecName

x-defaultDivX Pro Codec

http://xmlns.divxnetworks.com/2004/11/track#codecVersion

x-default6.2.5

http://xmlns.divxnetworks.com/2004/11/track#runtime

x-default474

http://xmlns.divxnetworks.com/2004/11/metadata#creatorToolName

x-defaultDivX Converter

comment:2 Changed 12 years ago by reimar

Sample moved to sample/sub. But unless someone finds a specification for the
subtitles I doubt it will be implemented. I think someone on the doom9 forums
knows the format, but did not respond to my question.
And I somewhat doubt the metadata is worth the effort of parsing it.

comment:3 Changed 12 years ago by compn

  • op_sys changed from Linux to All
  • Severity changed from normal to enhancement
  • Version changed from 1.0rc1 to HEAD

changed from bug > enhancement.

comment:4 Changed 12 years ago by reimar

some xsub code is here:
http://drdivx.svn.sourceforge.net/viewvc/drdivx/DrDivX/trunk/drffmpeg/libavcodec/xsub.c?view=markup
The format is quite simple, though the code could be much easier to understand
if it used more of the ffmpeg framework.

comment:6 Changed 12 years ago by compn

oops, ignore that! wrong format.

Note: See TracTickets for help on using tickets.