[FFmpeg-devel] [PATCH] Update mp4 object type for VP9

2017-06-28 Thread KongQun Yang
Updated to the standard value 0xB1 defined in mp4ra.org. Change-Id: I6260fb11ce275f0da12b0c92ecf670bfde28b4e5 --- libavformat/isom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/isom.c b/libavformat/isom.c index 55221156f8..3a9b3baf96 100644 ---

Re: [FFmpeg-devel] [PATCH] movenc/isom: update vpcC box to the latest draft specification

2017-04-24 Thread KongQun Yang
-- KongQun Yang (KQ) On Fri, Apr 21, 2017 at 4:49 PM, Hendrik Leppkes <h.lepp...@gmail.com> wrote: > On Sat, Apr 22, 2017 at 1:25 AM, Hendrik Leppkes <h.lepp...@gmail.com> > wrote: > > This brings our generation of the vpcC box up to date to version 1.0 > > of the

Re: [FFmpeg-devel] [PATCH] movenc/isom: update vpcC box to the latest draft specification

2017-04-21 Thread KongQun Yang
Correct. There is a mistake in the spec. I have created a pull request to fix that earlier today: https://github.com/webmproject/vp9-dash/pull/69 -- KongQun Yang (KQ) On Fri, Apr 21, 2017 at 2:52 PM, James Almer <jamr...@gmail.com> wrote: > On 4/21/2017 6:47 PM, James Almer wrote: >

Re: [FFmpeg-devel] [PATCH] movenc/isom: update vpcC box to the latest draft specification

2017-04-21 Thread KongQun Yang
Hi Hendrik, Thanks for working on it. Version needs to be updated as well: https://github.com/FFmpeg/FFmpeg/blob/b905ba5bc18c89c7fccd862179575562ef19/libavformat/movenc.c#L1115. Suggest moving it into ff_isom_write_vpcc function too. -- KongQun Yang (KQ) On Tue, Apr 18, 2017 at 7:30 AM

Re: [FFmpeg-devel] [PATCH v7] Add experimental support for vp9 in iso-bmff

2016-06-17 Thread KongQun Yang
-- KongQun Yang (KQ) On Fri, Jun 17, 2016 at 7:37 AM, Ronald S. Bultje <rsbul...@gmail.com> wrote: > Hi, > > On Thu, Jun 16, 2016 at 9:06 AM, Ronald S. Bultje <rsbul...@gmail.com> > wrote: > >> Hi, >> >> On Wed, Jun 15, 2016 at 7:

Re: [FFmpeg-devel] [PATCH v7] Add experimental support for vp9 in iso-bmff

2016-06-15 Thread KongQun Yang
-- KongQun Yang (KQ) On Wed, Jun 15, 2016 at 3:08 PM, Ronald S. Bultje <rsbul...@gmail.com> wrote: > Hi, > > On Wed, Jun 15, 2016 at 4:53 PM, Kongqun Yang <yangkong...@gmail.com> > wrote: > >> Implemented according to the draft specification >>

Re: [FFmpeg-devel] [PATCH v6] Add experimental support for vp9 in iso-bmff

