Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-15 Thread Paul B Mahol
On 4/11/18, Matt Kitcat  wrote:
> Thanks. That makes sense. IS there a way I can change this. I
> tried -color_range 1/2 but it makes no difference.

Try zscale filter to convert rgb48 to yuv444p10 format.
Also dnxhd encoder in ffmpeg supports rgba directly so no need of all this.

>
> -Original Message-
> From: Martin Vignali
> Sent: Wednesday, April 11, 2018 3:22 PM
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
>> There is also an image http://elmtreecottages.co.uk/Charts.jpg which
>> shows a screen example of the difference. (ffmpeg on the left) The
>> quicktime version is, to me, indistinguishable from the source tiff in
>> terms of colour. The ffmpeg version is less saturated and a bit "milky". I
>> have been searching for hours for any way to get the correct output. This
>> happens with dnxhd dnxhq and dnxhdr. Given that re-encoding the quicktime
>> version with ffmpeg does not produce the same colour shift, i.e. the
>> output
>> is identical I am thinking it is the way ffmpeg is dealing with the tiffs
>> rather than the way the encoder is behaving, if this makes sense.
>>
>> Any ideas how/if I can resolve this?
>
>
> Seems like the ffmpeg file is in YUV full range, and the Quicktime output
> is in YUV legal range.
> Also called jpeg range (= full range), and mpeg range (legal range).
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-11 Thread Wayne Poll
> There is also an image http://elmtreecottages.co.uk/Charts.jpg which
> shows a screen example of the difference. (ffmpeg on the left) The
> quicktime version is, to me, indistinguishable from the source tiff in
> terms of colour. The ffmpeg version is less saturated and a bit "milky". I
> have been searching for hours for any way to get the correct output. This
> happens with dnxhd dnxhq and dnxhdr. Given that re-encoding the quicktime
> version with ffmpeg does not produce the same colour shift, i.e. the output
> is identical I am thinking it is the way ffmpeg is dealing with the tiffs
> rather than the way the encoder is behaving, if this makes sense.
>
> Any ideas how/if I can resolve this?
>
>
> Seems like the ffmpeg file is in YUV full range, and the Quicktime output
> is in YUV legal range.
> Also called jpeg range (= full range), and mpeg range (legal range).
>

Of possible a slight difference in gamma?

Wayne..

> Martin
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-11 Thread Matt Kitcat
Thanks. That makes sense. IS there a way I can change this. I 
tried -color_range 1/2 but it makes no difference.


-Original Message- 
From: Martin Vignali

Sent: Wednesday, April 11, 2018 3:22 PM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Convert images to DNXHD 444


There is also an image http://elmtreecottages.co.uk/Charts.jpg which
shows a screen example of the difference. (ffmpeg on the left) The
quicktime version is, to me, indistinguishable from the source tiff in
terms of colour. The ffmpeg version is less saturated and a bit "milky". I
have been searching for hours for any way to get the correct output. This
happens with dnxhd dnxhq and dnxhdr. Given that re-encoding the quicktime
version with ffmpeg does not produce the same colour shift, i.e. the 
output

is identical I am thinking it is the way ffmpeg is dealing with the tiffs
rather than the way the encoder is behaving, if this makes sense.

Any ideas how/if I can resolve this?



Seems like the ffmpeg file is in YUV full range, and the Quicktime output
is in YUV legal range.
Also called jpeg range (= full range), and mpeg range (legal range).

Martin
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". 


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-11 Thread Martin Vignali
> There is also an image http://elmtreecottages.co.uk/Charts.jpg which
> shows a screen example of the difference. (ffmpeg on the left) The
> quicktime version is, to me, indistinguishable from the source tiff in
> terms of colour. The ffmpeg version is less saturated and a bit "milky". I
> have been searching for hours for any way to get the correct output. This
> happens with dnxhd dnxhq and dnxhdr. Given that re-encoding the quicktime
> version with ffmpeg does not produce the same colour shift, i.e. the output
> is identical I am thinking it is the way ffmpeg is dealing with the tiffs
> rather than the way the encoder is behaving, if this makes sense.
>
> Any ideas how/if I can resolve this?


Seems like the ffmpeg file is in YUV full range, and the Quicktime output
is in YUV legal range.
Also called jpeg range (= full range), and mpeg range (legal range).

Martin
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-11 Thread Matt Kitcat

Ok. Thanks. That works.
However all of these conversions produce output of the "wrong" colour.
If anybody has the time to take a look I have uploaded some examples;
I used the tiffs in the zip file http://elmtreecottages.co.uk/Tif.zip

