[FFmpeg-devel] [PATCH 1/1] libavformat/nut: Support SSA and ASS subtitles

Michael Niedermayer michael at niedermayer.cc
Sat Aug 22 13:56:11 EEST 2020


On Fri, Aug 21, 2020 at 09:16:52PM -0700, hax at riseup.net wrote:
> ffmpeg documentation says the NUT container supports SubStation Alpha
> This brings actual functionality in line with documentation.
> ---
>  libavformat/nut.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libavformat/nut.c b/libavformat/nut.c
> index d6993239a3..47ed152529 100644
> --- a/libavformat/nut.c
> +++ b/libavformat/nut.c
> @@ -27,6 +27,8 @@
> 
>  const AVCodecTag ff_nut_subtitle_tags[] = {
>      { AV_CODEC_ID_TEXT,             MKTAG('U', 'T', 'F', '8') },
> +    { AV_CODEC_ID_ASS,              MKTAG('S', 'S', 'A',  0 ) },
> +    { AV_CODEC_ID_ASS,              MKTAG('A', 'S', 'S',  0 ) },
>      { AV_CODEC_ID_DVD_SUBTITLE,     MKTAG('D', 'V', 'D', 'S') },

hmm, looks correct so ill apply with my next git push 

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200822/eddda9e8/attachment.sig>


More information about the ffmpeg-devel mailing list