Showing posts with label h264. Show all posts
Showing posts with label h264. Show all posts

Monday, January 8, 2024

Something is up with h264 encoding on Final Cut Pro 10.4.1, Compressor 4.7

 h264 encoding using either Compressor 4.7 or FCP 10.4.1 on M1 with Sonoma 14.2.1 are showing blockiness with busy/semi busy imagery.

It wasn't like this with previous versions on FCP/Compressor/Pro Video Formats/macOS that I recall.

 h264 encoding behaves very poorly compared to Adobe Media Encoder. I tested both on the same ProRes master, Apple output is dirty where AME is relatively clean. Same data rate, using the default settings.

I tested previous versions of FCP/Compressor on the same machine: Monterey and Ventura, and results are the same: blocky, sloppy, prone to artifacts on certain images.

It was not like this before: I looked at the same h264 export I did in June 2023 with FCP 10.6.6, Pro Video Formats 2.2.5, and Ventura, it was clean throughout. Same machine.

Something happened since, and now it's screwed. What is going on Apple? Anybody seeing a similar problem on their setup?

Below are 4 frame exports of the same image:

  1. ProRes export
  2. h264 export from FCP
  3. h264 export from Compressor
  4. h264 export from Adobe Media Encoder

Superimposed to the original sequence. Opacity switched to Difference, and Midtones Exposure pushed to 100%.

1) ProRes
2) h264 Final Cut Pro
3) h264 Compressor
4) h264 Adobe Media Encoder
5) h264 DaVinci Resolve


ProRes looks the best as expected. Clearly Media Encoder h264 output looks much better than Compressor, Final Cut Pro, and Resolve h264 outputs 😵.

Final Cut and Resolve are close, both doing a sloppy job at encoding h264 compared to Adobe Media Encoder. Compressor is the worst of all 😩.

NOT GOOD APPLE!! Not great Blackmagic Design!!




Thursday, November 2, 2023

Adobe Premiere, Why on F#$%^#* Earth Do You Put A Black Frame At The End Of My Video????

 Adobe Premiere is such a piece of garbage.

I export a h264 video selecting an In and an Out points. The Out point is 1sec into a graphic, the same graphic continues for a whole 10seconds after the Out point. On export the resulting h264 file last frame is black.

Why is it not showing my graphic? WHY??????

I mean ADOBE? What do you have to say? It's been documented FOR YEARS! Just Google "Adobe Premiere puts a black frame at the end of my h264 export". It's a BUG!!! ðŸª²ðŸª³ðŸ¦Ÿ BUG, BUG, BUG!!! Fix it already.

If I Send To Adobe Media Encoder instead of direct exporting from Premiere, SAME THING!!! By the way, selecting Hardware Accelerated or Software Only doesn't not make an iota of difference, same fuckup. So now I have to export a ProRes version, that works just fine, and then encode a h264 with AME? Nope! Doesn't work either. 🖕

Apple Compressor to the rescue. APPLE COMPRESSOR, works just great with h264, Adobe???

 What a mess. Premiere "Pro" Uh???? It would be laughable if it wasn't disgusting.

!!!UPDATE!!!

Adobe Media Encoder 24.1.1 SEEM TO BE WORKING FINE NOW.

I tested Export on Premiere 24.1, and the bug is FIXED with Premiere as well! No more black frame at the end of h264 exports. Yeah! Finally.

Thanks Adobe!

Wednesday, September 14, 2022

Premiere Pro, Adobe Media Encoder - h264 Exports Problem, Image Tearing Up

  Mac mini M1, macOS Monterey 12.3.1, Premiere 22.5.

 Footage is h264 1080p 59.94. Editing Multicam 2 angles (same thing happens with non Multicam Clips btw.) Hardware acceleration is enabled (Same thing happens when Hardware Acceleration is turned off.) Exporting h264 VBR 1 pass, (the same thing happens with CBR.)

 Why on earth is Premiere Pro crapping up h264 exports? This is what I get in the exported file:

Last image before a "problem" cut, looks fine

First image after the cut, what the hell is this?

It goes on being total crap for 21 frames

Then for some reason it's back to normal at frame 22

 Why is this happening Adobe? What makes it even more infuriating is that it feels TOTALLY RANDOM. Why does it happens on this cut and not on another one? I'm not cutting at the very first frame or at the very last frame of a Multicam Clip.

 They are hundreds of other cuts exactly like this one in this piece. I'm far from fast cutting. The shots in this Sequence are between 2 and 19 seconds. All cuts are fine but for two that are severely damaged on export, like what you see in these picts.

 Note that nothing is visible on playback in the Program window at 1/2 res, it all looks good.

 Sequence is not rendered, but if I force render, the same thing happens. If I check use Previews for Export, the same thing happens.

 When I try to change the position of the cut, the crap goes away on the next export. But then some OTHER cut gets damaged that wasn't before! Totally at random, totally AGGRAVATING!!

 What a waste of time...

 This is painful!!! This should not be happening! Adobe FIX this abnormal behavior now!!!

--- I tried to Flatten the Multicam Clips on each side of the cut, and lo and behold, now I can SEE the tear in the image, but only if I go frame by frame over the cut. Playback is still just fine and shows absolutely nothing. Bizarrely, the tear appears on the second frame after the cut, not the first one like in the exports. If I stop the cursor over the teared image, it goes back to normal after about a couple of seconds!! What??! 

--- If I add an Adjustment Layer over the "problematic" cut, and play frame by frame, the tear is gone. But it's still in the export... Same thing if I overlap the clips a little.

--- If I do not use GPU, same thing happens.

--- If I use Software Only, same thing.

The only thing that works is to change the position of the cut. But since you cannot predict what will happen, you have to change the cut position, export the section with the cut, QC that, and if the image is still tearing up, adjust some more until it doesn't.

THAT"S NOT A WAY TO WORK !  THIS IS WRONG !  I WANT TO BE ABLE TO CUT ANYWHERE !

MAXIMUM AGGRAVATION ADOBE !

Monday, November 5, 2018

Which is faster? Mac mini 2012 vs. classic Mac Pro 2012, Encoding HD 1080 h264 comparison

Encoding a 60min. HD ProRes422 to HD h264 (Best/MultiPass Quality) file on cMP (6 cores Xeon), and on Mac Mini (quad core i7)

1) Using Compressor:

1a) cMP = 210min. Abysmal!


VTEncoder almost never goes over 400% CPU
Using only 6 cores at 70% and 6 cores at 10%. Total never goes over 40% User CPU load.


1b) Mini = 50min. Best results!
VTEncoder barely goes over 200% CPU
Using only 4 cores at 10% and 4 cores at 5%. Total never goes over 40% User CPU load.


2) Using Adobe Media Encoder:

2a) cMP = 90min. Meh.

AMEncoder goes up 750% CPU
Using 6 cores at 80% and 6 cores at 60%. Total goes over 65% User CPU

2b) Mini = 84min. Meh.


AMEncoder goes up 600% CPU
Using 4 cores at 80% and 6 cores at 60%. Total goes over 65% User CPU

3) Machines configs:
cMP 2012 6 cores 3.46GHz, 32GB Ram, Radeon 7950 3GB.


Mini 2012 4 cores i7 2.3GHz (Turbo Boost up to 3.3GHz), Intel 4000 1.5GB

Conclusion: Even though its specs are underwhelming compared to the cMP, the Mini wins with Compressor.

The cMP is really terrible! (x4 real time!!! What?) The Mini encodes the 60min. file in less than 50min. - under real time. 

On the other end with AME (which is much more power hungry) it's about the same on both machines and it takes longer than real time (x1.5 real time more or less.)

The Mini sports a dedicated h264 encode/decode chip, makes sense that the performance is better, it seems though only Compressor is accessing this added power. Adobe? What the heck??

Have a good day!