There are two quicktimes http://elmtreecottages.co.uk/FFmpegDNX.mov which 
was produced with ffmpeg and 
http://elmtreecottages.co.uk/Test_0001gn_10_X1.mov which was produced with 
the Quicktime api.


There is also an image http://elmtreecottages.co.uk/Charts.jpg which shows a 
screen example of the difference. (ffmpeg on the left) The quicktime version 
is, to me, indistinguishable from the source tiff in terms of colour. The 
ffmpeg version is less saturated and a bit "milky". I have been searching 
for hours for any way to get the correct output. This happens with dnxhd 
dnxhq and dnxhdr. Given that re-encoding the quicktime version with ffmpeg 
does not produce the same colour shift, i.e. the output is identical I am 
thinking it is the way ffmpeg is dealing with the tiffs rather than the way 
the encoder is behaving, if this makes sense.


Any ideas how/if I can resolve this?

Matt


-Original Message- 
From: Gonzalo Garramuño

Sent: Tuesday, April 10, 2018 10:51 PM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Convert images to DNXHD 444



El 10/04/18 a las 18:14, Paul B Mahol escribió:

On 4/10/18, Matt Kitcat  wrote:


But I would also like to be able to generate DNxHR 444 and hqx as well.


Both are already supported, update your obsolete ffmpeg version.

I verified they are supported, but you need to be extremely careful with
the flags you pass to ffmpeg.  You also need to be careful with the
resolution of your images as that effects the bitrate ( -b:v ). And as
Carl pointed out, the frame rate must be a fraction and that fraction
must be a valid fraction by the AVID specs.

For DNxHR 444, this line should do it:

$ ffmpeg -i test.%04d.tif -r 6/1001 -codec:v dnxhd -profile:v
dnxhr_444 -b:v 880M  -pix_fmt yuv444p10 -y test_hr444.mov

For DNxHQX, the following line should do it:

$ ffmpeg -i test.%04d.tif -r 6/1001 -codec:v dnxhd -profile:v
dnxhr_hqx -b:v 880M  -pix_fmt yuv420p10 -y test_hqx.mov

--
Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". 


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-10 Thread Lou Logan
On Tue, Apr 10, 2018, at 1:51 PM, Gonzalo Garramuño wrote:

> For DNxHR 444, this line should do it:
> 
> $ ffmpeg -i test.%04d.tif -r 6/1001 -codec:v dnxhd -profile:v 
> dnxhr_444 -b:v 880M  -pix_fmt yuv444p10 -y test_hr444.mov

Use:

ffmpeg -framerate 6/1001 -i test.%04d.tif -codec:v dnxhd -profile:v 
dnxhr_444 -b:v 880M  -pix_fmt yuv444p10 -y test_hr444.mov

...to avoid 25 to 6/1001 conversion. 
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-10 Thread Gonzalo Garramuño



El 10/04/18 a las 18:14, Paul B Mahol escribió:

On 4/10/18, Matt Kitcat  wrote:


But I would also like to be able to generate DNxHR 444 and hqx as well.


Both are already supported, update your obsolete ffmpeg version.
I verified they are supported, but you need to be extremely careful with 
the flags you pass to ffmpeg.  You also need to be careful with the 
resolution of your images as that effects the bitrate ( -b:v ). And as 
Carl pointed out, the frame rate must be a fraction and that fraction 
must be a valid fraction by the AVID specs.


For DNxHR 444, this line should do it:

$ ffmpeg -i test.%04d.tif -r 6/1001 -codec:v dnxhd -profile:v 
dnxhr_444 -b:v 880M  -pix_fmt yuv444p10 -y test_hr444.mov


For DNxHQX, the following line should do it:

$ ffmpeg -i test.%04d.tif -r 6/1001 -codec:v dnxhd -profile:v 
dnxhr_hqx -b:v 880M  -pix_fmt yuv420p10 -y test_hqx.mov


--
Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-10 Thread Paul B Mahol
On 4/10/18, Matt Kitcat  wrote:
> Hi Guys.
> I am waiting for some test footage I can share because I have since
> discovered that creating YUV444 might not solve my underlying problem. This
> started when I generated a yuv422p10 DNxHD and the colours were different to
> the original tiff sequence (saturation down).
> I assumed it was due to it not being 444 but in fact a quicktime generated
> through Quicktime API produces "perfect" DNxHD with no discernable colour
> difference to the original MOV. I spent a day searching for an answer but
> nothing made a difference.  Like I say I will upload some examples as soon
> as I can get them, maybe tomorrow.
>
> But I would also like to be able to generate DNxHR 444 and hqx as well.
>

Both are already supported, update your obsolete ffmpeg version.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-10 Thread Matt Kitcat

Hi Guys.
I am waiting for some test footage I can share because I have since 
discovered that creating YUV444 might not solve my underlying problem. This 
started when I generated a yuv422p10 DNxHD and the colours were different to 
the original tiff sequence (saturation down).
I assumed it was due to it not being 444 but in fact a quicktime generated 
through Quicktime API produces "perfect" DNxHD with no discernable colour 
difference to the original MOV. I spent a day searching for an answer but 
nothing made a difference.  Like I say I will upload some examples as soon 
as I can get them, maybe tomorrow.


But I would also like to be able to generate DNxHR 444 and hqx as well.

Matt
-Original Message- 
From: Gonzalo Garramuño

Sent: Tuesday, April 10, 2018 5:56 PM
To: ffmpeg-user@ffmpeg.org
Subject: Re: [FFmpeg-user] Convert images to DNXHD 444



El 10/04/18 a las 07:37, Carl Eugen Hoyos escribió:

2018-04-09 23:08 GMT+02:00, Wayne Poll :

It is possible but the 440 profile isn't valid for 23.98fps material - 
you

should be using DNxHD 350x for 10-bit 4:4:4 RGB @ 23.98fps. The DNxHD 440
(8-bit) and DNxHD 440x (10-bit) are only valid at higher frame rates, 
such

as 29.97p, 59.94p and 60p

How can I reproduce this?

$ ffmpeg -i explosion_FG_040_persp.%04d.exr -r 24000/1001 -codec:v dnxhd
-profile:v dnxhd -bit_rate 120Mbps -pix_fmt yuv422p10 -bit_rate 90Mbps
-y test.mov

ffmpeg version N-90206-g8aa3007 Copyright (c) 2000-2018 the FFmpeg
developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
  configuration: --enable-gpl --enable-shared --enable-gray
--enable-runtime-cpudetect --enable-bzlib --enable-libfreetype
--enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libass --enable-libvpx --enable-libx264 --enable-libx265
  libavutil  56.  7.101 / 56.  7.101
  libavcodec 58. 13.100 / 58. 13.100
  libavformat58. 10.100 / 58. 10.100
  libavdevice58.  2.100 / 58.  2.100
  libavfilter 7. 12.100 /  7. 12.100
  libswscale  5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc55.  0.100 / 55.  0.100
Input #0, image2, from 'explosion_FG_040_persp.%04d.exr':
  Duration: 00:00:02.84, start: 0.00, bitrate: N/A
Stream #0:0: Video: exr, rgb48le, 1280x720 [SAR 1:1 DAR 16:9], 25
tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (exr (native) -> dnxhd (native))
Press [q] to stop, [?] for help

[dnxhd @ 0x2183c40] video parameters incompatible with DNxHD. Valid
DNxHD profiles:
[dnxhd @ 0x2183c40] Frame size: 1920x1080p; bit_depth=10; bitrate:
175Mbps; pixel format: yuv422p10
...etc...
[dnxhd @ 0x2183c40] Frame size: 1280x720p; bit_depth=10; bitrate:
90Mbps; pixel format: yuv422p10
...etc...

Assuming a resolution of 1280x720, the video parameters are okay, but
the bit rate gets passed as 20 always and that makes the check for
resolution and yuv not run.  I modified the code to print the bit rate
and that's how I found out.  I am hunting where the avctx->bit_rate gets
set to 20.  Maybe you can help, Carl?

--
Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". 


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-10 Thread Gonzalo Garramuño



El 10/04/18 a las 07:37, Carl Eugen Hoyos escribió:

2018-04-09 23:08 GMT+02:00, Wayne Poll :


It is possible but the 440 profile isn't valid for 23.98fps material - you
should be using DNxHD 350x for 10-bit 4:4:4 RGB @ 23.98fps. The DNxHD 440
(8-bit) and DNxHD 440x (10-bit) are only valid at higher frame rates, such
as 29.97p, 59.94p and 60p

How can I reproduce this?
$ ffmpeg -i explosion_FG_040_persp.%04d.exr -r 24000/1001 -codec:v dnxhd 
-profile:v dnxhd -bit_rate 120Mbps -pix_fmt yuv422p10 -bit_rate 90Mbps 
-y test.mov


ffmpeg version N-90206-g8aa3007 Copyright (c) 2000-2018 the FFmpeg 
developers

  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
  configuration: --enable-gpl --enable-shared --enable-gray 
--enable-runtime-cpudetect --enable-bzlib --enable-libfreetype 
--enable-libmp3lame --enable-libtheora --enable-libvorbis 
--enable-libass --enable-libvpx --enable-libx264 --enable-libx265

  libavutil  56.  7.101 / 56.  7.101
  libavcodec 58. 13.100 / 58. 13.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter 7. 12.100 /  7. 12.100
  libswscale  5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, image2, from 'explosion_FG_040_persp.%04d.exr':
  Duration: 00:00:02.84, start: 0.00, bitrate: N/A
    Stream #0:0: Video: exr, rgb48le, 1280x720 [SAR 1:1 DAR 16:9], 25 
tbr, 25 tbn, 25 tbc

Stream mapping:
  Stream #0:0 -> #0:0 (exr (native) -> dnxhd (native))
Press [q] to stop, [?] for help

[dnxhd @ 0x2183c40] video parameters incompatible with DNxHD. Valid 
DNxHD profiles:
[dnxhd @ 0x2183c40] Frame size: 1920x1080p; bit_depth=10; bitrate: 
175Mbps; pixel format: yuv422p10

...etc...
[dnxhd @ 0x2183c40] Frame size: 1280x720p; bit_depth=10; bitrate: 
90Mbps; pixel format: yuv422p10

...etc...

Assuming a resolution of 1280x720, the video parameters are okay, but 
the bit rate gets passed as 20 always and that makes the check for 
resolution and yuv not run.  I modified the code to print the bit rate 
and that's how I found out.  I am hunting where the avctx->bit_rate gets 
set to 20.  Maybe you can help, Carl?


--
Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-10 Thread Carl Eugen Hoyos
2018-04-09 19:38 GMT+02:00, Matt Kitcat :

> ffmpeg -r 23.976 -i
> C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif
> -c:v dnxhd -profile:v 3  -s 1920x1080

> -r 23.976

I suspect this is not a valid frame-rate for any real-world video,
-r 24000/1001 is.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-10 Thread Carl Eugen Hoyos
2018-04-09 23:08 GMT+02:00, Wayne Poll :

>> ffmpeg -r 23.976 -i
>> C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v dnxhd
>> -profile:v dnxhr_444  -s 1920x1080 -r 23.976  -y
>> C:\Users\Matt\Desktop\Newfolder\bt.mov
>>
>> This creates a file similar to quicktime export setting: 1080/23.976
>> DNxHD
>> 444 10 bit
>>
>> ffmpeg reports
>> Supported pixel formats: yuv422p yuv422p10le yuv444p10le gbrp10le
>>
>> So in fact I don't really want to create DNxHR but DNxHD 444 format. I
>> would have thought that could be possible?
>
> It is possible but the 440 profile isn't valid for 23.98fps material - you
> should be using DNxHD 350x for 10-bit 4:4:4 RGB @ 23.98fps. The DNxHD 440
> (8-bit) and DNxHD 440x (10-bit) are only valid at higher frame rates, such
> as 29.97p, 59.94p and 60p

How can I reproduce this?
Apart from being unmaintainable and outdated, I removed the
frame-rates from the help text of the encoder because I couldn't
find a player that refuses "invalid" frame-rates.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-09 Thread Gonzalo Garramuño



El 09/04/18 a las 15:29, Matt Kitcat escribió:
ffmpeg -r 23.976 -i 
C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v dnxhd 
-profile:v dnxhr_444  -s 1920x1080 -r 23.976  -y 
C:\Users\Matt\Desktop\Newfolder\bt.mov


This creates a file similar to quicktime export setting: 1080/23.976 
DNxHD 444 10 bit


ffmpeg reports
Supported pixel formats: yuv422p yuv422p10le yuv444p10le gbrp10le

So in fact I don't really want to create DNxHR but DNxHD 444 format. I 
would have thought that could be possible?
It should be possible, but there is a bug in the code.  You may want to 
open a ticket.  The problem is that the bit_rate is never passed to the 
encoding function, leading to all DNxHD formats to fail.  The value in 
avctx->bit_rate is bogus.
I looked at fixing it, but the function is not trivial.  I will try 
tomorrow with a more fresh mind.


--
Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-09 Thread Wayne Poll
> -Original Message-
> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Matt 
> Kitcat
> Sent: Tuesday, 10 April 2018 9:17
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
> Hi Wayne
> Can you expand on that a little, or perhaps give me an example based on my 
> command line. Sorry but I am a little un-familiar with ffmpeg.
> Thanks for the response.
>

