Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: Diffusion transition

Diffusion transition 1 month, 3 weeks ago #209075

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 3770
  • 1 month, 3 weeks ago
From a different thread:

hugly wrote:
.. How about about a Diffusion transition?
.. If you could provide it, I will try it.


Okay, the effect as a prototype:

This image is hidden for guests. Please log in or register to see it.


This attachment is hidden for guests. Please log in or register to see it.


If you want, you can develop this further.
Mainly automatically translated
--------------------------------------------
Software: Lightworks 14.6 Beta & 14.5; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)

Re: Diffusion transition 1 month, 3 weeks ago #209078

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 22242
  • 1 month, 3 weeks ago
Thank you.

I'll play around with it to see how it looks and give feedback.
It's better to travel well than to arrive...

Re: Diffusion transition 1 month, 3 weeks ago #209081

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 3770
  • 1 month, 3 weeks ago
I found some bugs and optimization possibilities in the code:

- At 1080p project resolution, and for example 96 frames effect runtime, the semi-random generator created similar diffusion patterns for different frames. This looked like a noise pattern moving horizontally. I have now made some minor changes to the Noise function.

- I have now added an S-curve for a different temporal mixing behavior of the two inputs.

- Fixed unimportant typos etc.

This attachment is hidden for guests. Please log in or register to see it.
Mainly automatically translated
--------------------------------------------
Software: Lightworks 14.6 Beta & 14.5; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)

Re: Diffusion transition 1 month, 3 weeks ago #209083

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 22242
  • 1 month, 3 weeks ago
Will try it tomorrow. Thank you.
It's better to travel well than to arrive...

Re: Diffusion transition 1 month, 3 weeks ago #209101

  • G0bble
  • Pro User
  • OFFLINE
  • Gold Boarder
  • Posts: 269
  • 1 month, 3 weeks ago
For the bystander, Some demo examples of how this effect can be utilized showing the results would be nice to convince casual readers to try it out

G

Re: Diffusion transition 1 month, 3 weeks ago #209102

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 22242
  • 1 month, 3 weeks ago
For my taste, that looks really good schrauber. The 'third picture' is a cloud of colours and grain. I think it's best suitable for fast transitions, 1.5 seconds and below, which I prefer anyway.

Thanks!
It's better to travel well than to arrive...

Re: Diffusion transition 1 month, 3 weeks ago #209103

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 22242
  • 1 month, 3 weeks ago
G0bble wrote:
For the bystander, Some demo examples of how this effect can be utilized showing the results would be nice to convince casual readers to try it out

The easiest approach is, download and install the effect, play around with the settings and see what happens. At least that's what I do, prior to reading the code.
It's better to travel well than to arrive...
Last Edit: 1 month, 3 weeks ago by hugly.

Re: Diffusion transition 1 month, 3 weeks ago #209110

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 3770
  • 1 month, 3 weeks ago
G0bble wrote:
.. Some demo examples ..


Text on a black background may look like this, depending on the settings:

This attachment is hidden for guests. Please log in or register to see it.


This image is hidden for guests. Please log in or register to see it.


This image is hidden for guests. Please log in or register to see it.


This image is hidden for guests. Please log in or register to see it.



For this I used the static diffusion method setting.
In the default setting, with changing diffusion patterns, there is more movement going on. But this should be exported with Pro export settings with high bitrate, because the noise is very data intensive.
With my free license, this variant only looks good in the preview. The free export compresses too much so that strong artifacts are generated:
This attachment is hidden for guests. Please log in or register to see it.
Mainly automatically translated
--------------------------------------------
Software: Lightworks 14.6 Beta & 14.5; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 1 month, 3 weeks ago by schrauber.

Re: Diffusion transition 1 month, 3 weeks ago #209113

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 22242
  • 1 month, 3 weeks ago
Schrauber, that's how it looks on Youtube.



