When reading frames, we need to use the fragment for the correct
stream. Sometimes the "current" fragment is not the same as the one
the frame is for.
Found by Chromium's ClusterFuzz:
https://crbug.com/906392 and https://crbug.com/915524
Signed-off-by: Jacob Trimble
---
libavformat
On Mon, Oct 1, 2018 at 11:30 AM Jacob Trimble wrote:
>
> On Mon, Sep 17, 2018 at 2:35 PM Jacob Trimble wrote:
> >
> > On Wed, Sep 12, 2018 at 11:50 AM Michael Niedermayer
> > wrote:
> > >
> > > On Tue, Sep 11, 2018 at 03:50:57PM -0700, Jacob Trimble w
On Mon, Sep 17, 2018 at 2:35 PM Jacob Trimble wrote:
>
> On Wed, Sep 12, 2018 at 11:50 AM Michael Niedermayer
> wrote:
> >
> > On Tue, Sep 11, 2018 at 03:50:57PM -0700, Jacob Trimble wrote:
> > > [...]
> > >
> > > So how about, when we see an e
On Wed, Sep 12, 2018 at 11:50 AM Michael Niedermayer
wrote:
>
> On Tue, Sep 11, 2018 at 03:50:57PM -0700, Jacob Trimble wrote:
> > [...]
> >
> > So how about, when we see an encrypted frame, we flush the parser
> > before skipping the frame? Can we just flush
On Tue, Sep 11, 2018 at 1:48 PM Michael Niedermayer
wrote:
>
> On Thu, Aug 30, 2018 at 08:43:25AM -0700, Jacob Trimble wrote:
> > On Wed, Aug 29, 2018 at 4:37 PM Michael Niedermayer
> > wrote:
> > >
> > > On Wed, Aug 29, 2018 at 03:30:39PM -0700, Jacob Trimble
On Thu, Aug 30, 2018 at 8:43 AM Jacob Trimble wrote:
>
> On Wed, Aug 29, 2018 at 4:37 PM Michael Niedermayer
> wrote:
> >
> > On Wed, Aug 29, 2018 at 03:30:39PM -0700, Jacob Trimble wrote:
> > > On Wed, Aug 29, 2018 at 3:20 PM James Almer wrote:
> > >
On Tue, Aug 28, 2018 at 12:56 PM Jacob Trimble wrote:
>
> On Mon, Aug 20, 2018 at 11:39 AM Jacob Trimble wrote:
> >
> > On Thu, Aug 9, 2018 at 9:14 AM Jacob Trimble wrote:
> > >
> > > On Wed, Aug 1, 2018 at 1:46 PM Jacob Trimble wrote:
> > > &g
On Wed, Aug 29, 2018 at 4:37 PM Michael Niedermayer
wrote:
>
> On Wed, Aug 29, 2018 at 03:30:39PM -0700, Jacob Trimble wrote:
> > On Wed, Aug 29, 2018 at 3:20 PM James Almer wrote:
> > >
> > > On 8/29/2018 7:07 PM, Michael Niedermayer wrote:
> > > >
On Wed, Aug 29, 2018 at 3:20 PM James Almer wrote:
>
> On 8/29/2018 7:07 PM, Michael Niedermayer wrote:
> > On Tue, Aug 28, 2018 at 10:58:43AM -0700, Jacob Trimble wrote:
> >> If a packet is full-sample encrypted, then packet data can't be parsed
> >> without
On Mon, Aug 20, 2018 at 11:39 AM Jacob Trimble wrote:
>
> On Thu, Aug 9, 2018 at 9:14 AM Jacob Trimble wrote:
> >
> > On Wed, Aug 1, 2018 at 1:46 PM Jacob Trimble wrote:
> > >
> > > On Mon, Jul 23, 2018 at 2:01 PM Jacob Trimble wrote:
> > > &g
-by: Jacob Trimble
---
libavformat/utils.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index b0b5e164a6..1107787eae 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -27,6 +27,7 @@
#include "liba
00:00:00 2001
From: Jacob Trimble
Date: Mon, 20 Aug 2018 11:25:27 -0700
Subject: [PATCH] avcodec/opus_parser: Handle complete frames flag.
Signed-off-by: Jacob Trimble
---
libavcodec/opus_parser.c | 29 +
1 file changed, 17 insertions(+), 12 deletions(-)
diff --git
On Mon, Jul 9, 2018 at 9:57 AM Jacob Trimble wrote:
>
> On Tue, Jul 3, 2018 at 5:59 PM Michael Niedermayer
> wrote:
> >
> > On Tue, Jul 03, 2018 at 12:14:19PM -0700, Jacob Trimble wrote:
> > > On Mon, Jul 2, 2018 at 6:07 PM Michael Niedermayer
> > > wrot
On Thu, Aug 9, 2018 at 9:14 AM Jacob Trimble wrote:
>
> On Wed, Aug 1, 2018 at 1:46 PM Jacob Trimble wrote:
> >
> > On Mon, Jul 23, 2018 at 2:01 PM Jacob Trimble wrote:
> > >
> > > On Thu, Jul 12, 2018 at 5:05 PM Jacob Trimble wrote:
> >
On Mon, Aug 13, 2018 at 9:01 PM James Almer wrote:
>
> On 8/14/2018 12:50 AM, James Almer wrote:
> > On 7/12/2018 8:45 PM, Jacob Trimble wrote:
> >> I am currently seeing a problem with this when using Opus audio. In
> >> read_frame_internal, it will try
0aca517f64257eb28342a656867d90307a7 Mon Sep 17 00:00:00 2001
> > From: Jacob Trimble
> > Date: Tue, 14 Aug 2018 10:18:55 -0700
> > Subject: [PATCH] avformat/mov: Allow saio/saiz in clear content.
>
> This code is used in saio/saiz/senc. The message only mentions the first
On Tue, Aug 14, 2018 at 10:39 AM Jacob Trimble wrote:
>
> If there is a saio/saiz in clear content, we shouldn't create the
> encryption index if we don't already have one. Otherwise it will
> confuse the cenc_filter.
>
> Found by Chromium's ClusterFuzz: https://crbug.com/873
If there is a saio/saiz in clear content, we shouldn't create the
encryption index if we don't already have one. Otherwise it will
confuse the cenc_filter.
Found by Chromium's ClusterFuzz: https://crbug.com/873432
Signed-off-by: Jacob Trimble
---
libavformat/mov.c | 28
On Mon, Aug 13, 2018 at 3:31 PM Carl Eugen Hoyos wrote:
>
> 2018-08-14 0:22 GMT+02:00, Jacob Trimble :
> > Fixes: 873693
>
> This does not look helpful.
Changed.
>
> Carl Eugen
> ___
> ffmpeg-devel mailing list
&g
Fixes: 873693
Signed-off-by: Jacob Trimble
---
libavutil/encryption_info.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavutil/encryption_info.c b/libavutil/encryption_info.c
index c3916b42c8..b399e07e66 100644
--- a/libavutil/encryption_info.c
+++ b/libavutil
On Wed, Aug 1, 2018 at 1:46 PM Jacob Trimble wrote:
>
> On Mon, Jul 23, 2018 at 2:01 PM Jacob Trimble wrote:
> >
> > On Thu, Jul 12, 2018 at 5:05 PM Jacob Trimble wrote:
> > >
> > > Signed-off-by: Jacob Trimble
> > &
On Wed, Aug 1, 2018 at 1:45 PM Jacob Trimble wrote:
>
> On Mon, Jul 23, 2018 at 1:59 PM Jacob Trimble wrote:
> >
> > On Thu, Jul 12, 2018 at 4:45 PM Jacob Trimble wrote:
> > >
> > > The attached patch adds parsing for WebM encryption info into
On Mon, Jul 23, 2018 at 2:01 PM Jacob Trimble wrote:
>
> On Thu, Jul 12, 2018 at 5:05 PM Jacob Trimble wrote:
> >
> > Signed-off-by: Jacob Trimble
> > ---
> > libavformat/matroskadec.c | 43 +--
> > 1 file cha
On Mon, Jul 23, 2018 at 1:59 PM Jacob Trimble wrote:
>
> On Thu, Jul 12, 2018 at 4:45 PM Jacob Trimble wrote:
> >
> > The attached patch adds parsing for WebM encryption info into the
> > AVEncryptionInfo side-data. The AVEncryptionInitInfo will be handled
> >
On Thu, Jul 12, 2018 at 5:05 PM Jacob Trimble wrote:
>
> Signed-off-by: Jacob Trimble
> ---
> libavformat/matroskadec.c | 43 +--
> 1 file changed, 32 insertions(+), 11 deletions(-)
>
> diff --git a/libavformat/matroskadec.c b/liba
On Thu, Jul 12, 2018 at 4:45 PM Jacob Trimble wrote:
>
> The attached patch adds parsing for WebM encryption info into the
> AVEncryptionInfo side-data. The AVEncryptionInitInfo will be handled
> in another patch.
>
> Spec: https://www.webmproject.org/docs/webm-encryption/
Signed-off-by: Jacob Trimble
---
libavformat/matroskadec.c | 43 +--
1 file changed, 32 insertions(+), 11 deletions(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 1ded431b80..bfef329e59 100644
--- a/libavformat/matroskadec.c
+++ b
using subsample
encryption.
Does anyone have any other ideas to work around this? Is there a way
to allow parsing but ignore errors?
From 48cabb86f030bfcf1d163db2c361ab8ce743d8b3 Mon Sep 17 00:00:00 2001
From: Jacob Trimble
Date: Wed, 11 Jul 2018 11:08:18 -0700
Subject: [PATCH] avformat/matroska
On Tue, Jul 3, 2018 at 5:59 PM Michael Niedermayer
wrote:
>
> On Tue, Jul 03, 2018 at 12:14:19PM -0700, Jacob Trimble wrote:
> > On Mon, Jul 2, 2018 at 6:07 PM Michael Niedermayer
> > wrote:
> > >
> > > On Mon, Jun 25, 2018 at 04:03:32PM -0700, Jacob Trimble
On Mon, Jul 2, 2018 at 6:07 PM Michael Niedermayer
wrote:
>
> On Mon, Jun 25, 2018 at 04:03:32PM -0700, Jacob Trimble wrote:
> > Signed-off-by: Jacob Trimble
> > ---
> > libavformat/avformat.h | 8
> > libavformat/utils.c| 11 +++
>
On Mon, Jun 25, 2018 at 4:04 PM Jacob Trimble wrote:
>
> Signed-off-by: Jacob Trimble
> ---
> libavformat/avformat.h | 8
> libavformat/utils.c| 11 +++
> 2 files changed, 19 insertions(+)
>
> diff --git a/libavformat/avformat.h b/libavformat/avfor
On Mon, Jun 25, 2018 at 10:59 AM Jacob Trimble wrote:
>
> Rebased and updated to handle multiple PSSH atoms. PTAL.
>
> On Tue, Jan 9, 2018 at 10:28 AM Jacob Trimble wrote:
>>
>> On Mon, Jan 8, 2018 at 5:23 PM, Carl Eugen Hoyos wrote:
>> > 2018-0
On Mon, Jun 25, 2018 at 5:30 PM Michael Niedermayer
wrote:
>
> On Fri, Jun 01, 2018 at 12:51:48PM -0700, Jacob Trimble wrote:
> > Signed-off-by: Jacob Trimble
> > ---
> > libavutil/Makefile| 1 +
> > libavutil/encryption_info.h | 2 +-
&
Signed-off-by: Jacob Trimble
---
libavutil/tests/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/tests/.gitignore b/libavutil/tests/.gitignore
index 71f75a8ee9..bf07c57b75 100644
--- a/libavutil/tests/.gitignore
+++ b/libavutil/tests/.gitignore
@@ -24,6 +24,7 @@
/hmac
Signed-off-by: Jacob Trimble
---
libavutil/encryption_info.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/encryption_info.h b/libavutil/encryption_info.h
index 9140968fde..8fe7ebfe43 100644
--- a/libavutil/encryption_info.h
+++ b/libavutil/encryption_info.h
Signed-off-by: Jacob Trimble
---
libavformat/avformat.h | 8
libavformat/utils.c| 11 +++
2 files changed, 19 insertions(+)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index fdaffa5bf4..434c88837e 100644
--- a/libavformat/avformat.h
+++ b/libavformat
Now that the patches have been merged this doesn't depend on anything.
On Fri, Jun 1, 2018 at 12:54 PM Jacob Trimble wrote:
> On Fri, Jun 1, 2018 at 12:52 PM Jacob Trimble wrote:
> >
> > Signed-off-by: Jacob Trimble
> > ---
> > libavutil/Makefile
Rebased and updated to handle multiple PSSH atoms. PTAL.
On Tue, Jan 9, 2018 at 10:28 AM Jacob Trimble wrote:
> On Mon, Jan 8, 2018 at 5:23 PM, Carl Eugen Hoyos
> wrote:
> > 2018-01-09 0:22 GMT+01:00 Jacob Trimble <
> modmaker-at-google@ffmpeg.org>:
> >
>
;
Done
From f440fe2be172672c439fa8b216b08a8d0895f76f Mon Sep 17 00:00:00 2001
From: Jacob Trimble
Date: Mon, 23 Apr 2018 10:33:58 -0700
Subject: [PATCH] libavutil/encryption_info: Allow multiple init info.
It is possible for there to be multiple encryption init info structure.
On Thu, Jun 14, 2018 at 9:44 AM Jacob Trimble wrote:
>
> On Thu, Jun 7, 2018 at 11:51 AM Jacob Trimble wrote:
> >
> > On Thu, May 31, 2018 at 5:50 PM Jacob Trimble wrote:
> > >
> > > On Thu, May 31, 2018 at 9:40 AM Jacob Trimble wrote:
> > > >
On Thu, Jun 7, 2018 at 11:51 AM Jacob Trimble wrote:
>
> On Thu, May 31, 2018 at 5:50 PM Jacob Trimble wrote:
> >
> > On Thu, May 31, 2018 at 9:40 AM Jacob Trimble wrote:
> > >
> > > On Fri, May 25, 2018 at 6:13 PM Michael Niedermayer
> > > wrote:
Found by Chrome's ClusterFuzz: http://crbug.com/849062.
Signed-off-by: Jacob Trimble
---
libavformat/mov.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 2fca025889..5d9ffa69a3 100644
--- a/libavformat/mov.c
+++ b
On Thu, Jun 7, 2018 at 10:38 AM Jacob Trimble wrote:
>
> Found by Chrome's ClusterFuzz: http://crbug.com/850389
>
> Signed-off-by: Jacob Trimble
> ---
> libavformat/mov.c | 10 ++
> 1 file changed, 10 insertions(+)
>
> diff --git a/libavformat/mov.c
On Thu, May 31, 2018 at 5:50 PM Jacob Trimble wrote:
>
> On Thu, May 31, 2018 at 9:40 AM Jacob Trimble wrote:
> >
> > On Fri, May 25, 2018 at 6:13 PM Michael Niedermayer
> > wrote:
> > >
> > > [...]
> > >
> > > > Added fix for
Found by Chrome's ClusterFuzz: http://crbug.com/850389
Signed-off-by: Jacob Trimble
---
libavformat/mov.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 4ad19122b3..d07171b3f4 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
On Tue, Jun 5, 2018 at 1:06 PM Mark Thompson wrote:
>
> On 05/06/18 17:30, Jacob Trimble wrote:
> > Just because I can't check whether my food has salmonella doesn't mean
> > I shouldn't check the temperature when I cook it. Adding a NULL check
> > is trivial and will cat
On Mon, Jun 4, 2018 at 2:24 PM Carl Eugen Hoyos wrote:
>
> 2018-06-04 23:07 GMT+02:00, Jacob Trimble :
> > On Mon, Jun 4, 2018 at 10:46 AM Carl Eugen Hoyos wrote:
> >>
> >> 2018-06-04 18:59 GMT+02:00, Jacob Trimble
> >> :
> >> > On Fri, Jun 1
On Mon, Jun 4, 2018 at 10:46 AM Carl Eugen Hoyos wrote:
>
> 2018-06-04 18:59 GMT+02:00, Jacob Trimble :
> > On Fri, Jun 1, 2018 at 5:03 PM Michael Niedermayer
> > wrote:
> >>
> >> On Thu, May 31, 2018 at 09:33:36AM -0700, Jacob Trimble wrote:
> &
On Fri, Jun 1, 2018 at 5:03 PM Michael Niedermayer
wrote:
>
> On Thu, May 31, 2018 at 09:33:36AM -0700, Jacob Trimble wrote:
> > Found by Chrome's ClusterFuzz: http://crbug.com/846662.
> >
> > Signed-off-by: Jacob Trimble
> > ---
> > libavutil/encryption_in
On Fri, Jun 1, 2018 at 12:52 PM Jacob Trimble wrote:
>
> Signed-off-by: Jacob Trimble
> ---
> libavutil/Makefile| 1 +
> libavutil/encryption_info.h | 2 +-
> libavutil/tests/.gitignore| 2 +
> libavutil/tests/en
Signed-off-by: Jacob Trimble
---
libavutil/Makefile| 1 +
libavutil/encryption_info.h | 2 +-
libavutil/tests/.gitignore| 2 +
libavutil/tests/encryption_info.c | 176 ++
tests/fate/libavutil.mak | 4 +
tests/ref/fate
On Thu, May 31, 2018 at 9:40 AM Jacob Trimble wrote:
>
> On Fri, May 25, 2018 at 6:13 PM Michael Niedermayer
> wrote:
> >
> > [...]
> >
> > > Added fix for issue found by Chrome's ClusterFuzz
> > > (http://crbug.com/846662).
> >
> > t
Found by Chrome's ClusterFuzz: https://crbug.com/847060
Signed-off-by: Jacob Trimble
---
libavformat/mov.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index f2a540ad50..08cc382a68 100644
--- a/libavformat/mov.c
+++ b
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
From 468958a26c1df8f599925038518ca4dae90de0f7 Mon Sep 17 00:00:00 2001
From: Jacob Trimble
Date: Mon, 23 Apr 2018 10:33:58 -0700
Subject: [PATCH] libavuti
Found by Chrome's ClusterFuzz: http://crbug.com/846662.
Signed-off-by: Jacob Trimble
---
libavutil/encryption_info.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/libavutil/encryption_info.c b/libavutil/encryption_info.c
index 20a752d6b4..a48ded922c 100644
On Mon, May 21, 2018 at 9:25 AM, Jacob Trimble <modma...@google.com> wrote:
> On Mon, May 14, 2018 at 4:49 PM, Jacob Trimble <modma...@google.com> wrote:
>> On Tue, May 8, 2018 at 3:47 PM, Michael Niedermayer
>> <mich...@niedermayer.cc> wrote:
>>> On Mo
On Mon, May 14, 2018 at 4:49 PM, Jacob Trimble <modma...@google.com> wrote:
> On Tue, May 8, 2018 at 3:47 PM, Michael Niedermayer
> <mich...@niedermayer.cc> wrote:
>> On Mon, May 07, 2018 at 04:59:33PM -0700, Jacob Trimble wrote:
>>> On Mon, May 7, 2018 at 3:18
On Wed, May 16, 2018 at 11:32 PM, Zewu Chen wrote:
> Use structure AVEncryptionInitInfo to provide CENC initialization information
> for the application.
>
> Signed-off-by: Chen Zewu
> ---
> libavformat/isom.h | 1 +
> libavformat/mov.c | 64
>
On Tue, May 8, 2018 at 3:47 PM, Michael Niedermayer
<mich...@niedermayer.cc> wrote:
> On Mon, May 07, 2018 at 04:59:33PM -0700, Jacob Trimble wrote:
>> On Mon, May 7, 2018 at 3:18 PM, Michael Niedermayer
>> <mich...@niedermayer.cc> wrote:
>> > On Mon, Apr
On Mon, May 7, 2018 at 3:18 PM, Michael Niedermayer
<mich...@niedermayer.cc> wrote:
> On Mon, Apr 23, 2018 at 11:03:57AM -0700, Jacob Trimble wrote:
>> While integrating my encryption info changes, I noticed a problem with
>> the init info structs. I implemented them as si
On Fri, Apr 27, 2018 at 5:30 PM, Jacob Trimble <modma...@google.com> wrote:
> On Fri, Apr 27, 2018 at 10:33 AM, Jacob Trimble <modma...@google.com> wrote:
>> On Mon, Apr 23, 2018 at 11:03 AM, Jacob Trimble <modma...@google.com> wrote:
>>> While integrating m
On Fri, Apr 27, 2018 at 10:33 AM, Jacob Trimble <modma...@google.com> wrote:
> On Mon, Apr 23, 2018 at 11:03 AM, Jacob Trimble <modma...@google.com> wrote:
>> While integrating my encryption info changes, I noticed a problem with
>> the init info structs. I im
On Mon, Apr 23, 2018 at 11:03 AM, Jacob Trimble <modma...@google.com> wrote:
> While integrating my encryption info changes, I noticed a problem with
> the init info structs. I implemented them as side-data on the Stream.
> But this means there can only be one per stream. How
that
instead if that is preferable.
From bb941a77e882e93629d63d63059d0063b9519e29 Mon Sep 17 00:00:00 2001
From: Jacob Trimble <modma...@google.com>
Date: Mon, 23 Apr 2018 10:33:58 -0700
Subject: [PATCH] libavutil/encryption_info: Allow multiple init info.
It is possible for there to be multiple encr
On Thu, Apr 19, 2018 at 2:07 AM, Michael Niedermayer
<mich...@niedermayer.cc> wrote:
> On Tue, Jan 09, 2018 at 10:27:28AM -0800, Jacob Trimble wrote:
>> On Mon, Jan 8, 2018 at 5:39 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
>> > 2018-01-08 23:34 GMT+01:00
On Thu, Apr 19, 2018 at 7:01 AM, James Almer <jamr...@gmail.com> wrote:
> On 4/18/2018 9:42 PM, Michael Niedermayer wrote:
>> On Wed, Apr 18, 2018 at 09:47:17AM -0700, Jacob Trimble wrote:
>>> On Tue, Apr 17, 2018 at 7:11 PM, Michael Niedermayer
>>> <mich...@nie
Signed-off-by: Jacob Trimble <modma...@google.com>
---
libavformat/mov.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index fc512b8d72..4eda48d617 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -5833,6 +5833,7 @@ stat
On Tue, Apr 17, 2018 at 7:11 PM, Michael Niedermayer
<mich...@niedermayer.cc> wrote:
> On Tue, Apr 03, 2018 at 04:08:51PM -0700, Jacob Trimble wrote:
>> >>
>> >> Ping again. I know this is low priority, but I would like to get
>> >> these merged
Signed-off-by: Jacob Trimble <modma...@google.com>
---
libavformat/mov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index e7c32e6148..97b1462aab 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -4601,7 +4601,7 @@ stat
eep pinging this until someone merges this or tells me
why not). Day after tomorrow this will be in review for 4 months!!!
Also noticed a bug when integrating this, so here is an updated patch.
From 282effab6026341c49a52950cf8ba11afc9dc6aa Mon Sep 17 00:00:00 2001
From: Jacob Trimble <modma...@goo
On Mon, Mar 5, 2018 at 12:22 PM, Jacob Trimble <modma...@google.com> wrote:
> On Mon, Feb 12, 2018 at 9:35 AM, Jacob Trimble <modma...@google.com> wrote:
>> On Tue, Jan 30, 2018 at 11:27 AM, Jacob Trimble <modma...@google.com> wrote:
>>> On Wed, Jan 24,
On Mon, Feb 12, 2018 at 9:35 AM, Jacob Trimble <modma...@google.com> wrote:
> On Tue, Jan 30, 2018 at 11:27 AM, Jacob Trimble <modma...@google.com> wrote:
>> On Wed, Jan 24, 2018 at 5:46 PM, Michael Niedermayer
>> <mich...@niedermayer.cc> wrote:
>>> On We
On Tue, Jan 30, 2018 at 11:27 AM, Jacob Trimble <modma...@google.com> wrote:
> On Wed, Jan 24, 2018 at 5:46 PM, Michael Niedermayer
> <mich...@niedermayer.cc> wrote:
>> On Wed, Jan 24, 2018 at 11:43:26AM -0800, Jacob Trimble wrote:
>>> On Mon, Jan 22, 2018 at 7:38
On Wed, Jan 24, 2018 at 5:46 PM, Michael Niedermayer
<mich...@niedermayer.cc> wrote:
> On Wed, Jan 24, 2018 at 11:43:26AM -0800, Jacob Trimble wrote:
>> On Mon, Jan 22, 2018 at 7:38 PM, Michael Niedermayer
>> <mich...@niedermayer.cc> wrote
>> > [...]
>> &
(or squashed) since the first breaks
encrypted content. But I can squash them again if it is preferable to
not have a commit that intentionally breaks things.
>
>>
>> Signed-off-by: Jacob Trimble <modma...@google.com>
>> ---
>> libavformat/isom.h
On Wed, Jan 10, 2018 at 5:08 PM, Jacob Trimble <modma...@google.com> wrote:
>
> On Wed, Jan 10, 2018 at 1:51 PM, Michael Niedermayer
> <mich...@niedermayer.cc> wrote:
> > [...]
> >
> > This causes a crash:
> >
> >
t;
> ___
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
From 5f6411a92569d13524485627fa68e62e8fd63e50 Mon Sep 17 00:00:00 2001
From: Jacob Trimble <modma...@google.com>
Date
On Mon, Jan 8, 2018 at 5:23 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 2018-01-09 0:22 GMT+01:00 Jacob Trimble <modmaker-at-google@ffmpeg.org>:
>
>> Updated with the new design for the side data and applied the realloc
>> fix to avoid large alloca
On Mon, Jan 8, 2018 at 5:39 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 2018-01-08 23:34 GMT+01:00 Jacob Trimble <modmaker-at-google@ffmpeg.org>:
>> On Fri, Jan 5, 2018 at 3:41 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
>>> 2018-01-05 23:58 GM
On Mon, Jan 8, 2018 at 5:19 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 2018-01-08 23:16 GMT+01:00 Jacob Trimble <modmaker-at-google@ffmpeg.org>:
>>> You can't remove API just like that without a deprecation period.
>>> Add a new av_aes_ctr_set_ful
On Mon, Jan 8, 2018 at 11:40 AM, Jacob Trimble <modma...@google.com> wrote:
>> I'd assume we'd wait with applying this until the mp4 patch that uses
>> it is reviewed. I'm fine with this patch and I think it can be pushed
>> as it is, although I just noticed an APIchanges
On Fri, Jan 5, 2018 at 12:55 PM, Jacob Trimble <modma...@google.com> wrote:
> On Fri, Jan 5, 2018 at 12:43 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
>> 2018-01-05 20:49 GMT+01:00 Jacob Trimble <modmaker-at-google@ffmpeg.org>:
>>
>>> +
On Fri, Jan 5, 2018 at 3:41 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 2018-01-05 23:58 GMT+01:00 Jacob Trimble <modmaker-at-google@ffmpeg.org>:
>> On Fri, Jan 5, 2018 at 2:01 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
>>> 2018-01-05 22:29 GM
from
> this patch into the one that actually introduces the entire feature.
Whoops, I thought that was internal-only. Done and split into its own change.
On Sat, Jan 6, 2018 at 7:30 AM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 2018-01-05 20:49 GMT+01:00 Jacob
Signed-off-by: Jacob Trimble <modma...@google.com>
---
doc/APIchanges| 3 +++
libavutil/aes_ctr.c | 6 ++
libavutil/aes_ctr.h | 7 ++-
libavutil/tests/aes_ctr.c | 2 +-
libavutil/version.h | 2 +-
5 files changed, 17 insertions(+), 3 deletions(-)
diff
20f951fc4db77a83f9dc60f75e84717b4fd0 Mon Sep 17 00:00:00 2001
From: Jacob Trimble <modma...@google.com>
Date: Tue, 5 Dec 2017 14:52:22 -0800
Subject: [PATCH] avcodec/avcodec.h: Add encryption info side data.
This new side-data will contain info on how a packet is encrypted.
This allows the ap
On Fri, Jan 5, 2018 at 2:01 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 2018-01-05 22:29 GMT+01:00 Jacob Trimble <modmaker-at-google@ffmpeg.org>:
>> On Fri, Jan 5, 2018 at 12:41 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
>>> 2018-01-05 20:49 GM
On Fri, Jan 5, 2018 at 12:41 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 2018-01-05 20:49 GMT+01:00 Jacob Trimble <modmaker-at-google@ffmpeg.org>:
>
>> +entry_count = avio_rb32(pb);
>> +encryption_index->auxiliary_offsets = av_malloc_arra
On Fri, Jan 5, 2018 at 12:43 PM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote:
> 2018-01-05 20:49 GMT+01:00 Jacob Trimble <modmaker-at-google@ffmpeg.org>:
>
>> +AV_WB32(side_data, size);
>> +AV_WL32(side_data + 4, MKTAG('p','s','s','h'));
>
> I didn'
On Fri, Jan 5, 2018 at 11:49 AM, Jacob Trimble <modma...@google.com> wrote:
>> [...]
This adds two new fate tests that need to be uploaded by someone:
https://storage.googleapis.com/shaka-demo-assets/_bugs/ffmpeg-fate-files/mov-frag-encrypted.mp4
https://storage.googleapis.com/shaka
This doesn't support saio atoms with more than one offset.
Signed-off-by: Jacob Trimble <modma...@google.com>
---
libavformat/isom.h | 6 ++
libavformat/mov.c | 174 +
2 files changed, 180 insertions(+)
diff --git a/libavformat/is
This exposes encryption info from the container to the app. This
includes key ID, IV, and subsample byte ranges. The info is passed
using the new side-data AV_PKT_DATA_ENCRYPTION_INIT_DATA.
Signed-off-by: Jacob Trimble <modma...@google.com>
---
libavformat/mov.
.
A follow-up change will add correct support for those.
Signed-off-by: Jacob Trimble <modma...@google.com>
---
libavformat/isom.h | 20 +-
libavformat/mov.c | 404 +
libavutil/aes_ctr.c| 11 +-
lib
On Tue, Jan 2, 2018 at 9:57 AM, Jacob Trimble <modma...@google.com> wrote:
> On Wed, Dec 20, 2017 at 4:31 PM, wm4 <nfx...@googlemail.com> wrote:
>> On Wed, 20 Dec 2017 15:10:43 -0800
>> Jacob Trimble <modmaker-at-google@ffmpeg.org> wrote:
>>
>>&g
On Wed, Dec 20, 2017 at 4:31 PM, wm4 <nfx...@googlemail.com> wrote:
> On Wed, 20 Dec 2017 15:10:43 -0800
> Jacob Trimble <modmaker-at-google@ffmpeg.org> wrote:
>
>> From 1508d19e9f7acf43d76010ce54d59ff204613601 Mon Sep 17 00:00:00 2001
>> From: Jacob Trimble &
On Wed, Dec 20, 2017 at 12:23 PM, wm4 <nfx...@googlemail.com> wrote:
> On Wed, 20 Dec 2017 12:07:09 -0800
> Jacob Trimble <modmaker-at-google@ffmpeg.org> wrote:
>
>> On Tue, Dec 19, 2017 at 3:05 PM, wm4 <nfx...@googlemail.com> wrote:
>> > On Tue, 19
On Tue, Dec 19, 2017 at 3:05 PM, wm4 <nfx...@googlemail.com> wrote:
> On Tue, 19 Dec 2017 14:20:38 -0800
> Jacob Trimble <modmaker-at-google@ffmpeg.org> wrote:
>
>> > I don't think this is sane. So far, side data could simply be copied
>> > with memcpy,
> You pretty much did. Side data is an ffmpeg internal concept, and if
> your hypothetical streaming protocol needs special support for side
> data, it's automatically relying on ffmpeg internals.
I thought side data was public data? Doesn't it contain public info
like display info and required
>> @@ -1327,6 +1384,19 @@ enum AVPacketSideDataType {
>> */
>> AV_PKT_DATA_A53_CC,
>>
>> +/**
>> + * This side data is encryption "initialization data".
>> + * For MP4 this is the entire 'pssh' box.
>> + * For WebM this is the key ID.
>> + */
>> +
ypted.
>
>
>> +} AVPacketEncryptionInfo;
>
>> +#define FF_PACKET_ENCRYPTION_INFO_SIZE(a) (sizeof(AVPacketEncryptionInfo) +
>> sizeof(unsigned int) * a * 2)
>
> This assumes things about the padding and alignment of fields that are not
> guranteed by C i think
>
1 - 100 of 119 matches
Mail list logo