From: "Roei Tzoref" Received: from mail-it1-f179.google.com ([209.85.166.179] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 7248523 for AE-List@media-motion.tv; Fri, 22 Feb 2019 16:42:08 +0100 Received: by mail-it1-f179.google.com with SMTP id m137so3608264ita.0 for ; Fri, 22 Feb 2019 07:52:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=BLq8YY5Qh733iKTFNj8df14EA6iRHXEANxTvfmqS4zU=; b=DNb2sqjF3xqF315EHtJh4JnuBQyCC6oV7Bt5E+Qm62eQHoLOPPRlGE4wrEe2O/mT8a CKNnpa8TPscrB6eMix7MzEaTQRSgR3nIHjvIF7mS7XMv2CsJZVkQ8QHgZOm62x909/ho 3apv6Tz7/Xn2VJB3m4R4r6G8FbvSyLsP4XyoIgsWTVt95l1F5teQdMiOv94goI9aBqzO dsoUyCb/eYjkxGz3MQB7ihvYa8V0RZ3xWBayKA03+FzcfbAdF/VUPFldlDZ6y435Q61A /ocjb8SIYmNsV8yspv6z4MJ6uyOPyW8l0U0NvmDexh/CcarIktv2OgKiyI+cZdz71MpN tJLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=BLq8YY5Qh733iKTFNj8df14EA6iRHXEANxTvfmqS4zU=; b=sBUqo71ZkSp27kiL6+HJs1r3QHCoVnaq8A31M57VShC9tZgzPHQCreo9QCOUqc0z0I W8j85A/tqZjr9dqPL/I8jeDfUeEzSUEChSpmbnfMdLBOdOSOsad2UvHD4f8TK8Ck+Dcw JvGGt6fCU2tRQnusTDHPKSbsEdedapBUkgZFSFOWbLgRmHwuJHlO3U9/BU1pSJVIPIMY NjZPoV9UZudddtP/6GAh1EYQt0rV9zLhK8fIlXG7q2qTZKgejqzbCE0U/yqPZfo2FoH/ VPRbctl7bpHA3WbWNizcc/Vh6babZdjG64PVoNPgSh11lmC6p3F/GkMrfE/nbfaevuaC 2n+w== X-Gm-Message-State: AHQUAuY94q9ybZyDweUXYRVd5HJZQ6EZWYiO7aPBy9RfLtyZHTaeTyNH p4flbKdPeddNBxSVmSHYMmvcgyJPEF+azRUGdGpapA== X-Google-Smtp-Source: AHgI3IZxZGDzuVu7Qsadmd421tZCyvvfuEba3TD9LzSy3OnBiVfelZtcbLPc2sMuJRuBEcAL3LrBWXB9zLzbnyPR04Y= X-Received: by 2002:a24:36c8:: with SMTP id l191mr1656252itl.101.1550850768161; Fri, 22 Feb 2019 07:52:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 22 Feb 2019 17:52:11 +0200 Message-ID: Subject: Re: [AE] Visually lossless codec thoughts To: After Effects Mail List Content-Type: multipart/alternative; boundary="00000000000022d22505827d95cf" --00000000000022d22505827d95cf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable and sorry about my typo too *Stephen*. thanks for sharing what worked :) On Fri, Feb 22, 2019 at 5:36 PM Stephen van Vuuren wrote: > My typo =E2=80=93 too many codec. Yes, h264, sorry about confusion. > > > > *From:* After Effects Mail List > *Sent:* Friday, February 22, 2019 3:49 AM > *To:* After Effects Mail List > *Subject:* Re: [AE] Visually lossless codec thoughts > > > > Stephan I am confused since AME doesn=E2=80=99t have x.264, only H.264 wi= th a > flavor of mainconcept and not x.264. > > > > On Thu, 21 Feb 2019 at 21:00 Nick Fox-Gieg > wrote: > > Fwiw I find a lot of banding issues in ffmpeg can be solved with an > initial ImageMagick pass to do the desired bit depth conversion before th= e > final encode. Means a whole other set of arcane command-line switches to > wrangle, but a powerful combo. > > > > > > Nick > > > > On Thu, Feb 21, 2019 at 1:48 PM Stephen van Vuuren < > AE-List@media-motion.tv> wrote: > > Chris, > > > > FFMPEG won=E2=80=99t resize the resize the various size PNGs for direct c= onversion > using it natively. > > > As for artifacts, PhotoJPEG in AE 2014 (the only version that will let me > render to it is 2014, missing it all other versions), crushed the blacks, > shift the colors to red which likely is causing the encoder to alter the > dithering in 8-bit i.e. rounding errors on a RGB value. > > > > Bottom line is very different image look where as all other codecs tried > are 100% visually identical. > > > > *From:* After Effects Mail List > *Sent:* Thursday, February 21, 2019 12:19 AM > *To:* After Effects Mail List > *Subject:* Re: [AE] Visually lossless codec thoughts > > > > Good catch--to clarify, the command switch for ffmpeg is mjpeg, but the > codec being used is PhotoJPEG. I think you have to specify 444 vs. 422 > encoding, instead of it kicking in automatically via the quality setting: > > https://trac.ffmpeg.org/wiki/Encode/VFX > > > > Nick > > > > On Wed, Feb 20, 2019 at 11:35 PM Chris Zwar > wrote: > > I'm not that familiar with ffmpeg, but with the older (now obsolete) Appl= e > Quicktime codecs, the MJPEG options were different to PhotoJPEG. The App= le > PhotoJPEG codec - even when used to make quicktime files - was a standard > JPEG codec. The MJPEGA & MJPEGB codecs date back to the early 1990s, whe= n > the only way to play back video on a desktop computer was with a custom > video card. The MJPEG codes were written for those custom chips. I can't > remember the exact details but it was something like MJPEGA was for C-Cub= e > chips and MJPEGB was for a different brand, or vice versa. The MJPEG > algorithms were different to Photo JPEG and not capable of the same level > of quality. I can't recall the details but I think the MJPEG codecs were > always 4:2:2 (ie colour information was half the bandwidth of the > luminance) while with the PhotoJPEG codec @ 100% the colour sampling was > 4:4:4. It's all a historical footnote now, anyway. > > > > FWIW HAP has it's purposes - a lot of the large scale projection projects > I work on deliver HAP files - but the quality is pretty poor and it's > nowhere near visually lossless. > > > > I'm not sure that something exists that meets all of Stephens > requirements. Without having done personal research, if you're not happy > with any of the ProRes flavours (have you tried LT?) then I don't know if > there's a viable alternative. > > > > > > > > On Thu, 21 Feb 2019 at 15:18, Nick Fox-Gieg > wrote: > > I've had good luck with ffmpeg's PhotoJPEG (aka mjpeg) in the past. For > 8bpc also look at Hap--large file sizes, uses GPU texture compression, > designed for very fast playback of > 4K. > > > > Nick > > > > On Wed, Feb 20, 2019, 11:06 PM Chris Zwar > Stephen what artefacts are you getting @ 100% quality? I've always > thought - after being directly told by an Apple engineer - that JPEG at > 100% was practically lossless, and any differences were due to rounding > errors and not compression artefacts. > > > > On Thu, 21 Feb 2019 at 13:33, Stephen van Vuuren > wrote: > > Teddy, > > > > PhotoJPEG was a fail =E2=80=93 color & gamma shift, artifacts at 100% qua= lity. > > > > Stephen > > > > *From:* After Effects Mail List > *Sent:* Wednesday, February 20, 2019 10:59 AM > *To:* After Effects Mail List > *Subject:* Re: [AE] Visually lossless codec thoughts > > > > Did you try photo-jpeg in an mov? Definitely worth a test. > > > > On Wed, Feb 20, 2019 at 10:48 AM Stephen van Vuuren < > AE-List@media-motion.tv> wrote: > > X264 lossless and x265 are both fails. X264 at 10-bit, AE says is 8-bit. > X265 take 10x time to render out in Media Encoder and takes an unknown ti= me > (at least 100x) to build a frame. I gave up after 11 hours =E2=80=93 ever= y other > codec was 14 to 22 minutes a frame. > > > > Adobe and x265 simply don=E2=80=99t play in my experience. > > > > *From:* After Effects Mail List > *Sent:* Wednesday, February 20, 2019 5:57 AM > *To:* After Effects Mail List > *Subject:* Re: [AE] Visually lossless codec thoughts > > > > x264 has lossless compression methods and can also be 10bit. > > AfterCodec has support for 10bit and YUV 4:4:4, not the lossless mode as > far as i can see, but a high bitrate x264 should be better than the old > simpler DCT based Prores or DNxHR at comparable bitrates > > > > Now the question is if AE will import them correctly again. > > > > https://trac.ffmpeg.org/wiki/Encode/H.264 > > > > Robert > > > > > > Den ons. 20. feb. 2019 kl. 09.08 skrev Evan Fotis Georgoulakis < > AE-List@media-motion.tv>: > > Personally I have the opposite experience, with Prores producing about > 20% larger files than same flavor Cineform. I tried CFYUV10bit. > > On 20-Feb-19 01:07, Teddy Gage wrote: > > Chris AFAIK cineform files are even bigger than Prores at the same > > flavor. > > > +---End of message---+ > To unsubscribe send any message to > > > > > -- > > _____________________________ > > Teddy Gage > > President > > Shotgun Inc. > > 360 VR | MOGRAPH | VFX > > SHOTGUNPOST.COM > > BKLYN NY 11215 > > --00000000000022d22505827d95cf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
and sorry about my typo too Stephen. thanks fo= r sharing what worked :)=C2=A0

On Fri, Feb 22, 2019 at 5:36 PM Stephen= van Vuuren <AE-List@media-mo= tion.tv> wrote:

My typo =E2=80=93 too many codec. Yes, h264, sorry a= bout confusion.

=C2=A0

From: After Effects Mail List <AE-List@media-motion.tv>
Sent: Friday, February 22, 2019 3:49 AM
To: After Effects Mail List <
AE-List@media-motion.tv>
Subject: Re: [AE] Visually lossless codec thoughts

=C2=A0

Stephan I am confused since AME doesn=E2=80=99t have= x.264, only H.264 with a flavor of mainconcept and not x.264.

=C2=A0

On Thu, 21 Feb 2019 at 21:00 Nick Fox-Gieg <AE-List@media-motio= n.tv> wrote:

Fwiw I find a lot of banding issues in ffmpeg can be= solved with an initial ImageMagick pass to do the desired bit depth conver= sion before the final encode. Means a whole other set of arcane command-lin= e switches to wrangle, but a powerful combo.

=C2=A0

=C2=A0

Nick

=C2=A0

On Thu, Feb 21, 2019 at 1:48 PM Stephen van Vuuren &= lt;AE-List@med= ia-motion.tv> wrote:

Chris,

=C2=A0

FFMPEG won=E2=80=99t resize the resize the various s= ize PNGs for direct conversion using it natively.


