List Info

Thread: subtitle fourccs




subtitle fourccs
country flaguser name
Austria
2008-03-02 17:20:14
Hi

We need a list of fourcc <-> subtitle codecs for nut.
Any tips where i can find one? (yes i tried google)

-- 
Michael     GnuPG fingerprint:
9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a
door even
though the window is wide open and the only thing in the
house is a bunch
of things you dont want and which you would get tomorrow for
free anyway

_______________________________________________
NUT-devel mailing list
NUT-develmplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/nut-devel
Re: subtitle fourccs
user name
2008-03-02 17:33:47
Michael Niedermayer <michaelnigmx.at> writes:

> Hi
>
> We need a list of fourcc <-> subtitle codecs for
nut.
> Any tips where i can find one? (yes i tried google)

If you want to reuse values from another container, maybe
MOV has
something.  AVI doesn't support subtitles, so that can't be
used as a
reference here (and I still think using AVI as a model for
anything is
utterly stupid).

-- 
Måns Rullgård
mansmansr.com
_______________________________________________
NUT-devel mailing list
NUT-develmplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/nut-devel

Re: subtitle fourccs
country flaguser name
Austria
2008-03-02 20:30:49
On Sun, Mar 02, 2008 at 11:33:47PM +0000, Måns Rullgård
wrote:
> Michael Niedermayer <michaelnigmx.at> writes:
> 
> > Hi
> >
> > We need a list of fourcc <-> subtitle codecs
for nut.
> > Any tips where i can find one? (yes i tried
google)
> 
> If you want to reuse values from another container,
maybe MOV has
> something.  

our mov demuxer only has:
const AVCodecTag ff_codec_movsubtitle_tags[] = {
    { CODEC_ID_MOV_TEXT, MKTAG('t', 'e', 'x', 't') },
    { CODEC_ID_MOV_TEXT, MKTAG('t', 'x', '3', 'g') },
    { CODEC_ID_NONE, 0 },
};
(the rest has to be detected by other messy ways ...)

and the spec says:
"The data format field in the sample description is
always set to 'text'."

so i dont see how this could be used ...


> AVI doesn't support subtitles, so that can't be used as
a
> reference here (and I still think using AVI as a model
for anything is
> utterly stupid).

Ironically avi is pretty much the only container with simple
and working
codec identification. In .mp4 we couldnt even agree which
value identifies
the codec 
mpeg-ps/ts has a dozen identifiers and tables but all of
them together
are insufficient to distingish h.264 from mpeg2 in
practice.
ogg leaves codec identification to the codec (aka it has no
codec
identification)
Whats left is mov (which is kinda similar to avi) and dozens
of formats
which only support a single codec thus dont need a
identification system.
And of course matroska which has a dozen different id
systems.

[...]

-- 
Michael     GnuPG fingerprint:
9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished
by being
governed by those who are dumber. -- Plato 

_______________________________________________
NUT-devel mailing list
NUT-develmplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/nut-devel
Re: subtitle fourccs
user name
2008-03-03 00:59:14
Michael Niedermayer <michaelnigmx.at> writes:

> On Sun, Mar 02, 2008 at 11:33:47PM +0000, Måns Rullgård
wrote:
>> Michael Niedermayer <michaelnigmx.at> writes:
>> 
>> > Hi
>> >
>> > We need a list of fourcc <-> subtitle
codecs for nut.
>> > Any tips where i can find one? (yes i tried
google)
>> 
>> If you want to reuse values from another container,
maybe MOV has
>> something.  
>
> our mov demuxer only has:
> const AVCodecTag ff_codec_movsubtitle_tags[] = {
>     { CODEC_ID_MOV_TEXT, MKTAG('t', 'e', 'x', 't') },
>     { CODEC_ID_MOV_TEXT, MKTAG('t', 'x', '3', 'g') },
>     { CODEC_ID_NONE, 0 },
> };
> (the rest has to be detected by other messy ways ...)
>
> and the spec says:
> "The data format field in the sample description
is always set to 'text'."
>
> so i dont see how this could be used ...

I didn't look at the spec.  I just couldn't thing of any
other format
using 32-bit codec tags and supporting subtitles at all.

>> AVI doesn't support subtitles, so that can't be
used as a
>> reference here (and I still think using AVI as a
model for anything is
>> utterly stupid).
>
> Ironically avi is pretty much the only container with
simple and working
> codec identification.

ROTFL

> In .mp4 we couldnt even agree which value identifies
the codec 

Do you mean MP4 or MOV?  MP4 is much cleaner than MOV,
although I
admit I've never read the specs carefully.

> mpeg-ps/ts has a dozen identifiers and tables but all
of them together

Er, no.  TS has one table, PS has a slightly different table
using the
same values.  PS also defaults to MPEG2 if the PSM is
missing.  No
problems there.

> are insufficient to distingish h.264 from mpeg2 in
practice.

Only with bastardised versions violating the specs.  The
files you're
thinking of are no different in principle from an AVI with
the wrong
codec tag in the header.

> ogg leaves codec identification to the codec (aka it
has no codec
> identification)
> Whats left is mov (which is kinda similar to avi) and
dozens of formats
> which only support a single codec thus dont need a
identification system.
> And of course matroska which has a dozen different id
systems.

AVI and MOV are fundamentally flawed because they muddle
the
distinction between codec specification and implementation. 
I agree
the other formats you mention are messy.

-- 
Måns Rullgård
mansmansr.com
_______________________________________________
NUT-devel mailing list
NUT-develmplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/nut-devel

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )