Welcome to Fractal Forums

Fractal Software => Mandel Machine => Topic started by: Botond Kósa on November 19, 2014, 02:22:19 AM




Title: Version 1.3.7 is available
Post by: Botond Kósa on November 19, 2014, 02:22:19 AM
A new upgrade is available, giving more manual control over series approximation. In previous versions it operated in a rather conservative way that sometimes caused a large number of skippable iterations to be computed, e.g. at Dinkydau's Candy location (http://dinkydauset.deviantart.com/art/Candy-417789017 (http://dinkydauset.deviantart.com/art/Candy-417789017)). Now the default SA operation is more aggressive, skipping more iterations. In case this causes visible artifacts, SA can be manually made more conservative by raising the value of OOM diff between terms under Computation.

Download link and list of changes: http://web.t-online.hu/kbotond/mandelmachine/#1.3.7 (http://web.t-online.hu/kbotond/mandelmachine/#1.3.7)


Title: Re: Version 1.3.7 is available
Post by: SeryZone on November 21, 2014, 05:26:59 PM
Botond, will you add palette presets that I fixed?

+I can't understand how works this... deflate...


Title: Re: Version 1.3.7 is available
Post by: Botond Kósa on November 21, 2014, 05:41:41 PM
Botond, will you add palette presets that I fixed?
Yes, they will be included in the next release.

+I can't understand how works this... deflate...
Deflate is the name of the lossless compression algorithm used in zip and png files (http://en.wikipedia.org/wiki/DEFLATE (http://en.wikipedia.org/wiki/DEFLATE)). You really don't need to understand the algorithm itself, just use a public library available for your programming language. If you have trouble finding one, I can write a small tool that converts compressed .mmit files to uncompressed .mmi


Title: Re: Version 1.3.7 is available
Post by: SeryZone on November 21, 2014, 07:53:36 PM
Where I can get library? Where I can download it for delphi?


Title: Re: Version 1.3.7 is available
Post by: Botond Kósa on November 21, 2014, 08:43:31 PM
I have no experience with Delphi, but http://lmgtfy.com/?q=deflate+delphi (http://lmgtfy.com/?q=deflate+delphi) ;)


Title: Re: Version 1.3.7 is available
Post by: SeryZone on November 22, 2014, 09:46:46 PM
Botond, can you add .png rendering? I can render 15360x8640 images and make movie after.


Title: Re: Version 1.3.7 is available
Post by: Botond Kósa on November 26, 2014, 02:14:59 AM
Botond, can you add .png rendering? I can render 15360x8640 images and make movie after.

Yes, check out version 1.3.8 (http://web.t-online.hu/kbotond/mandelmachine/#1.3.8)


Title: Re: Version 1.3.7 is available
Post by: SeryZone on November 26, 2014, 05:43:51 AM
Yes, check out version 1.3.8 (http://web.t-online.hu/kbotond/mandelmachine/#1.3.8)

Wow! Thank you so much! Palettes and .png are really useful for me.


Title: Re: Version 1.3.7 is available
Post by: SeryZone on November 26, 2014, 05:53:32 AM
Oh, how to encode this sequence:
ffmpeg -r 60 -y -i "E:\Video\okay.mma.frame(%04d)of1800.png" -vcodec libx264 -s:v 640x480 -b:v 1250K "E:\Okay.mp4"

Even ffmpeg can't encode this sequence. If you can, change name of like 'Frame_%04d' or 'okay.mma.frame.%04d.png'.


Title: Re: Version 1.3.7 is available
Post by: Botond Kósa on November 26, 2014, 10:56:03 AM
Oh, how to encode this sequence:
ffmpeg -r 60 -y -i "E:\Video\okay.mma.frame(%04d)of1800.png" -vcodec libx264 -s:v 640x480 -b:v 1250K "E:\Okay.mp4"

Even ffmpeg can't encode this sequence. If you can, change name of like 'Frame_%04d' or 'okay.mma.frame.%04d.png'.

You could try it without parentheses, like
ffmpeg -r 60 -y -i "E:\Video\okay.mma.frame%04dof1800.png" -vcodec libx264 -s:v 640x480 -b:v 1250K "E:\Okay.mp4"

Parentheses are legal characters in a filename.


Title: Re: Version 1.3.7 is available
Post by: SeryZone on November 26, 2014, 01:48:49 PM
So, how to import sequence to file? I tried Adobe AE, Adobe Premiere, Sony Vegas, VirtualDub and even ffmpeg don't see sequence!


Title: Re: Version 1.3.7 is available
Post by: Botond Kósa on November 26, 2014, 02:05:34 PM
I found in ffmpeg's documentation that you also have to specify the starting number of the sequence if it is other than 0. MM saves the pngs starting from 1, so you should call ffmpeg like this:

ffmpeg -r 60 -y -start_number 1 -i "E:\Video\okay.mma.frame%04dof1800.png" -vcodec libx264 -s:v 640x480 -b:v 1250K "E:\Okay.mp4"


Title: Re: Version 1.3.7 is available
Post by: Botond Kósa on November 26, 2014, 02:14:06 PM
It also states that if you want to encode all pngs in the directory in the ascending order of their file names, it is enough to set -pattern_type glob and you don't have to deal with numbering at all:

ffmpeg -r 60 -y -pattern_type glob -i "E:\Video\*.png" -vcodec libx264 -s:v 640x480 -b:v 1250K "E:\Okay.mp4"


Title: Re: Version 1.3.7 is available
Post by: SeryZone on November 26, 2014, 06:32:36 PM
*.png -> function is not implemented. ????


Title: Re: Version 1.3.7 is available
Post by: quaz0r on November 26, 2014, 07:36:21 PM
this is a somewhat generic example of one way to run encodes, playing back a sequence of (scaled) images to a fifo using mpv on one term, and running x264 on that fifo in another term, and then of course muxing to a container when its finished.

mkfifo foo.y4m
nice -n +19 mpv -vf scale=640:480 mf://animationdir/*.png -o foo.y4m --no-sub --no-audio --oautofps --oneverdrop
nice -n +19 x264 --opencl --videoformat ntsc --no-fast-pskip --no-dct-decimate --sar 1:1 --fps 60 --crf 16 -b 8 --b-adapt 2 -r 8 --rc-lookahead 80 --aq-mode 1 --aq-strength 0.5 --psy-rd 1.0:0.2 --deadzone-inter 6 --deadzone-intra 6 --deblock -2:-2 --ipratio 1.1 --pbratio 1.1 --qcomp 0.8 -A all --direct auto --me tesa --merange 24 -m 11 -t 2 -o foo.h264 foo.y4m
mkvmerge -o foo.mkv --default-duration 0:60fps foo.h264 foo.ogg

...oops, didnt see your "E:\videos" or whatever.  i saw an ffmpeg command line and assumed lunix  :angel1:


Title: Re: Version 1.3.7 is available
Post by: SeryZone on November 26, 2014, 10:09:46 PM
What is that??? I can't understand.

I solve my problem - reconvert images to jpg and renamed it to IMG_%04d.jpg. All programms see all seq.