As for artifacts, PhotoJPEG in AE 2014 (the only version that will let me r= ender to it is 2014, missing it all other versions), crushed the blacks, sh= ift the colors to red which likely is causing the encoder to alter the dith= ering in 8-bit i.e. rounding errors on a RGB value.

=C2=A0

Bottom line is very different image look where as al= l other codecs tried are 100% visually identical.

=C2=A0

From: After Effects Mail List <AE-List@media-motion.tv>
Sent: Thursday, February 21, 2019 12:19 AM
To: After Effects Mail List <
AE-List@media-motion.tv>
Subject: Re: [AE] Visually lossless codec thoughts

=C2=A0

Good catch--to clarify, the command switch for ffmpe= g is mjpeg, but the codec being used is PhotoJPEG. I think you have to spec= ify 444 vs. 422 encoding, instead of it kicking in automatically via the quality setting:

=C2=A0

Nick

=C2=A0

On Wed, Feb 20, 2019 at 11:35 PM Chris Zwar <AE-List@media-moti= on.tv> wrote:

I'm not that familiar with ffmpeg, but with the = older (now obsolete) Apple Quicktime codecs, the MJPEG options were differe= nt to PhotoJPEG.=C2=A0 The Apple PhotoJPEG codec - even when used to make quicktime files - was a standard JPEG codec.=C2=A0 The MJPEGA= & MJPEGB codecs date back to the early 1990s, when the only way to pla= y back video on a desktop computer was with a custom video card.=C2=A0 The = MJPEG codes were written for those custom chips. I can't remember the exact details but it was something like MJPEGA wa= s for C-Cube chips and MJPEGB was for a different brand, or vice versa.=C2= =A0 The MJPEG algorithms were different to Photo JPEG and not capable of th= e same level of quality.=C2=A0 I can't recall the details but I think the MJPEG codecs were always 4:2:2 (ie colour informat= ion was half the bandwidth of the luminance) while with the PhotoJPEG codec= =C2=A0@ 100% the colour sampling was 4:4:4.=C2=A0 It's all a historical= footnote now, anyway.