I haven't tried this - I'm only commenting on  what might be possible. 

Something that is worth making yourself familiar with is the Avid DnxHD white 
paper - 
http://www.avid.com/~/media/avid/files/whitepaper-pdf/dnxhd.pdf?la=en&v20170331132307

The ffmpeg command line would look something like...

ffmpeg -i input_files -c:v dnxhd -vf 
scale=1920x1080,fps=24000/1001,format=yuv422p10 -b:v 350M output.mov 

The actual command line parameters will depend on the libraries that ffmpeg was 
compiled with. And note in my example above, the colour sub-sampling is 4:2:2 
and not 4:4:4 - I have not spotted an example of 4:4:4 encoding with DNxHD 
(although the DNxHD spec. allows for 4:4:4 colour sub-sampling, it may not have 
been implemented in ffmpeg - not sure).

Wayne...

>
> -Original Message-
> From: Wayne Poll
> Sent: Monday, April 9, 2018 10:08 PM
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
> -Original Message-
> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of 
> Matt Kitcat
> Sent: Tuesday, 10 April 2018 6:30
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
> ffmpeg -r 23.976 -i
> C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v dnxhd 
> -profile:v dnxhr_444  -s 1920x1080 -r 23.976  -y 
> C:\Users\Matt\Desktop\Newfolder\bt.mov
>
> This creates a file similar to quicktime export setting: 1080/23.976 
> DNxHD
> 444 10 bit
>
> ffmpeg reports
> Supported pixel formats: yuv422p yuv422p10le yuv444p10le gbrp10le
>
> So in fact I don't really want to create DNxHR but DNxHD 444 format. I 
> would have thought that could be possible?
>

It is possible but the 440 profile isn't valid for 23.98fps material - you 
should be using DNxHD 350x for 10-bit 4:4:4 RGB @ 23.98fps. The DNxHD 440
(8-bit) and DNxHD 440x (10-bit) are only valid at higher frame rates, such as 
29.97p, 59.94p and 60p

Wayne Poll

>
> -----Original Message-----
> From: Gonzalo Garramuño
> Sent: Monday, April 9, 2018 6:44 PM
> To: Matt Kitcat ; FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
>
>
> El 09/04/18 a las 14:38, Matt Kitcat escribió:
> Hi All
> I have been trying to convert an image sequence (16 bit tiff) to DNXHD 
> 444. It can be done with Quicktime pro on Windows but I have 
> completely failed with ffmpeg.
>
> ffmpeg -r 23.976 -i
> C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v dnxhd 
> -profile:v 3  -s 1920x1080 -r 23.976  -y 
> C:\Users\Matt\Desktop\Newfolder\bt.mov
>
> Your -profile is wrong.  Try:
>
> -profile:v dnxhr_444
>
> --
> Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with 
subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with 
subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with 
subject "unsubscribe". 

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with 
subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-09 Thread Matt Kitcat

Hi Wayne
Can you expand on that a little, or perhaps give me an example based on my 
command line. Sorry but I am a little un-familiar with ffmpeg.

Thanks for the response.

-Original Message- 
From: Wayne Poll

Sent: Monday, April 9, 2018 10:08 PM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Convert images to DNXHD 444


-Original Message-
From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of 
Matt Kitcat

Sent: Tuesday, 10 April 2018 6:30
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Convert images to DNXHD 444

ffmpeg -r 23.976 -i
C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v 
dnxhd -profile:v dnxhr_444  -s 1920x1080 -r 23.976  -y 
C:\Users\Matt\Desktop\Newfolder\bt.mov


This creates a file similar to quicktime export setting: 1080/23.976 DNxHD
444 10 bit

ffmpeg reports
Supported pixel formats: yuv422p yuv422p10le yuv444p10le gbrp10le

So in fact I don't really want to create DNxHR but DNxHD 444 format. I 
would have thought that could be possible?




It is possible but the 440 profile isn't valid for 23.98fps material - you 
should be using DNxHD 350x for 10-bit 4:4:4 RGB @ 23.98fps. The DNxHD 440 
(8-bit) and DNxHD 440x (10-bit) are only valid at higher frame rates, such 
as 29.97p, 59.94p and 60p


Wayne Poll



-Original Message- 
From: Gonzalo Garramuño

