Logo by Pauldelbrot - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. November 29, 2025, 10:42:14 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1] 2 3   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Which encoder?  (Read 5659 times)
0 Members and 1 Guest are viewing this topic.
Chillheimer
Global Moderator
Fractal Schemer
******
Posts: 972


Just another fractal being floating by..


chilli.chillheimer chillheimer
WWW
« on: June 11, 2015, 11:32:51 AM »

Hi!
I want to render a 13:30 minute long movie in 4k with 2*aa, so 7680*4320.  - yeah, quality overkill!  Yes !!
I can't do this uncompressed, as I would need 500gb+ free harddisk space, which I don't have.
And I can't use the xvid codec, as it seems to leave out 1-2 frames every time a new movie segment is started.
I don't have any other options in the dialog (except intel, microsoft, the standards that won't compress either.
any tips how to get ohter encoders to work in the movie maker and which one to chose?
or  alternatively a workaround for my problem?

Cheers!
Logged

--- Fractals - add some Chaos to your life and put the world in order. ---
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #1 on: June 11, 2015, 11:41:37 AM »

what encoder you are talking about? virtualdub?
on windows systems wmv codecs make good performance encodings

codecs recently got heavily updated, h265 mpeg encoding is very new and should handle it
you could download it here
http://www.free-codecs.com/download/x265_hevc_encoder.htm
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Chillheimer
Global Moderator
Fractal Schemer
******
Posts: 972


Just another fractal being floating by..


chilli.chillheimer chillheimer
WWW
« Reply #2 on: June 11, 2015, 11:45:16 AM »

nope, I mean the encoder that you select in kalles fraktalers movie maker to store the movies when rendering..
I haven't found a way to get the h265 in there yet..

kalle, do you see any way how I could get h265 to be recognized and selectable in the movie maker? it seems perfect for compressing zooms..
« Last Edit: June 11, 2015, 11:57:27 AM by Chillheimer » Logged

--- Fractals - add some Chaos to your life and put the world in order. ---
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #3 on: June 11, 2015, 11:58:10 AM »

best would be for kalle to export a jpg sequence wink fractal images tend to reach horrible compression rates on jpgs, png could be an option as well, but still you end up with a huge amount of files

so, i think kalles fraktaler uses some system feature for choosing codecs, perhaps you can install the "free codec" pack, they should then appear in kalles fraktaler

you just seem to not have any encoder installed on your system....
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Chillheimer
Global Moderator
Fractal Schemer
******
Posts: 972


Just another fractal being floating by..


chilli.chillheimer chillheimer
WWW
« Reply #4 on: June 11, 2015, 12:37:24 PM »

thx for the codec pack tip. I hadn't updated my codec pack in a loooong time. uninstalled it and installed te latest k-lite codec pack. now I have at least h264 in the list. I'm trying if it works without leaving out frames right now..
Logged

--- Fractals - add some Chaos to your life and put the world in order. ---
TheRedshiftRider
Fractalist Chemist
Global Moderator
Fractal Iambus
******
Posts: 854



WWW
« Reply #5 on: June 11, 2015, 12:40:54 PM »

For zooms without slopes I use the ''radius codec''. The loss of quality is noticable but it works fine for. It only takes one fifth of space compared to uncompressed.
Logged

Motivation is like a salt, once it has been dissolved it can react with things it comes into contact with to form something interesting. nerd
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #6 on: June 11, 2015, 12:48:05 PM »

try getting a h265 codec, it has ridiculous improvements (50% less file size, equal quality)
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Chillheimer
Global Moderator
Fractal Schemer
******
Posts: 972


Just another fractal being floating by..


chilli.chillheimer chillheimer
WWW
« Reply #7 on: June 11, 2015, 01:03:16 PM »

For zooms without slopes I use the ''radius codec''.
hm wasn't part of the k-lite mega pack. and the movie actually uses slopes.
but thx for the tip!

try getting a h265 codec, it has ridiculous improvements (50% less file size, equal quality)
I tried, but all i find are exe-files that only work in command line mode, and i have no idea how to integrate them into kfs movie maker.


But: I managed to get the h264 codec to run, it was a little tricky but here's how it works - at least on my sytem:
-install k-lite codec pack
-in kf movie maker select h264
-configure h264 output-section as in the attached screenshot
-to stitch together use virtual dub in direct stream copy mode.


* _h264.JPG (79.5 KB, 667x584 - viewed 339 times.)
« Last Edit: June 11, 2015, 02:36:59 PM by Chillheimer » Logged

--- Fractals - add some Chaos to your life and put the world in order. ---
panzerboy
Fractal Lover
**
Posts: 242


« Reply #8 on: June 11, 2015, 04:49:24 PM »

The ideal would be to encode in h.265 for 4K resolution.
TVs and set top boxes will expect 4K content to be H.265.
To get acceptable 4K in h.264 you may need to use too high a bitrate than TVs or set top boxes expect for h.264 content.
This is a particular problem for fractals, they are a 'worse case' for any codec to deal with.
I experience this with my old 720p videos that were encoded with Xvid (h.263).
They play just fine on the PC but stutter on the TV possibly because of the High bitrates (up to 30,000Kbps, Blue ray maxes at 40,000Kbs, Youtube recommends 5000).
Why would a TV manufacturer overbuild their h.264 decoder to handle extra high bitrates that 4k needs?
It may be an idea to encode in H.264 but at a high bitrate (or lossless) just to have a manageable file size, compared to uncompressed.
Then re-encode in H.265 using the command line utility cKleinhuis linked http://www.free-codecs.com/download/x265_hevc_encoder.htm

I wouldn't recommend stitching together segments encoded with h.264, it has weird bidirectional prediction that can result in sudden jumps and stalls at the join.

BTW to save disk space I use 7zip to zip up the .kfb files after I'm done with a Kalles Fraktaler movie, its saves about 45% on drive space.
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #9 on: June 11, 2015, 04:53:25 PM »

regarding codecs, another very good very current codec is the VP9 codec developed by google, it is free as well, and performs even butter
http://en.wikipedia.org/wiki/VP9

but i have never worked with it ... Sceptical
Logged

---

divide and conquer - iterate and rule - chaos is No random!
lycium
Fractal Supremo
*****
Posts: 1158



WWW
« Reply #10 on: June 11, 2015, 06:39:49 PM »

For the source frames, you should keep the PNG frames but have them resized down to final res first (4K instead of 8K).

For encoding I use super high bitrate H264, and the only way you can really host it is with your own webserver - YouTube and especially Vimeo do a pretty terrible job with fractal video, which is definitely a "worst case" scenario for video compression as panzerboy noted.

Still, it works reasonably well, there are plenty of examples on the Chaotica video page (along with links to download the HQ MP4 files directly): http://www.chaoticafractals.com/videos
Logged

Chillheimer
Global Moderator
Fractal Schemer
******
Posts: 972


Just another fractal being floating by..


chilli.chillheimer chillheimer
WWW
« Reply #11 on: June 12, 2015, 11:47:11 AM »

thx for all your input!

maybe I should make that one thing clear:
I'm not searching for a way to re-encode a finished video to a smaller filesize. (though any tip on this is also nice!)
I'm searching for the best encoder to use when rendering a zoom movie in kalles fraktalers movie maker.

I've tested a little more and it turns out that h264 doesn't work properly with 7680*4320 resolution.
the lower third of each frame is distorted, see attached screenshot.
------edit
ah, x264 log gives me the reason for the distortion:
x264vfw [warning]: frame MB size (480x270) > level limit (36864)
x264vfw [warning]: DPB size (3 frames, 388800 mbs) > level limit (1 frames, 184320 mbs)
x264vfw [warning]: MB rate (3888000) > level limit (2073600)
what now?
------
it works if I downscale the movie size (in the movie maker) to 3840*2160, but I really need the larger resolution.
actually what I really need is 3840*3840 for big screen projection in full domes, like planetariums.

this means I now don't have any way to properly render a video in that resolution.  sad
either I get dropouts (xvid), distortions (h264) or the filesize is too big too handle...



* __notworkingh264b.jpg (184.49 KB, 1606x903 - viewed 643 times.)
« Last Edit: June 12, 2015, 12:05:58 PM by Chillheimer » Logged

--- Fractals - add some Chaos to your life and put the world in order. ---
EchoEcho
Forums Freshman
**
Posts: 10


« Reply #12 on: June 12, 2015, 01:52:32 PM »

I've been using Lagarith Codec for lossless encoding with Movie Assembler.

I've been rendering at 3840x2160 with 50% reduction while encoding to Lagarith: 1920x1080, 300 frames per output file.
Virtualdub is quite okay for encoding from Lagarith to h264 /h265.
I've managed to create a 8.5 hours long slow-motion animation, quite okay for animated desktop using VLC.

I'm currently running an experiment: rendering to 7680x4320
I'll be using Movie Assembler for encoding using lagarith to 1920x1080 because AA is very necessary when producing a slowmotion zoom. Otherwise the aliasing effects are quite disturbing with such animations.

I'm not sure yet how movie assembler will deal with such big .kfb files.
If I'd be running Visual Studio and if I'd be patient enough to deal with that package, I'd be trying to ensure that such resolutions would be supported. However.... I'm too lazy or worse  smiley

As it seems, KF is using solid guessing nowadays (I could be wrong); the latest (3rd) run seems to skip quite an amount of pixels inside the Mandelbrot set (usually colored black). That's why I'm currently running on 7680x4320.

If my experiment turns out to be a success, then I'll let you guys know.

Logged
Kalles Fraktaler
Fractal Senior
******
Posts: 1458



kallesfraktaler
WWW
« Reply #13 on: June 12, 2015, 05:28:42 PM »

Hello!

I am using only standard windows functions so what's in the dialog is the codecs you have installed on your machine.
More than I decade ago I was using DivX which is very effective but nowdays it seem to cost money.
The risk of downloading free codec packages is that they may contain a lot of viruses...
I always use "Inter IYUV codec" that has been included in Windows for long, so I haven't installed any codecs myself.

Anyway, I don't think there is any point in making the final movie more than 1920x1080 pixels.
I don't think there are any screens available with higher resolution.
Even if you have rendered the frames with an insanely smiley large resolution, which is awesome!, you can have KFMM do the antialiasing already when creating the raw avi files, so in "Movie size" you manually enter 1920.

I then always use Microsoft Movie Maker, which is also available as a standard Windows program. The joints are never visible, but sometimes I notice that parts of the movie get slower FPS and is lagging, usually on the second raw avi. That is sad...

13:30 in 60fps would be (13*60+30)*60 = 48600 movie frames.
Each raw avi file encoded with IYUV and 1920x1080 would be 500 frames and about 1.6GB.
That would be 48600/500 = 97.2 movies, times 1.6 = 155.5GB.
You do have that space don't you?

I hope you succeed, your latest movie was awesome! smiley
Logged

Want to create DEEP Mandelbrot fractals 100 times faster than the commercial programs, for FREE? One hour or one minute? Three months or one day? Try Kalles Fraktaler http://www.chillheimer.de/kallesfraktaler
http://www.facebook.com/kallesfraktaler
Chillheimer
Global Moderator
Fractal Schemer
******
Posts: 972


Just another fractal being floating by..


chilli.chillheimer chillheimer
WWW
« Reply #14 on: June 12, 2015, 08:21:53 PM »

I've been using Lagarith Codec for lossless encoding with Movie Assembler.
Yeah, I did my last ones that way too. problem was that when I afterwards reencoded it with ffmpeg (a tip by seryzone) the files wouldn't play on my tv via the ps3 mediaserver anymore, seems to "invert" all the colours...
it's all so darn complicated...  roll eyes
Virtualdub is quite okay for encoding from Lagarith to h264 /h265.
How did you get h265 into virtual dub??
I tried but wasn't succesful yet.

I've managed to create a 8.5 hours long slow-motion animation, quite okay for animated desktop using VLC.
wow, that sounds very coool!
you mean do a extremle slow zoom with kf+movie assembler and then use that as a background on windows?! what a cool idea! gotta try that! do you just use vlc in fullscreen then, or is there any way to make it  a real background?
hehe, this will kill quite some time, just watching my desktop....  roll eyes grin
edit: found it! will try!

oh, and did you render the 8.5hours with kf movie assembler? this must have taken ages!
or did you do this in another way?
sorry for the countless questions!
but those are really interesting ideas you have going there!

I'm currently running an experiment: rendering to 7680x4320
...
I'm not sure yet how movie assembler will deal with such big .kfb files.
it seems to work quite fine, depending on the codec. but it takes aaages to render, especially when colour cycling.
10sec per frame at least...

If my experiment turns out to be a success, then I'll let you guys know.
please do! also what doesn't work..
I'll do to!
nice to share experience, saves us all a lot of time..  cool



Anyway, I don't think there is any point in making the final movie more than 1920x1080 pixels.
I don't think there are any screens available with higher resolution.
haha, never underestimate the freakyness of some freaks out there..  nerd
actually, the newest generation of tvs is 4k, which is 3840*2160.
there's not much content out in that resolution yet, but how cool will this be for kf-zooms! smiley

and: I want my zooms to play in full domes projections and planetarys, like https://www.facebook.com/media/set/?set=a.10153164197330250.1073741884.8345730249
and those projectors need at least 3840*3840.
I wonder if there is any chance you will get rid of the fixed resolution? no need to make it completely variable, but same x as y, 1920*1920 would be really great and also help when switching on rotation.

Even if you have rendered the frames with an insanely smiley large resolution, which is awesome!, you can have KFMM do the antialiasing already when creating the raw avi files, so in "Movie size" you manually enter 1920.7
cool, thx for clearing that up, wasn't sure about it

I then always use Microsoft Movie Maker, which is also available as a standard Windows program.
I tried that too, but i don't know how to achieva a good output quality. even in the highest setting it does horrible things to the details and the gradients.


Each raw avi file encoded with IYUV and 1920x1080 would be 500 frames and about 1.6GB.
That would be 48600/500 = 97.2 movies, times 1.6 = 155.5GB.
You do have that space don't you?
your calculation is correct.
but now take it times 4, because of 7680*4320. and thats space I don't have... maybe I need another harddrive - but i have no more free sata-ports.
as if my 10tb weren't enough... I'm a data messie... roll eyes
and my obsession with your programm really doesn't help!!!  grin

I hope you succeed, your latest movie was awesome! smiley
thx.. you mean aeronaut? or the other?
I've uploaded aeronaut to the server in high qualita and can pm you the link if you like..


cheers! A Beer Cup
Logged

--- Fractals - add some Chaos to your life and put the world in order. ---
Pages: [1] 2 3   Go Down
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.24 seconds with 29 queries. (Pretty URLs adds 0.017s, 2q)