In preview it looks really nice, crispy noise over cloudy colour, but the effect creates far too much moving detail for the Lightworks Youtube encoder preset, and maybe also for the Youtube encoders. The result is heavy blocking which doesn't look nice at all.

I'll upload some XDCAM 50Mbps export to see if the Youtube encoder can handle it better.
It's better to travel well than to arrive...
Last Edit: 1 month, 3 weeks ago by hugly.

Re: Diffusion transition 1 month, 3 weeks ago #209115

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 22242
  • 1 month, 3 weeks ago
With XDCAMHD @ 50 Mbps the local file looks remarkably better, but also there, after a closer look, some MPEG-2 blocking is visible. Uploaded to Youtube it shows that the Youtube encoder has reached its limits as well.



Current summary: Great looking effect in preview, but it doesn't survive usual export and isn't suitable for streaming.

It could be that adding grainy structures, no matter how computed, will suffer from this problem, in general?
It's better to travel well than to arrive...

Re: Diffusion transition 1 month, 3 weeks ago #209117

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 3770
  • 1 month, 3 weeks ago
A noise that is difficult to compress is actually a quality feature for a good semi-random generator in the effect that comes very close to real coincidences.

Would the setting "Diffusion random generator" > "Static" be sufficient for you? Then the diffusion pattern of several frames is similar and could be compressed more easily in my local test export (75 frames transfer). Applied to complex video material, is this perhaps different?

About a year ago I tested the normal video noise effect. Apparently FFMPEG can process noise better (acceptable bitrate with comparatively low optical quality loss).
In an old beta version before 14.5, Lightworks was able to export strong full-screen noise in very good quality during free export, but at a gigantic bitrate that overloaded my player. Now the bitrate is about 30 times lower with strong fullscreen noise.
Mainly automatically translated
--------------------------------------------
Software: Lightworks 14.6 Beta & 14.5; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 1 month, 3 weeks ago by schrauber.

Re: Diffusion transition 1 month, 3 weeks ago #209118

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 22242
  • 1 month, 3 weeks ago
The preview quality and the look and feel of Static is also good, but unfortunatley it doesn't survive h.264 export with the usual settings. After some testing, it shows that h.264 export in 1080p24 needs an average bitrate of 30 Mbps and above for acceptable quality, and this won't survive the Youtube encoders for sure.

I can remember V14.0 export and have the version still installed.

Perhaps, it wasn't a good idea of mine to ask for a transition through grainy noise. It could be that the approach of adding grain to reduce banding knocks the encoders out as well. At least you should keep an eye on it with real world footage.
It's better to travel well than to arrive...

Re: Diffusion transition 1 month, 3 weeks ago #209120

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 3770
  • 1 month, 3 weeks ago
With the kaleidoscope transition I had similar export problems, perhaps not so extreme.

Thanks for the tests.

I don't know if there is any need for this transition apart from YouTube videos (high quality export media with very high bitrate?).
Mainly automatically translated
--------------------------------------------
Software: Lightworks 14.6 Beta & 14.5; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)

Re: Diffusion transition 1 month, 3 weeks ago #209149

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 22242
  • 1 month, 3 weeks ago
schrauber wrote:
I don't know if there is any need for this transition apart from YouTube videos (high quality export media with very high bitrate?).

I will keep it, because I find it looks nice and, I'll surely find use cases for it. However, because of the limitations when compressing, I believe it should not be published as general purpose transition.
It's better to travel well than to arrive...

Re: Diffusion transition 1 month, 3 weeks ago #209173

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 3770
  • 1 month, 3 weeks ago
Ok, I added it to my online prototype list.
fxschrauber.github.io/lwks-fx/
(with a warning in the effect description)

In the GitHub version "Diffusion_Test02b" I only translated the German name of the subcategory into English.
Mainly automatically translated
--------------------------------------------
Software: Lightworks 14.6 Beta & 14.5; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 1 month, 3 weeks ago by schrauber.
  • Page:
  • 1
Time to create page: 0.44 seconds
Scroll To Top