fbpx
Welcome, Guest
Username: Password: Remember me
{JFBCLogin}
25 Jan 2021
New boarders will have their posts moderated - Don't worry if you cannot see your post immediately.
Read More...
  • Page:
  • 1

TOPIC:

Optimize media used in timeline? 07 May 2023 12:55 #125289

Is there a way to optimize only the media used in the timeline?
I would like to scratch edit using proxies, then optimize only the media in the timeline to color correct and fine tune.

Please Log in to join the conversation.

Optimize media used in timeline? 07 May 2023 13:38 #125290

  • joema
  • joema's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 2584
  • Karma: 28
  • Thank you received: 694
You can use either background rendering or manual rendering via selecting all timeline clips with CMD+A then rendering them to cache with CTRL+R.

By default the cache is optimized ProRes 422. Only the clip ranges within the timeline are rendered to cache, not the full length of the parent clips. There are separate caches for proxy mode and original media mode, so you'd need to render to cache while in original media mode.

That said, the durability of the cache files is not perfect. In some cases relaunching FCP or doing other activities will cause segments of the cache to become unrendered, and it will display as "render dots" above the timeline.

There is another situation whereby the timeline can be fully rendered, you get smooth performance, yet on export the render cache may not be used. That is apparently caused by certain interactions between some effects and the Motion runtime engine.

Please Log in to join the conversation.

Optimize media used in timeline? 07 May 2023 13:54 #125292

Thanks for your help, I am afraid a timeline render is not an option, as any slight color correction makes it render again and I would have to wait until finished. Is there a way to render only the used CLIPS to optimized media, NOT the timeline?

Please Log in to join the conversation.

Optimize media used in timeline? 07 May 2023 14:04 #125293

  • joema
  • joema's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 2584
  • Karma: 28
  • Thank you received: 694
You can transcode to optimized media only the used parent clips, vs all the other library clips which were not used. But that will be the full-length parent clips, not just the ranges used in the timeline.

To do that, create a smart collection for used media, select those clips, then transcode to optimized media.

However even with optimized media, every time you change any effect on the clip, that range in the timeline will become uncached. So with FCP or any other NLE you cannot get around recomputing the effects on a clip when it is changed. Using optimized media saves the decode time but it does not save the compute CPU/GPU time when a clip is changed. On older Macs, the decode time for certain codecs was significant, so optimized media helped performance. On an M1 Max, etc, it often makes less difference because decoding is so fast.

Resolve has a feature called "Render in Place", which is a persistent form of render cache. But every time you make a grading change to a clip, it invalidates those files and they must be re-rendered.

Please Log in to join the conversation.

Optimize media used in timeline? 07 May 2023 17:42 #125295

Thanks joema, thats exactly what I was looking for. So I guess I have to delete all my scratch-timelines first, if they contain lots of footage which didnt end up in the final edit - so the clips will become unused again. Its not possible for a whole timeline like in avid when you just right click a timeline and select "transcode". But this will work. I still own a macbook pro mid 2012, I am still waiting for a mac pro or mac studio m3 (god only knows how long this will take). Right now transcoding to prores makes a significant difference, in UHD 50p XAVC-S even playback for preview is impossible, in Prores 50p it kind of works even when grading - depends on how many monitors are connected and additional effects etc..

Please Log in to join the conversation.

Last edit: by FinalCutdown.

Optimize media used in timeline? 07 May 2023 18:54 #125298

  • joema
  • joema's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 2584
  • Karma: 28
  • Thank you received: 694

... So I guess I have to delete all my scratch-timelines first, if they contain lots of footage which didnt end up in the final edit...

You don't need to do that. With FCP, a smart collection on "used media" only displays used clips for the currently-open timeline. So if you create that smart collection, then open timeline A, it shows you the used clips in timeline A. Then if you open timeline B, that same smart collection shows you used clips in timeline B, etc.

By "used clips" it is technically used *ranges* from the parent clips. However if you filter on used media, then select all those (which are actually ranges), then right-click>Transcode Media>Optimized, it will create optimized media on the entire parent clip length, not just the used media range.

If you enable View>Browser>Used Media Ranges, it also puts an orange stripe on each range within a clip. Again, that is used media for the currently open timeline, not all used media in all timelines.

Please Log in to join the conversation.

Optimize media used in timeline? 07 May 2023 18:58 #125299

Fantastic! I didnt knnow I can see Used Media Ranges in FCPX 10.5.4. I thougt it was a feature for the newer versions, but I guess I mixed it up with "duplicates in timeline detection".

Please Log in to join the conversation.

Optimize media used in timeline? 08 May 2023 13:31 #125308

you don't have to use "Used Range" for this !

Just "Optimize" the project itself ... only what's edited will be transcoded to ProRes ( full range of clips, including non edited portions of said media)

Please Log in to join the conversation.

Optimize media used in timeline? 08 May 2023 14:27 #125309

  • joema
  • joema's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 2584
  • Karma: 28
  • Thank you received: 694
Stu, thank you for that correction. I think I was unaware of that because I rarely use optimized media, and when I do it has been via right-click on selected clips in the Browser. You are correct the Apple FCP documentation says you can select the project, then do File>Transcode Media, and it will create optimized media for just the clips in the timeline.

Please Log in to join the conversation.

Optimize media used in timeline? 09 May 2023 11:11 #125331

On older Macs, the decode time for certain codecs was significant, so optimized media helped performance. On an M1 Max, etc, it often makes less difference because decoding is so fast.

Even my new MacBook Air m1 does not playback Sonys XAVC-S UHD 10bit 50p footage well when its not optimized. There's just a little color correction and a broadcast safe filter applied on the timeline - the project is 50i HD. I did expect the MacBook to handle h264 based codecs better - but I must admit it only has 8gb ram, maybe that's the cause. When I use ProRes optimized footage from the same SSD it plays back well, so SSD speed is not the problem.

Please Log in to join the conversation.

Last edit: by FinalCutdown.
  • Page:
  • 1