2016-06-15 Thread KongQun Yang
-- KongQun Yang (KQ) On Wed, Jun 15, 2016 at 5:00 AM, Carl Eugen Hoyos <ceho...@ag.or.at> wrote: > Kongqun Yang gmail.com> writes: > > > +} else if (chroma_w == 0 && chroma_h == 0) { > > +return VPX_SUBSAMPLING_444; > > Could you

Re: [FFmpeg-devel] [PATCH v5] Add experimental support for vp9 in iso-bmff

2016-06-15 Thread KongQun Yang
Thanks for the review, uploaded patch v7 with two changes: 1. Use AVFormatContext as the logging context 2. Renamed the file from vpc.c/vpc.h to vpcc.c/vpcc.h Please take another look. -- KongQun Yang (KQ) On Tue, Jun 14, 2016 at 11:27 PM, Hendrik Leppkes <h.lepp...@gmail.com> wrote: &g

[FFmpeg-devel] [PATCH v7] Add experimental support for vp9 in iso-bmff

2016-06-15 Thread Kongqun Yang
>codecpar->codec_type == AVMEDIA_TYPE_AUDIO) { track->timescale = st->codecpar->sample_rate; if (!st->codecpar->frame_size && !av_get_bits_per_sample(st->codecpar->codec_id)) { diff --git a/libavformat/vpcc.c b/libavformat/vpcc.c new file mode 1

Re: [FFmpeg-devel] [PATCH v4] Add experimental support for vp9 in iso-bmff

2016-06-15 Thread KongQun Yang
Please take a look at patchset v5. Thanks. -- KongQun Yang (KQ) On Tue, Jun 14, 2016 at 2:58 PM, Ronald S. Bultje <rsbul...@gmail.com> wrote: > Hi, > > On Tue, Jun 14, 2016 at 5:52 PM, Kongqun Yang <yangkong...@gmail.com> > wrote: > >> +

Re: [FFmpeg-devel] [PATCH v5] Add experimental support for vp9 in iso-bmff

2016-06-14 Thread KongQun Yang
-- KongQun Yang (KQ) On Tue, Jun 14, 2016 at 4:34 PM, Hendrik Leppkes <h.lepp...@gmail.com> wrote: > On Wed, Jun 15, 2016 at 12:05 AM, Kongqun Yang <yangkong...@gmail.com> > wrote: > > Implemented according to the draft specification > > "VP Codec ISO Med

Re: [FFmpeg-devel] [PATCH v5] Add experimental support for vp9 in iso-bmff

2016-06-14 Thread KongQun Yang
-- KongQun Yang (KQ) On Tue, Jun 14, 2016 at 4:20 PM, Ronald S. Bultje <rsbul...@gmail.com> wrote: > Hi, > > On Tue, Jun 14, 2016 at 6:05 PM, Kongqun Yang <yangkong...@gmail.com> > wrote: > >> +default: >> +av_log(NULL, AV_LOG

Re: [FFmpeg-devel] [PATCH v2] Add support for vp9 in iso-bmff

2016-06-14 Thread KongQun Yang
Thanks for the review. Please see patchset v4 for the new change. (Please ignore patchset v3 which is uploaded incorrectly) -- KongQun Yang (KQ) On Tue, Jun 14, 2016 at 1:11 PM, Ronald S. Bultje <rsbul...@gmail.com> wrote: > Hi, > > On Mon, Jun 13, 2016 at 5:26 PM, Kongqun

[FFmpeg-devel] [PATCH v5] Add experimental support for vp9 in iso-bmff

2016-06-14 Thread Kongqun Yang
track->timescale = st->codecpar->sample_rate; if (!st->codecpar->frame_size && !av_get_bits_per_sample(st->codecpar->codec_id)) { diff --git a/libavformat/vpc.c b/libavformat/vpc.c new file mode 100644 index 000..890c5a6 --- /dev/null ++

[FFmpeg-devel] [PATCH v4] Add experimental support for vp9 in iso-bmff

2016-06-14 Thread Kongqun Yang
track->timescale = st->codecpar->sample_rate; if (!st->codecpar->frame_size && !av_get_bits_per_sample(st->codecpar->codec_id)) { diff --git a/libavformat/vpc.c b/libavformat/vpc.c new file mode 100644 index 000..7c50b94 --- /dev/null ++

[FFmpeg-devel] [PATCH v3] Add support for vp9 in iso-bmff

2016-06-14 Thread Kongqun Yang
if (!st->codecpar->frame_size && !av_get_bits_per_sample(st->codecpar->codec_id)) { diff --git a/libavformat/vpc.c b/libavformat/vpc.c new file mode 100644 index 000..d28c4f5 --- /dev/null +++ b/libavformat/vpc.c @@ -0,0 +1,151 @@ +/* + * Copyright (c) 20

Re: [FFmpeg-devel] [PATCH v2] Add support for vp9 in iso-bmff

2016-06-14 Thread KongQun Yang
vc. 3. Use av_pix_fmt_desc_get(pixel_format)->comp[0].depth suggested by Ronald to get bit depth As for the comments on color space from James, the structure is specific to "vp in mp4" specification, so we cannot reuse the code from libavcodec or libvpx. -- KongQun Yang (KQ) On Mo

[FFmpeg-devel] [PATCH v2] Add support for vp9 in iso-bmff

2016-06-13 Thread Kongqun Yang
if (!st->codecpar->frame_size && !av_get_bits_per_sample(st->codecpar->codec_id)) { diff --git a/libavformat/vpc.c b/libavformat/vpc.c new file mode 100644 index 000..d28c4f5 --- /dev/null +++ b/libavformat/vpc.c @@ -0,0 +1,151 @@ +/* + * Copyright (c) 20

[FFmpeg-devel] [PATCH] Add support for vp9 in iso-bmff

2016-06-11 Thread Kongqun Yang
a/libavformat/vpx.c b/libavformat/vpx.c new file mode 100644 index 000..5125187 --- /dev/null +++ b/libavformat/vpx.c @@ -0,0 +1,170 @@ +/* + * VPX helper functions for muxers + * + * Copyright (c) 2016 Google Inc. + * Copyright (c) 2016 KongQun Yang (kqy...@google.com) + * + * This file is