Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: allow user comments for opatom muxer

2019-03-11 Thread Mark Reid
On Mon, Mar 11, 2019 at 2:55 AM Tomas Härdin wrote: > sön 2019-03-10 klockan 19:03 -0700 skrev mindm...@gmail.com: > > > From: Mark Reid > > > > This patch restores the ability to add user comments for the opatom_mxf > muxer. > > The ability seems to have been d

Re: [FFmpeg-devel] [PATCH v3 2/3] avformat/mxfenc: write reel_name if metadata key is present

2017-12-07 Thread Mark Reid
On Dec 7, 2017 7:45 AM, "Tomas Härdin" <tjop...@acc.umu.se> wrote: On 2017-12-05 05:46, Mark Reid wrote: > --- > libavformat/mxf.h| 1 + > libavformat/mxfenc.c | 42 +++--- > 2 files changed, 36 insertions(+), 7 deletions(

[FFmpeg-devel] [PATCH v3 2/3] avformat/mxfenc: write reel_name if metadata key is present

2017-12-04 Thread Mark Reid
--- libavformat/mxf.h| 1 + libavformat/mxfenc.c | 42 +++--- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/libavformat/mxf.h b/libavformat/mxf.h index 2d5b44943b..ffcc429a8b 100644 --- a/libavformat/mxf.h +++ b/libavformat/mxf.h @@ -47,6

[FFmpeg-devel] [PATCH v3 1/3] avformat/mxfenc: use track count to generate component instance uuid

2017-12-04 Thread Mark Reid
--- libavformat/mxf.h | 1 - libavformat/mxfenc.c| 42 ++--- tests/ref/fate/copy-trac4914| 2 +- tests/ref/fate/time_base| 2 +- tests/ref/lavf/mxf | 6 +++--- tests/ref/lavf/mxf_d10 | 2 +-

[FFmpeg-devel] [PATCH v3 3/3] fate/mxf: add reel name test

2017-12-04 Thread Mark Reid
--- tests/fate/mxf.mak | 8 ++-- tests/ref/fate/mxf-reel_name | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 tests/ref/fate/mxf-reel_name diff --git a/tests/fate/mxf.mak b/tests/fate/mxf.mak index 7714b61569..dce23d522e 100644 --- a/tests/fate/mxf.mak

[FFmpeg-devel] [PATCH v3 0/3] avformat/mxfenc add reel_name write support

2017-12-04 Thread Mark Reid
changes since v2: * added more comments * renamed track_uuid_offset to track_instance_count Mark Reid (3): avformat/mxfenc: use track count to generate component instance uuid avformat/mxfenc: write reel_name if metadata key is present fate/mxf: add reel name test libavformat/mxf.h

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/mxfenc: use track count to generate component instance uuid

2017-12-04 Thread Mark Reid
On Thu, Nov 30, 2017 at 9:01 AM, Tomas Härdin <tjop...@acc.umu.se> wrote: > On Wed, 2017-11-29 at 20:18 -0800, Mark Reid wrote: > > On Wed, Nov 29, 2017 at 1:36 AM, Tomas Härdin <tjop...@acc.umu.se> > > wrote: > > > > > On 2017-11-29 05:11, Mark

Re: [FFmpeg-devel] [PATCH v2 2/3] avformat/mxfenc: write reel_name if metadata key is present

2017-11-29 Thread Mark Reid
On Wed, Nov 29, 2017 at 8:19 PM, Mark Reid <mindm...@gmail.com> wrote: > > > On Wed, Nov 29, 2017 at 12:56 PM, Matthias Troffaes < > matthias.troff...@gmail.com> wrote: > >> Dear Mark, >> >> On Wed, Nov 29, 2017 at 4:11 AM, Mark Reid <mindm...@gmail

Re: [FFmpeg-devel] [PATCH v2 2/3] avformat/mxfenc: write reel_name if metadata key is present

2017-11-29 Thread Mark Reid
On Wed, Nov 29, 2017 at 12:56 PM, Matthias Troffaes < matthias.troff...@gmail.com> wrote: > Dear Mark, > > On Wed, Nov 29, 2017 at 4:11 AM, Mark Reid <mindm...@gmail.com> wrote: > > @@ -1445,12 +1463,13 @@ static int > > mxf_write_header_m

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/mxfenc: use track count to generate component instance uuid

2017-11-29 Thread Mark Reid
On Wed, Nov 29, 2017 at 1:36 AM, Tomas Härdin <tjop...@acc.umu.se> wrote: > On 2017-11-29 05:11, Mark Reid wrote: > >> @@ -980,7 +980,7 @@ static void >> mxf_write_structural_component(AVFormatContext >> *s, AVStream *st, MXF >> // write uid >>

[FFmpeg-devel] [PATCH v2 3/3] fate/mxf: add reel name test

2017-11-28 Thread Mark Reid
--- tests/fate/mxf.mak | 8 ++-- tests/ref/fate/mxf-reel_name | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 tests/ref/fate/mxf-reel_name diff --git a/tests/fate/mxf.mak b/tests/fate/mxf.mak index 7714b61569..dce23d522e 100644 --- a/tests/fate/mxf.mak

[FFmpeg-devel] [PATCH v2 0/3] avformat/mxfenc add reel_name write support

2017-11-28 Thread Mark Reid
changes since v1 * simplified uuid_offset * added SourcePackage type checks * only support reel_name at the format level Mark Reid (3): avformat/mxfenc: use track count to generate component instance uuid avformat/mxfenc: write reel_name if metadata key is present fate/mxf: add reel name

[FFmpeg-devel] [PATCH v2 1/3] avformat/mxfenc: use track count to generate component instance uuid

2017-11-28 Thread Mark Reid
--- libavformat/mxf.h | 1 - libavformat/mxfenc.c| 30 +- tests/ref/fate/copy-trac4914| 2 +- tests/ref/fate/time_base| 2 +- tests/ref/lavf/mxf | 6 +++--- tests/ref/lavf/mxf_d10 | 2 +-

[FFmpeg-devel] [PATCH v2 2/3] avformat/mxfenc: write reel_name if metadata key is present

2017-11-28 Thread Mark Reid
--- libavformat/mxf.h| 1 + libavformat/mxfenc.c | 42 +++--- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/libavformat/mxf.h b/libavformat/mxf.h index 2d5b44943b..ffcc429a8b 100644 --- a/libavformat/mxf.h +++ b/libavformat/mxf.h @@ -47,6

Re: [FFmpeg-devel] [PATCH 1/4] avformat/mxfenc: pass MXFPackage around instead of type

2017-11-28 Thread Mark Reid
On Tue, Nov 28, 2017 at 3:05 PM, Tomas Härdin <tjop...@acc.umu.se> wrote: > On Tue, 2017-11-28 at 21:09 +0100, Michael Niedermayer wrote: > > On Mon, Nov 27, 2017 at 11:00:51AM +0100, Tomas Härdin wrote: > > > On Sun, 2017-11-26 at 21:42 -0800, Mark Reid wrote: > >

Re: [FFmpeg-devel] [PATCH 3/4] avformat/mxfenc: write reel_name if metadata key is present

2017-11-27 Thread Mark Reid
On Mon, Nov 27, 2017 at 2:40 AM, Tomas Härdin <tjop...@acc.umu.se> wrote: > On Sun, 2017-11-26 at 21:42 -0800, Mark Reid wrote: > > @@ -1396,13 +1410,17 @@ static int mxf_write_package(AVFormatContext > > *s, MXFPackage *package) > > } > > > >

Re: [FFmpeg-devel] [PATCH 2/4] avformat/mxfenc: use track count to generate component instance uuid

2017-11-27 Thread Mark Reid
On Mon, Nov 27, 2017 at 2:14 AM, Tomas Härdin <tjop...@acc.umu.se> wrote: > On Sun, 2017-11-26 at 21:42 -0800, Mark Reid wrote: > > --- > > libavformat/mxf.h | 1 - > > libavformat/mxfenc.c| 45 + > >

[FFmpeg-devel] [PATCH 2/4] avformat/mxfenc: use track count to generate component instance uuid

2017-11-26 Thread Mark Reid
--- libavformat/mxf.h | 1 - libavformat/mxfenc.c| 45 + tests/ref/fate/copy-trac4914| 2 +- tests/ref/fate/time_base| 2 +- tests/ref/lavf/mxf | 6 +++--- tests/ref/lavf/mxf_d10 | 2 +-

[FFmpeg-devel] [PATCH 3/4] avformat/mxfenc: write reel_name if metadata key is present

2017-11-26 Thread Mark Reid
--- libavformat/mxf.h| 1 + libavformat/mxfenc.c | 52 ++-- 2 files changed, 47 insertions(+), 6 deletions(-) diff --git a/libavformat/mxf.h b/libavformat/mxf.h index 2d5b44943b..ffcc429a8b 100644 --- a/libavformat/mxf.h +++

[FFmpeg-devel] [PATCH 1/4] avformat/mxfenc: pass MXFPackage around instead of type

2017-11-26 Thread Mark Reid
--- libavformat/mxfenc.c | 99 +--- 1 file changed, 55 insertions(+), 44 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 035e65ed43..ed6ecbf541 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -101,6

[FFmpeg-devel] [PATCH 4/4] fate/mxf: add reel name test

2017-11-26 Thread Mark Reid
--- tests/fate/mxf.mak | 8 ++-- tests/ref/fate/mxf-reel_name | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 tests/ref/fate/mxf-reel_name diff --git a/tests/fate/mxf.mak b/tests/fate/mxf.mak index 7714b61569..dce23d522e 100644 --- a/tests/fate/mxf.mak

[FFmpeg-devel] [PATCH 0/4] avformat/mxfenc add reel_name write support

2017-11-26 Thread Mark Reid
t metadata are calculated. Mark Reid (4): avformat/mxfenc: pass MXFPackage around instead of type avformat/mxfenc: use track count to generate component instance uuid avformat/mxfenc: write reel_name if metadata key is present fate/mxf: add reel name test libavformat/mxf.h | 2 +- l

Re: [FFmpeg-devel] [PATCH] avcodec/dnxhdenc: DNxHR 444 and HQX support

2017-03-27 Thread Mark Reid
On Mon, Mar 27, 2017 at 3:14 PM, Paul B Mahol <one...@gmail.com> wrote: > On 3/27/17, Paul B Mahol <one...@gmail.com> wrote: > > On 3/27/17, Mark Reid <mindm...@gmail.com> wrote: > >> On Mon, Mar 27, 2017 at 11:08 AM, Paul B Mahol <one...@gmail.com> >

Re: [FFmpeg-devel] [PATCH] avcodec/dnxhdenc: DNxHR 444 and HQX support

2017-03-27 Thread Mark Reid
On Mon, Mar 27, 2017 at 11:08 AM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/dnxhdenc.c | 227 ++ > +--- > libavcodec/dnxhdenc.h | 6 +- > 2 files changed, 163 insertions(+), 70

Re: [FFmpeg-devel] [PATCH] avcodec/dnxhd_parser: take into account compressed frame size and skip it

2017-03-21 Thread Mark Reid
On Tue, Mar 21, 2017 at 11:02 AM, Michael Niedermayer < mich...@niedermayer.cc> wrote: > On Tue, Mar 21, 2017 at 03:36:39PM +0100, Paul B Mahol wrote: > > Fixes #6214. > > > > Signed-off-by: Paul B Mahol > > --- > > libavcodec/dnxhd_parser.c | 65 ++

Re: [FFmpeg-devel] [PATCH] libavcodec/dnxhd: add support more dnxhr header prefixes

2017-03-21 Thread Mark Reid
On Tue, Mar 21, 2017 at 9:40 AM, Mark Reid <mindm...@gmail.com> wrote: > > > On Mon, Mar 20, 2017 at 12:48 PM, Paul B Mahol <one...@gmail.com> wrote: > >> On 7/12/16, Mark Reid <mindm...@gmail.com> wrote: >> > Hi, >> > The following patch ad

Re: [FFmpeg-devel] [PATCH] libavcodec/dnxhd: add support more dnxhr header prefixes

2017-03-21 Thread Mark Reid
On Mon, Mar 20, 2017 at 12:48 PM, Paul B Mahol <one...@gmail.com> wrote: > On 7/12/16, Mark Reid <mindm...@gmail.com> wrote: > > Hi, > > The following patch adds support for detecting more dnxhr header > prefixes. > > > > After generating many random r

[FFmpeg-devel] [PATCH 4/4] tests/fate: add mxf metadata streams test

2016-09-21 Thread Mark Reid
--- tests/fate/mxf.mak | 6 ++ tests/ref/fate/mxf-metadata-source-ref1 | 13 + tests/ref/fate/mxf-metadata-source-ref2 | 13 + 3 files changed, 32 insertions(+) create mode 100644 tests/ref/fate/mxf-metadata-source-ref1 create mode 100644

[FFmpeg-devel] [PATCH 1/4] libavformat/mxfdec: export track name metadata

2016-09-21 Thread Mark Reid
--- libavformat/mxfdec.c | 79 +--- 1 file changed, 44 insertions(+), 35 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 1939761..23591b2 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -155,6 +155,7 @@

[FFmpeg-devel] [PATCH 0/4] add track name metadata and metadata streams for external referenced sourceclips

2016-09-21 Thread Mark Reid
this feature. the fate test just two of these files https://dl.dropboxusercontent.com/u/170952/fate/mxf/track_01_v02.mxf https://dl.dropboxusercontent.com/u/170952/fate/mxf/track_02_a01.mxf Mark Reid (4): libavformat/mxfdec: export track name metadata libavformat/mxfdec: don't assume first

[FFmpeg-devel] [PATCH 2/4] libavformat/mxfdec: don't assume first stream index to be primary

2016-09-21 Thread Mark Reid
--- libavformat/mxfdec.c | 48 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 23591b2..a22b2d6 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -1472,6 +1472,14 @@

[FFmpeg-devel] [PATCH 3/4] libavformat/mxfdec: add metadata streams for external referenced sourclips

2016-09-21 Thread Mark Reid
--- libavformat/mxfdec.c | 47 --- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index a22b2d6..ef53eb6 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -102,6 +102,7 @@ typedef

[FFmpeg-devel] [PATCH 1/2] avformat/mxfdec: use first valid sourceclip found if material track has multiple components

2016-09-18 Thread Mark Reid
hi, This patch fixes a issue with mxf footage having multiple components on a material track. here is a link to the sample footage for the second patches fate test https://dl.dropboxusercontent.com/u/170952/fate/mxf/multiple_components.mxf --- libavformat/mxfdec.c | 8 +++- 1 file changed,

[FFmpeg-devel] [PATCH 2/2] test/fate: add multi component mxf test

2016-09-18 Thread Mark Reid
--- tests/fate/mxf.mak | 3 +++ tests/ref/fate/mxf-multiple-components-demux | 11 +++ 2 files changed, 14 insertions(+) create mode 100644 tests/ref/fate/mxf-multiple-components-demux diff --git a/tests/fate/mxf.mak b/tests/fate/mxf.mak index 6032c85..e95c0b5

[FFmpeg-devel] [PATCH v2] tests/fate/vcodec: add dnxhr mov tests

2016-08-21 Thread Mark Reid
--- tests/fate/vcodec.mak| 18 +- tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov | 4 tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov | 4 tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov | 4 tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov | 4

[FFmpeg-devel] [PATCH] libavcodec/dnxhdenc: fix typo, check if profile is dnxhr 444 or hqx

2016-08-21 Thread Mark Reid
--- libavcodec/dnxhdenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index d8289a4..88edd6b 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -324,7 +324,7 @@ static av_cold int dnxhd_encode_init(AVCodecContext

[FFmpeg-devel] [PATCH 1/2] libavcodec/dnxhdenc: add edge emulate for dnxhr

2016-08-07 Thread Mark Reid
Hi This patch fixes dnxhr encoders handling for resolutions that are not multiples of 16. --- libavcodec/dnxhdenc.c | 71 +++ libavcodec/dnxhdenc.h | 2 ++ 2 files changed, 56 insertions(+), 17 deletions(-) diff --git a/libavcodec/dnxhdenc.c

[FFmpeg-devel] [PATCH 2/2] tests/fate/vcodec: add dnxhr edge tests

2016-08-07 Thread Mark Reid
--- tests/fate/vcodec.mak | 20 +++- tests/ref/vsynth/vsynth1-dnxhd-edge1-hr | 4 tests/ref/vsynth/vsynth1-dnxhd-edge2-hr | 4 tests/ref/vsynth/vsynth1-dnxhd-edge3-hr | 4 tests/ref/vsynth/vsynth2-dnxhd-edge1-hr | 4

Re: [FFmpeg-devel] [PATCH 5/6] libavformat/mxf: add dnxhr codec ul

2016-08-07 Thread Mark Reid
On Aug 7, 2016 11:14 AM, "Michael Niedermayer" <mich...@niedermayer.cc> wrote: > > On Sun, Aug 07, 2016 at 03:49:34PM +0200, Tomas Härdin wrote: > > On Mon, 2016-07-04 at 18:07 -0700, Mark Reid wrote: > > > diff --git a/libavformat/mxfdec.c b/libavformat/

Re: [FFmpeg-devel] [PATCH] tests/fate/dnxhd: add dnxhr mov tests

2016-08-07 Thread Mark Reid
On Aug 3, 2016 6:46 PM, "Michael Niedermayer" <mich...@niedermayer.cc> wrote: > > On Wed, Aug 03, 2016 at 02:06:21PM -0700, Mark Reid wrote: > > --- > > tests/fate/vcodec.mak| 18 +- > > tests/ref/vsynth/vsynth1-dnxh

[FFmpeg-devel] [PATCH] libavcodec/dnxhdenc: remove setting the codec_tag

2016-08-03 Thread Mark Reid
setting the codec_tag no longer needed by movenc it uses the dnxhr profile instead --- libavcodec/dnxhdenc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index b0ee8a2..cbf4cd5 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@

Re: [FFmpeg-devel] [PATCH] fate: add DNxHR 12-bit example.

2016-08-03 Thread Mark Reid
On Tue, Aug 2, 2016 at 11:51 PM, Steven Robertson wrote: > Test file available at http://tinyurl.com/fate-dnxhd-12bit . > > Signed-off-by: Steven Robertson > --- > tests/fate/dnxhd.mak | 2 ++ > tests/ref/fate/dnxhr-12bit | 6 ++ > 2 files changed,

[FFmpeg-devel] [PATCH] tests/fate/dnxhd: add dnxhr mov tests

2016-08-03 Thread Mark Reid
--- tests/fate/vcodec.mak| 18 +- tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov | 4 tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov | 4 tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov | 4 tests/ref/vsynth/vsynth1-dnxhd-uhd-hr-mov| 4

[FFmpeg-devel] [PATCH v2] tests/fate: add dnxhr encoding tests

2016-07-23 Thread Mark Reid
added sws_flags flags and tested against x86_32 --- tests/fate/seek.mak | 2 ++ tests/fate/vcodec.mak | 26 - tests/ref/seek/vsynth_lena-dnxhd-4k-hr-lb | 40 +++ tests/ref/vsynth/vsynth1-dnxhd-2k-hr-hq

Re: [FFmpeg-devel] [PATCH] tests/fate: add dnxhr encoding tests

2016-07-23 Thread Mark Reid
On Sat, Jul 23, 2016 at 2:12 PM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Sat, Jul 23, 2016 at 12:38:33PM -0700, Mark Reid wrote: >> --- >> tests/fate/seek.mak | 2 ++ >> tests/fate/vcodec.mak | 22 ++

Re: [FFmpeg-devel] [PATCH v5 0/2] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-23 Thread Mark Reid
On Sat, Jul 23, 2016 at 5:08 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Fri, Jul 22, 2016 at 01:30:13PM -0700, Mark Reid wrote: >> changes since v4: >> * use profile to set codec tag >> >> to test >> ffmpeg -i lb_uhd.mxf -vcodec copy out.mo

[FFmpeg-devel] [PATCH] tests/fate: add dnxhr encoding tests

2016-07-23 Thread Mark Reid
--- tests/fate/seek.mak | 2 ++ tests/fate/vcodec.mak | 22 ++- tests/ref/seek/vsynth_lena-dnxhd-4k-hr-lb | 40 +++ tests/ref/vsynth/vsynth1-dnxhd-2k-hr-hq | 4 +++

[FFmpeg-devel] [PATCH v5 2/2] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-22 Thread Mark Reid
--- libavformat/movenc.c | 31 ++- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index d614933..014b465 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -32,6 +32,7 @@ #include "isom.h"

[FFmpeg-devel] [PATCH v5 1/2] ffmpeg.c: copy video profile when using stream_copy

2016-07-22 Thread Mark Reid
--- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index b29be1e..1367920 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3019,6 +3019,7 @@ static int transcode_init(void) enc_ctx->width = dec_ctx->width; enc_ctx->height

[FFmpeg-devel] [PATCH v5 0/2] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-22 Thread Mark Reid
changes since v4: * use profile to set codec tag to test ffmpeg -i lb_uhd.mxf -vcodec copy out.mov here are some samples: https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/mxf/UHD/lb_uhd.mxf https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/mxf/UHD/hqx_uhd.mxf Mark Reid (2

[FFmpeg-devel] [PATCH] tests/fate/dnxhd: add dnxhr prefix tests

2016-07-20 Thread Mark Reid
The data offset value in the prefix increases as the heights increases. This test adds a tests for some common dnxhr heights. can somebody add the following test footage to fate/dnxhd? https://dl.dropboxusercontent.com/u/170952/fate/dnxhd/prefix-256x1536.dnxhr

[FFmpeg-devel] [PATCH 1/1] libavformat/rawenc: add dnxhr raw format extension

2016-07-20 Thread Mark Reid
--- libavformat/rawenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c index 4b8b41c..c4d7a90 100644 --- a/libavformat/rawenc.c +++ b/libavformat/rawenc.c @@ -128,7 +128,7 @@ AVOutputFormat ff_dirac_muxer = { AVOutputFormat

Re: [FFmpeg-devel] [PATCH 1/4] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-18 Thread Mark Reid
On Mon, Jul 18, 2016 at 6:27 PM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Mon, Jul 18, 2016 at 05:39:46PM -0700, Mark Reid wrote: >> On Jul 18, 2016 5:11 PM, "Michael Niedermayer" <mich...@niedermayer.cc> >> wrote: >> > >> > On

[FFmpeg-devel] [PATCH v4] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-18 Thread Mark Reid
To test you need to set -vtag flag ffmpeg -i lb_uhd.mxf -vcodec copy -vtag AVdh out.mov here are some samples: https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/mxf/UHD/lb_uhd.mxf https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/mxf/UHD/hqx_uhd.mxf --- libavformat/movenc.c |

Re: [FFmpeg-devel] [PATCH 1/4] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-18 Thread Mark Reid
On Jul 18, 2016 5:11 PM, "Michael Niedermayer" <mich...@niedermayer.cc> wrote: > > On Mon, Jul 18, 2016 at 04:37:49PM -0700, Mark Reid wrote: > > On Sun, Jul 17, 2016 at 4:35 AM, Michael Niedermayer > > <mich...@niedermayer.cc> wrote: > > > On Sat,

Re: [FFmpeg-devel] [PATCH 0/4] libavcodec/dnxhdenc: add support for dnxhr encoding

2016-07-18 Thread Mark Reid
On Mon, Jul 18, 2016 at 3:50 PM, Carl Eugen Hoyos <ceho...@ag.or.at> wrote: > Mark Reid gmail.com> writes: > >> I meant add the extension to the raw muxer. Yes it would trival. > > Sounds like a good idea. okay will do, I'll send a patch > >> The raw dnxh

Re: [FFmpeg-devel] [PATCH] libavcodec/dnxhd: add support more dnxhr header prefixes

2016-07-18 Thread Mark Reid
On Sat, Jul 16, 2016 at 7:16 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Mon, Jul 11, 2016 at 07:07:21PM -0700, Mark Reid wrote: >> --- >> libavcodec/dnxhddata.h | 15 +++ >> libavcodec/dnxhddec.c | 2 +- >> 2 files chang

Re: [FFmpeg-devel] [PATCH 1/4] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-18 Thread Mark Reid
On Sun, Jul 17, 2016 at 4:35 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Sat, Jul 16, 2016 at 07:37:36PM -0700, Mark Reid wrote: >> --- >> libavcodec/dnxhddec.c | 3 +++ >> libavformat/movenc.c | 19 ++- >> 2 files chang

Re: [FFmpeg-devel] [PATCH 0/4] libavcodec/dnxhdenc: add support for dnxhr encoding

2016-07-18 Thread Mark Reid
On Mon, Jul 18, 2016 at 3:12 PM, Carl Eugen Hoyos <ceho...@ag.or.at> wrote: > Mark Reid gmail.com> writes: > >> On Sun, Jul 17, 2016 at 11:06 AM, Carl Eugen Hoyos wrote: >> > Mark Reid gmail.com> writes: >> > >> >> The following patch serie

Re: [FFmpeg-devel] [PATCH 0/4] libavcodec/dnxhdenc: add support for dnxhr encoding

2016-07-18 Thread Mark Reid
On Sun, Jul 17, 2016 at 11:06 AM, Carl Eugen Hoyos <ceho...@ag.or.at> wrote: > Mark Reid gmail.com> writes: > >> The following patch series adds support for dnxhr encoding. >> I added dnxhr as a profile to the dnxhd encoder. > > Is there also a raw forma

[FFmpeg-devel] [PATCH 4/4] libavcodec/dnxhdenc: add support for dnxhr encoding

2016-07-16 Thread Mark Reid
--- libavcodec/dnxhddata.c | 31 +++--- libavcodec/dnxhddata.h | 1 + libavcodec/dnxhdenc.c | 85 +- libavcodec/dnxhdenc.h | 5 +++ 4 files changed, 103 insertions(+), 19 deletions(-) diff --git a/libavcodec/dnxhddata.c

[FFmpeg-devel] [PATCH 3/4] libavcodec/dnxhdenc: add support for variable mircoblock counts

2016-07-16 Thread Mark Reid
dnxhr has variable resolution, 8160 is the mb num for 1920x1080 --- libavcodec/dnxhdenc.c | 41 +++-- libavcodec/dnxhdenc.h | 2 +- 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index

[FFmpeg-devel] [PATCH 2/4] libavcodec/dnxhd: add dnxhr profiles

2016-07-16 Thread Mark Reid
--- libavcodec/avcodec.h| 7 +++ libavcodec/codec_desc.c | 1 + libavcodec/dnxhddec.c | 21 + libavcodec/dnxhdenc.c | 2 ++ libavcodec/profiles.c | 10 ++ libavcodec/profiles.h | 1 + 6 files changed, 42 insertions(+) diff --git

[FFmpeg-devel] [PATCH 1/4] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-16 Thread Mark Reid
--- libavcodec/dnxhddec.c | 3 +++ libavformat/movenc.c | 19 ++- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 5b60326..4c6f708 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -204,6 +204,9

[FFmpeg-devel] [PATCH] libavcodec/dnxhd: add support more dnxhr header prefixes

2016-07-11 Thread Mark Reid
--- libavcodec/dnxhddata.h | 15 +++ libavcodec/dnxhddec.c | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h index 3ae4683..2394e04 100644 --- a/libavcodec/dnxhddata.h +++ b/libavcodec/dnxhddata.h @@ -34,8 +34,6

[FFmpeg-devel] [PATCH] libavcodec/dnxhd: add support more dnxhr header prefixes

2016-07-11 Thread Mark Reid
https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/new_header_prefixs/lb_custom_2766x3234.mov https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/new_header_prefixs/lb_custom_3462x2134.mov Mark Reid (1): libavcodec/dnxhd: add support more dnxhr header prefixes libavcodec/dnxhddata.h

Re: [FFmpeg-devel] [PATCH v3] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-06 Thread Mark Reid
On Wed, Jul 6, 2016 at 3:41 PM, Mark Reid <mindm...@gmail.com> wrote: > --- > libavcodec/dnxhddec.c | 3 +++ > libavformat/movenc.c | 19 ++- > 2 files changed, 17 insertions(+), 5 deletions(-) > > diff --git a/libavcodec/dnxhddec.c b/libavcodec/dn

[FFmpeg-devel] [PATCH v3] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-06 Thread Mark Reid
--- libavcodec/dnxhddec.c | 3 +++ libavformat/movenc.c | 19 ++- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 1808080..b310e3e 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -204,6 +204,9

[FFmpeg-devel] [PATCH v3] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-06 Thread Mark Reid
Mark Reid (1): libavformat/movenc: add dnxhr compatibility for apple players libavcodec/dnxhddec.c | 3 +++ libavformat/movenc.c | 19 ++- 2 files changed, 17 insertions(+), 5 deletions(-) -- 2.7.3 ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH v2] libavcodec/dnxhd: added dnxhr profiles

2016-07-06 Thread Mark Reid
On Wed, Jul 6, 2016 at 2:31 AM, Rostislav Pehlivanov <atomnu...@gmail.com> wrote: > On 6 July 2016 at 03:46, Mark Reid <mindm...@gmail.com> wrote: > >> --- >> libavcodec/avcodec.h| 7 +++ >> libavcodec/codec_desc.c |

[FFmpeg-devel] [PATCH v2] libavcodec/dnxhd: added dnxhr profiles

2016-07-05 Thread Mark Reid
--- libavcodec/avcodec.h| 7 +++ libavcodec/codec_desc.c | 1 + libavcodec/dnxhddec.c | 20 libavcodec/profiles.c | 10 ++ libavcodec/profiles.h | 1 + 5 files changed, 39 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index

[FFmpeg-devel] [PATCH v2] libavcodec/dnxhd: added dnxhr profiles

2016-07-05 Thread Mark Reid
://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/mxf/UHD/hqx_uhd.mxf https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/mxf/UHD/444_uhd.dnxhr the hqx and 444 ones won't work as they are 12bit, but the cids (compression ids) should be correct Mark Reid (1): libavcodec/dnxhd: added dnxhr

Re: [FFmpeg-devel] [PATCH 6/6] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-05 Thread Mark Reid
On Tue, Jul 5, 2016 at 1:53 AM, Carl Eugen Hoyos <ceho...@ag.or.at> wrote: > Mark Reid gmail.com> writes: > >> if (track->vos_data && track->vos_len > 0x29) { >> -if (track->vos_data[0] == 0x00 && >> -tr

Re: [FFmpeg-devel] [PATCH 0/6] dnxhr improvements

2016-07-04 Thread Mark Reid
On Mon, Jul 4, 2016 at 6:37 PM, Rostislav Pehlivanov <atomnu...@gmail.com> wrote: > On 5 July 2016 at 02:20, Rostislav Pehlivanov <atomnu...@gmail.com> wrote: > >> >> >> On 5 July 2016 at 02:06, Mark Reid <mindm...@gmail.com> wrote: >> >>>

[FFmpeg-devel] [PATCH 6/6] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-04 Thread Mark Reid
--- libavformat/movenc.c | 34 +++--- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index d614933..e97fb74 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -32,6 +32,7 @@ #include "isom.h"

[FFmpeg-devel] [PATCH 3/6] libavformat/dnxhd: add dnxhr probe and raw muxer

2016-07-04 Thread Mark Reid
--- libavformat/allformats.c | 1 + libavformat/dnxhddec.c | 22 -- libavformat/rawenc.c | 11 +++ libavformat/version.h| 2 +- 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/libavformat/allformats.c b/libavformat/allformats.c index

[FFmpeg-devel] [PATCH 4/6] libavformat/isom: use dnxhr codec id

2016-07-04 Thread Mark Reid
--- libavformat/isom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/isom.c b/libavformat/isom.c index d412f06..e14d5af 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -246,7 +246,7 @@ const AVCodecTag ff_codec_movvideo_tags[] = { {

[FFmpeg-devel] [PATCH 2/6] libavcodec/dnxhd: add dnxhr parser and decoder

2016-07-04 Thread Mark Reid
--- libavcodec/allcodecs.c| 2 ++ libavcodec/dnxhd_parser.c | 7 +++ libavcodec/dnxhddec.c | 14 ++ 3 files changed, 23 insertions(+) diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 54efaad..87196e2 100644 --- a/libavcodec/allcodecs.c +++

[FFmpeg-devel] [PATCH 5/6] libavformat/mxf: add dnxhr codec ul

2016-07-04 Thread Mark Reid
--- libavformat/mxf.c| 1 + libavformat/mxfdec.c | 4 2 files changed, 5 insertions(+) diff --git a/libavformat/mxf.c b/libavformat/mxf.c index e9c48e8..db6ce7b 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -54,6 +54,7 @@ const MXFCodecUL ff_mxf_codec_uls[] = { { {

[FFmpeg-devel] [PATCH 1/6] libavcodec/avcodec: add AV_CODEC_ID_DNXHR

2016-07-04 Thread Mark Reid
--- libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/version.h| 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 39713ed..df6a50e 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@

[FFmpeg-devel] [PATCH 0/6] dnxhr improvements

2016-07-04 Thread Mark Reid
/170952/ffmpeg_samples/mxf/UHD/lb_uhd.mxf The last patch also adds support for muxing apple quicktime compatible dnxhr mov files. ffmpeg -i lb_uhd.mxf -vcodec copy out.mov This should produce a mov that is playable in apple quicktime provided you have avid le codecs installed. Mark Reid (6

[FFmpeg-devel] [PATCH] libavformat/movenc: remove unnecessary null check

2016-05-29 Thread Mark Reid
Fixes CID1361955 --- libavformat/movenc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 49cd1bd..3a633a6 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1894,9 +1894,7 @@ static int

Re: [FFmpeg-devel] FATE error on dnxhr-parse

2016-02-19 Thread Mark Reid
On Feb 19, 2016 1:23 PM, "James Almer" wrote: > > On 2/19/2016 6:09 PM, Mats Peterson wrote: > > Just got this FATE error, Michael. Why? My changes can't possibly affect this part, can they? > > > > --- ./tests/ref/fate/dnxhr-parse2016-02-19 17:36:39.051308004 +0100 > > +++

[FFmpeg-devel] [PATCH] tests/fate: added dnxhr parser regression test

2016-02-15 Thread Mark Reid
Hi, This patch adds a fate test for the parsing raw dnxhr streams. Can someone add this test footage to fate for me? https://dl.dropboxusercontent.com/u/170952/fate/dnxhd/dnxhr_cid1274.dnxhr it goes in FATE_ROOT/dnxhd/dnxhr_cid1274.dnxhr Mark Reid (1): tests/fate: added dnxhr parser regression

[FFmpeg-devel] [PATCH] tests/fate: added dnxhr parser regression test

2016-02-15 Thread Mark Reid
--- tests/fate/dnxhd.mak | 4 +++- tests/ref/fate/dnxhr-parse | 5 + 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 tests/ref/fate/dnxhr-parse diff --git a/tests/fate/dnxhd.mak b/tests/fate/dnxhd.mak index 6d79f3b..b7f8b17 100644 --- a/tests/fate/dnxhd.mak +++

Re: [FFmpeg-devel] [PATCH v2 2/2] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Mark Reid
On Fri, Feb 12, 2016 at 6:12 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Thu, Feb 11, 2016 at 08:41:16PM -0800, Mark Reid wrote: >> --- >> libavcodec/dnxhd_parser.c | 11 +++ >> libavformat/dnxhddec.c| 7 --- >> 2 files chang

[FFmpeg-devel] [PATCH v3] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Mark Reid
--- libavcodec/dnxhd_parser.c | 7 +++ libavcodec/dnxhddata.c| 8 libavcodec/dnxhddata.h| 18 +- libavcodec/dnxhddec.c | 12 libavformat/dnxhddec.c| 7 --- 5 files changed, 36 insertions(+), 16 deletions(-) diff --git

[FFmpeg-devel] [PATCH v3] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Mark Reid
changes since v2: removed table and enums, using defines for prefixes instead. parser now uses a inline function. Mark Reid (1): libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats libavcodec/dnxhd_parser.c | 7 +++ libavcodec/dnxhddata.c| 8

[FFmpeg-devel] [PATCH v4] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Mark Reid
--- libavcodec/dnxhd_parser.c | 7 +++ libavcodec/dnxhddata.c| 8 libavcodec/dnxhddata.h| 18 +- libavcodec/dnxhddec.c | 12 libavformat/dnxhddec.c| 7 --- 5 files changed, 36 insertions(+), 16 deletions(-) diff --git

[FFmpeg-devel] [PATCH v4] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Mark Reid
changes since v3: fixed inconsistent indentation. Mark Reid (1): libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats libavcodec/dnxhd_parser.c | 7 +++ libavcodec/dnxhddata.c| 8 libavcodec/dnxhddata.h| 18 +- libavcodec

[FFmpeg-devel] [PATCH v2 1/2] libavcodec/dnxhddec: refactor header prefix parsing

2016-02-11 Thread Mark Reid
--- libavcodec/dnxhddata.c | 17 + libavcodec/dnxhddata.h | 11 +++ libavcodec/dnxhddec.c | 11 --- 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c index 82fbfdf..5b909b6 100644 ---

[FFmpeg-devel] [PATCH v2 2/2] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-11 Thread Mark Reid
--- libavcodec/dnxhd_parser.c | 11 +++ libavformat/dnxhddec.c| 7 --- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/libavcodec/dnxhd_parser.c b/libavcodec/dnxhd_parser.c index fffb98f..96f6eff 100644 --- a/libavcodec/dnxhd_parser.c +++

[FFmpeg-devel] [PATCH v2 0/2] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-11 Thread Mark Reid
changes since v1: broke into 2 patches, parser and probe now source header prefixes values from dnxhddata.c Mark Reid (2): libavcodec/dnxhddec: refactor header prefix parsing libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats libavcodec/dnxhd_parser.c | 11

Re: [FFmpeg-devel] [PATCH] libavformat/dnxhddec added support for raw 444 and dnxhr formats

2016-02-08 Thread Mark Reid
On Mon, Feb 8, 2016 at 1:25 AM, Christophe Gisquet wrote: > Hi, > > 2016-02-08 8:15 GMT+01:00 Christophe Gisquet : >> At this point, I'd say the encoder would better use that prefix. >> That's what the attached patch does (rebased but

[FFmpeg-devel] [PATCH] libavformat/dnxhddec added support for raw 444 and dnxhr formats

2016-02-07 Thread Mark Reid
--- libavcodec/dnxhd_parser.c | 19 --- libavformat/dnxhddec.c| 14 +++--- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/libavcodec/dnxhd_parser.c b/libavcodec/dnxhd_parser.c index fffb98f..83bfda8 100644 --- a/libavcodec/dnxhd_parser.c +++

[FFmpeg-devel] [PATCH] libavformat/dnxhddec added support for raw 444 and dnxhr

2016-02-07 Thread Mark Reid
Hi, This patch enable demuxing of raw 444 and dnxhr streams. To generate a raw stream of dnxhr (since there is no encoder support yet) ffmpeg -i fate-suite/dnxhd/dnxhr444_cid1270.mov -an -vcodec copy out.dnxhd ffplay out.dnxhd Mark Reid (1): libavformat/dnxhddec added support for raw 444

Re: [FFmpeg-devel] [PATCH v2] libavformat/mxfenc: added support mxf opatom audio muxing

2015-04-11 Thread Mark Reid
On Sat, Apr 11, 2015 at 4:58 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Tomas Härdin tomas.hardin at codemill.se writes: +av_log(s, AV_LOG_ERROR, MXF OPAtom only supports 16 or 24 bits le audio\n); This should perhaps be reworded as Only 16- and 24-bit LE is implemented

[FFmpeg-devel] [PATCH v3] libavformat/mxfenc: added support mxf opatom audio muxing

2015-04-11 Thread Mark Reid
--- libavformat/mxfenc.c | 102 ++- 1 file changed, 85 insertions(+), 17 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 7b400b3..0b8dfd6 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -313,6 +313,7 @@

[FFmpeg-devel] [PATCH v3] libavformat/mxfenc: added support mxf opatom audio muxing

2015-04-11 Thread Mark Reid
changes since v2: * re-worded error message if incorrect audio codec used Mark Reid (1): libavformat/mxfenc: added support mxf opatom audio muxing libavformat/mxfenc.c | 102 ++- 1 file changed, 85 insertions(+), 17 deletions(-) -- 2.2.1

[FFmpeg-devel] [PATCH v2] libavformat/mxfenc: added support mxf opatom audio muxing

2015-04-10 Thread Mark Reid
changes since v1: *rename mxf_audio_tcr to mxf_audio_edit_rate Mark Reid (1): libavformat/mxfenc: added support mxf opatom audio muxing libavformat/mxfenc.c | 102 ++- 1 file changed, 85 insertions(+), 17 deletions(-) -- 2.2.1

  1   2   >