Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-09-04 Thread Reimar Döffinger
On Thu, Sep 04, 2014 at 10:19:05AM +0200, Hendrik Leppkes wrote: > On Fri, Aug 29, 2014 at 12:31 PM, Petri Hintukainen > wrote: > > +static int sup_write_packet(AVFormatContext *s, AVPacket *pkt) > > +{ > > +/* header */ > > +avio_wb16(s->pb, SUP_PGS_MAGIC); > > +avio_wb32(s->pb, (uin

Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-09-04 Thread wm4
On Thu, 04 Sep 2014 15:24:52 +0300 Petri Hintukainen wrote: > On to, 2014-09-04 at 10:19 +0200, Hendrik Leppkes wrote: > > On Fri, Aug 29, 2014 at 12:31 PM, Petri Hintukainen > > wrote: > > > From: Petri Hintukainen > > > > > > Fixes ticket #2208 > > > --- > > > libavformat/Makefile | 1

Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-09-04 Thread Petri Hintukainen
On to, 2014-09-04 at 10:19 +0200, Hendrik Leppkes wrote: > On Fri, Aug 29, 2014 at 12:31 PM, Petri Hintukainen > wrote: > > From: Petri Hintukainen > > > > Fixes ticket #2208 > > --- > > libavformat/Makefile | 1 + > > libavformat/allformats.c | 1 + > > libavformat/supenc.c | 61 > >

Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-09-04 Thread Hendrik Leppkes
On Fri, Aug 29, 2014 at 12:31 PM, Petri Hintukainen wrote: > From: Petri Hintukainen > > Fixes ticket #2208 > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/supenc.c | 61 > > 3 files changed, 63 inser

Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-08-29 Thread wm4
On Sat, 30 Aug 2014 00:44:21 +0300 Petri Hintukainen wrote: > On pe, 2014-08-29 at 15:02 +, Carl Eugen Hoyos wrote: > > Petri Hintukainen gmail.com> writes: > > > > > From: Petri Hintukainen users.sourceforge.net> > > > > > > Fixes ticket #2208 > > > > Do I understand correctly that the

Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-08-29 Thread Petri Hintukainen
On pe, 2014-08-29 at 15:02 +, Carl Eugen Hoyos wrote: > Petri Hintukainen gmail.com> writes: > > > From: Petri Hintukainen users.sourceforge.net> > > > > Fixes ticket #2208 > > Do I understand correctly that the produced files are > compatible with eac3to? Compatible, but not identical.

Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-08-29 Thread Petri Hintukainen
On pe, 2014-08-29 at 14:06 +0200, Hendrik Leppkes wrote: > On Fri, Aug 29, 2014 at 12:31 PM, Petri Hintukainen > wrote: > > From: Petri Hintukainen > > > > Fixes ticket #2208 > > Is the format officially documented somewhere, so interoperability > with other tools is ensured? I didn't find any

Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-08-29 Thread Petri Hintukainen
On pe, 2014-08-29 at 12:51 +0200, wm4 wrote: > > Do you plan on writing a demuxer too? If not, then I'd give it a try. Probably not (at least in next week or two). It should be simple to parse :). After the header there's always segment type byte and length (16-bits BE). Without index seeking is

Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-08-29 Thread Carl Eugen Hoyos
Petri Hintukainen gmail.com> writes: > From: Petri Hintukainen users.sourceforge.net> > > Fixes ticket #2208 Do I understand correctly that the produced files are compatible with eac3to? Are there other programs that accept these files? Thank you, Carl Eugen ___

Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-08-29 Thread Hendrik Leppkes
On Fri, Aug 29, 2014 at 12:31 PM, Petri Hintukainen wrote: > From: Petri Hintukainen > > Fixes ticket #2208 Is the format officially documented somewhere, so interoperability with other tools is ensured? - Hendrik ___ ffmpeg-devel mailing list ffmpeg-

Re: [FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-08-29 Thread wm4
On Fri, 29 Aug 2014 13:31:22 +0300 Petri Hintukainen wrote: > From: Petri Hintukainen > > Fixes ticket #2208 > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/supenc.c | 61 > > 3 files changed, 63 in

[FFmpeg-devel] [PATCH] Add SUP (raw BluRay PGS subtitle) muxer

2014-08-29 Thread Petri Hintukainen
From: Petri Hintukainen Fixes ticket #2208 --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/supenc.c | 61 3 files changed, 63 insertions(+) create mode 100644 libavformat/supenc.c diff --git a/libavformat/Ma