Sent: Monday, April 9, 2018 6:44 PM
To: Matt Kitcat ; FFmpeg user questions
Subject: Re: [FFmpeg-user] Convert images to DNXHD 444



El 09/04/18 a las 14:38, Matt Kitcat escribió:
Hi All
I have been trying to convert an image sequence (16 bit tiff) to DNXHD
444. It can be done with Quicktime pro on Windows but I have completely
failed with ffmpeg.

ffmpeg -r 23.976 -i
C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v
dnxhd -profile:v 3  -s 1920x1080 -r 23.976  -y
C:\Users\Matt\Desktop\Newfolder\bt.mov

Your -profile is wrong.  Try:

-profile:v dnxhr_444

--
Gonzalo Garramuño


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". 


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-09 Thread Wayne Poll
> -Original Message-
> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Matt 
> Kitcat
> Sent: Tuesday, 10 April 2018 6:30
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
> ffmpeg -r 23.976 -i
> C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v dnxhd 
> -profile:v dnxhr_444  -s 1920x1080 -r 23.976  -y 
> C:\Users\Matt\Desktop\Newfolder\bt.mov
>
> This creates a file similar to quicktime export setting: 1080/23.976 DNxHD
> 444 10 bit
>
> ffmpeg reports
> Supported pixel formats: yuv422p yuv422p10le yuv444p10le gbrp10le
>
> So in fact I don't really want to create DNxHR but DNxHD 444 format. I would 
> have thought that could be possible?
>

It is possible but the 440 profile isn't valid for 23.98fps material - you 
should be using DNxHD 350x for 10-bit 4:4:4 RGB @ 23.98fps. The DNxHD 440 
(8-bit) and DNxHD 440x (10-bit) are only valid at higher frame rates, such as 
29.97p, 59.94p and 60p

Wayne Poll

>
> -Original Message- 
> From: Gonzalo Garramuño
> Sent: Monday, April 9, 2018 6:44 PM
> To: Matt Kitcat ; FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
>
>
> El 09/04/18 a las 14:38, Matt Kitcat escribió:
> Hi All
> I have been trying to convert an image sequence (16 bit tiff) to DNXHD 
> 444. It can be done with Quicktime pro on Windows but I have completely 
> failed with ffmpeg.
>
> ffmpeg -r 23.976 -i 
> C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v 
> dnxhd -profile:v 3  -s 1920x1080 -r 23.976  -y 
> C:\Users\Matt\Desktop\Newfolder\bt.mov
>
> Your -profile is wrong.  Try:
>
> -profile:v dnxhr_444
>
> -- 
> Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". 

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-09 Thread Matt Kitcat
ffmpeg -r 23.976 -i 
C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v 
dnxhd -profile:v dnxhr_444  -s 1920x1080 -r 23.976  -y 
C:\Users\Matt\Desktop\Newfolder\bt.mov


This creates a file similar to quicktime export setting: 1080/23.976 DNxHD 
444 10 bit


ffmpeg reports
Supported pixel formats: yuv422p yuv422p10le yuv444p10le gbrp10le

So in fact I don't really want to create DNxHR but DNxHD 444 format. I would 
have thought that could be possible?



-Original Message- 
From: Gonzalo Garramuño

Sent: Monday, April 9, 2018 6:44 PM
To: Matt Kitcat ; FFmpeg user questions
Subject: Re: [FFmpeg-user] Convert images to DNXHD 444



El 09/04/18 a las 14:38, Matt Kitcat escribió:

Hi All
I have been trying to convert an image sequence (16 bit tiff) to DNXHD 
444. It can be done with Quicktime pro on Windows but I have completely 
failed with ffmpeg.


ffmpeg -r 23.976 -i 
C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v 
dnxhd -profile:v 3  -s 1920x1080 -r 23.976  -y 
C:\Users\Matt\Desktop\Newfolder\bt.mov



Your -profile is wrong.  Try:

-profile:v dnxhr_444

--
Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". 


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Convert images to DNXHD 444

2018-04-09 Thread Gonzalo Garramuño



El 09/04/18 a las 14:38, Matt Kitcat escribió:

Hi All
I have been trying to convert an image sequence (16 bit tiff) to DNXHD 444. It 
can be done with Quicktime pro on Windows but I have completely failed with 
ffmpeg.

ffmpeg -r 23.976 -i C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif 
-c:v dnxhd -profile:v 3  -s 1920x1080 -r 23.976  -y 
C:\Users\Matt\Desktop\Newfolder\bt.mov


Your -profile is wrong.  Try:

-profile:v dnxhr_444

--
Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".