[FFmpeg-devel] [PATCH] Add support for muxing timed text in mov/mp4/3gp
Sun Jan 11 11:26:56 CET 2009
On Jan 11, 2009, at 4:32 AM, Baptiste Coudurier wrote:
> David Conrad wrote:
>>> if (track->mode == MODE_IPOD) hdlr_type = "sbtl";
>>> else hdlr_type = "text";
>> With closed captioning muxing (CEA-608), hdlr_type has to be clcp,
>> we can worry about that later.
> Interesting are you working on this too ?
Eventually, I want normal subs working easily on my iPod first :D
>>>> @@ -897,8 +949,12 @@ static int mov_write_minf_tag(ByteIOContext
>>>> MOVTrack *track)
>>>> put_tag(pb, "minf");
>>>> if(track->enc->codec_type == CODEC_TYPE_VIDEO)
>>>> - else
>>>> + else if (track->enc->codec_type == CODEC_TYPE_AUDIO)
>>>> + else if (track->mode == MODE_MOV)
>>>> + mov_write_gmhd_tag(pb);
>>>> + else
>>>> + mov_write_nmhd_tag(pb);
>>> Missing codec_type == CODEC_TYPE_SUBTITLE
>> In a sense, gmhd/nmhd aren't really specific to subtitles; gmhd at
>> is used by QuickTime for a lot of different obscure track types.
>> fixed since none of them are supported.
> Yes that's true, like 'tmcd' tracks.
> Patch looks ok.
More information about the ffmpeg-devel