Previous topicNext topic

Can adding noise help with the output rendering?

Suggestions for new features for Magic.
Post Reply
Studio-dbfx
Posts: 37
Joined: Wed Nov 09, 2016 2:46 am

Can adding noise help with the output rendering?

Post by Studio-dbfx »

Hi Eric,

I came across this video a while back, and saw the discussion about 'YouTube Crunching the video'.

Would adding noise/dither help?.

Could a module specifically designed to do that job be of any use! Just wondering and putting this thought on the forum!

https://www.youtube.com/watch?v=rWAp7E6OLok
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Can adding noise help with the output rendering?

Post by Magic »

Thanks for the thought, but noise always makes compression worse ;).
Studio-dbfx
Posts: 37
Joined: Wed Nov 09, 2016 2:46 am

Re: Can adding noise help with the output rendering?

Post by Studio-dbfx »

Ah! Okay :)

I did do a quick experiment, adding a little 'Bad TV' noise. It did improve the the pixelation when played back on my Laptop. Most probably experiment some more, rendering out a normal movie and another with noise, then combining the two.
Attachments
Bad TV.jpg
Bad TV.jpg (92.33 KiB) Viewed 11531 times
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Can adding noise help with the output rendering?

Post by Magic »

Playing the videos on your laptop isn't the issue. You should be able to get perfect videos exported directly from Magic, whether or not they have noise. This is because you can use high-quality codecs and/or increase the bitrate however much you want.

The issue is what happens after uploading to YouTube. YouTube has fixed bitrates which cannot be adjusted by the user, so adding noise to videos means adding more information, particularly high-frequency information, to compress in the same fixed amount of bandwidth. This just makes the problem worse. Make sense?

From Wikipedia (https://en.wikipedia.org/wiki/Data_comp ... ame_coding): "In areas of video with more motion, the compression must encode more data to keep up with the larger number of pixels that are changing. Commonly during explosions, flames, flocks of animals, and in some panning shots, the high-frequency detail leads to quality decreases..."

The key thing to understand is that *nothing* will improve this problem except increasing the bitrate, but as I said, you can't increase YouTube's bitrate. They set it at their HQ, and you'll just have to wait until they feel the world is ready for higher bitrates. It could be years from now.
artnik
Posts: 268
Joined: Tue Jan 05, 2016 5:33 pm

Re: Can adding noise help with the output rendering?

Post by artnik »

Noise won't help with compression, but it will help with local rendering in realtime for some cases.

When working in print, if there are gradients that have only a small difference between the values of the start and end colours, it's customary to add a little noise to avoid banding. Given that so many realtime effects are essentially warped gradients, adding a little noise as a final step can reduce banding artifacts in visualizations.

I've always loved this, that intentional errors can perceptually improve other aliasing errors. :-)
Studio-dbfx
Posts: 37
Joined: Wed Nov 09, 2016 2:46 am

Re: Can adding noise help with the output rendering?

Post by Studio-dbfx »

Hi Eric,

I do get clear videos exporting from Magic! :). But depending what image/content I put in Magic, then apply some affects the banding colour separation will occur. It's not the fault of Magic! it's a GREAT piece of software! I'm getting some excellent results from the presets I'm creating! I get your point and artnik's about compression and bitrate. I had similar problems uploading to YouTube when using Particle Illusions SE. The animated graphics would look fine on the PC, but look terrible on YouTube unless you had it on HD.
artnik
Posts: 268
Joined: Tue Jan 05, 2016 5:33 pm

Re: Can adding noise help with the output rendering?

Post by artnik »

Part of the problem is also that video compression algorithms are better with "natural" imagery and tend to do poorly with "synthetic" images. It's how they were designed: to take advantage that in a moving image the eye won't notice simplification in areas where the natural textures have a lot of similarity from area to area.
Also, the algorithms do best when there isn't full frame motion, where all the available bandwidth is going to only changing part of the screen.

Visualization software, such as Magic, which uses highly synthetic images and where typically every pixel changes on every frame, is literally just about the worst case scenario for clean video compression. The only thing I can think of that's worse is a screen full of random static. i.e. noise. :-)
Studio-dbfx
Posts: 37
Joined: Wed Nov 09, 2016 2:46 am

Re: Can adding noise help with the output rendering?

Post by Studio-dbfx »

Okay artnik! I get your point, adding noise doesn't help!

Here are some examples from Particle Illusion! Some look okay, whilst others don't. Not my video BTW


https://www.youtube.com/watch?v=DXwWZKkPxPM
Post Reply