=C2=A0

FWIW HAP has it's purposes - a lot of the large = scale projection projects I work on deliver HAP files - but the quality is = pretty poor and it's nowhere near visually lossless.

=C2=A0

I'm not sure that something exists that meets al= l of Stephens requirements.=C2=A0 Without having done personal research, if= you're not happy with any of the ProRes flavours (have you tried LT?) then I don't know if there's a viable alternative.

=C2=A0

=C2=A0

=C2=A0

On Thu, 21 Feb 2019 at 15:18, Nick Fox-Gieg <AE-List@media-moti= on.tv> wrote:

I've had good luck with ffmpeg's PhotoJPEG (= aka mjpeg) in the past. For 8bpc also look at Hap--large file sizes, uses G= PU texture compression, designed for very fast playback of > 4K.

=C2=A0

Nick=C2=A0

=C2=A0

On Wed, Feb 20, 2019, 11:06 PM Chris Zwar <AE-List@media-motion= .tv wrote:

Stephen what artefacts are you getting=C2=A0@ 100% q= uality?=C2=A0 I've always thought - after being directly told by an App= le engineer - that JPEG at 100% was practically lossless, and any differences were due to rounding errors and not compression artefacts.<= /u>

=C2=A0

On Thu, 21 Feb 2019 at 13:33, Stephen van Vuuren <= ;AE-List@media= -motion.tv> wrote:

Teddy,

=C2=A0

PhotoJPEG was a fail =E2=80=93 color & gamma shi= ft, artifacts at 100% quality.

=C2=A0

Stephen

=C2=A0

From: After Effects Mail List <AE-List@media-motion.tv>
Sent: Wednesday, February 20, 2019 10:59 AM
To: After Effects Mail List <
AE-List@media-motion.tv>
Subject: Re: [AE] Visually lossless codec thoughts

=C2=A0

Did you try photo-jpeg in an mov? Definitely worth a= test.

=C2=A0

On Wed, Feb 20, 2019 at 10:48 AM Stephen van Vuuren = <AE-List@me= dia-motion.tv> wrote:

X264 lossless and x265 are both fails. X264 at 10-bi= t, AE says is 8-bit. X265 take 10x time to render out in Media Encoder and = takes an unknown time (at least 100x) to build a frame. I gave up after 11 hours =E2=80=93 every other codec was 14 to 22 minutes = a frame.

=C2=A0

Adobe and x265 simply don=E2=80=99t play in my exper= ience.

=C2=A0

From: After Effects Mail List <AE-List@media-motion.tv>
Sent: Wednesday, February 20, 2019 5:57 AM
To: After Effects Mail List <
AE-List@media-motion.tv>
Subject: Re: [AE] Visually lossless codec thoughts

=C2=A0

x264 has lossless compression methods and can also b= e 10bit.

AfterCodec has support for 10bit and YUV 4:4:4, not = the lossless mode as far as i can see, but a high bitrate x264 should be be= tter than the old simpler DCT based Prores or DNxHR at comparable bitrates

=C2=A0

Now the question is if AE will import them correctly= again.

=C2=A0

=C2=A0

Robert

=C2=A0

=C2=A0

Den ons. 20. feb. 2019 kl. 09.08 skrev Evan Fotis Ge= orgoulakis <AE-List@media-motion.tv>:

Personally I have the opposite experience, with Pror= es producing about
20% larger files than same flavor Cineform. I tried CFYUV10bit.

On 20-Feb-19 01:07, Teddy Gage wrote:
> Chris AFAIK cineform files are even bigger than Prores at the same > flavor.


+---End of message---+
To unsubscribe send any message to <ae-list-off@media-motion.tv><= /u>


=C2=A0

--

____________________= _________

Teddy Gage

President

Shotgun Inc.

360 VR | MOGRAPH | VFX

BKLYN NY 11215

--00000000000022d22505827d95cf--