{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "Photoindra: posts tagged windows",
    "_rss_description": "My telegram",
    "_rss_language": "en",
    "_itunes_email": "",
    "_itunes_categories_xml": "",
    "_itunes_image": "",
    "_itunes_explicit": "",
    "home_page_url": "https:\/\/mail.photoindra.com\/tags\/windows\/",
    "feed_url": "https:\/\/mail.photoindra.com\/tags\/windows\/json\/",
    "icon": "https:\/\/mail.photoindra.com\/pictures\/userpic\/userpic@2x.jpg?1578579456",
    "authors": [
        {
            "name": "Russian in Panama",
            "url": "https:\/\/mail.photoindra.com\/",
            "avatar": "https:\/\/mail.photoindra.com\/pictures\/userpic\/userpic@2x.jpg?1578579456"
        }
    ],
    "items": [
        {
            "id": "262",
            "url": "https:\/\/mail.photoindra.com\/all\/gif-creation-from-sequence-of-images-or-mp4\/",
            "title": "Gif creation from sequence of images or mp4",
            "content_html": "<p><iframe src=\"https:\/\/player.vimeo.com\/video\/465003616?autoplay=1&loop=1&autopause=0&muted=1\"\" width=\"360\" height=\"640\" frameborder=\"0\" allow=\"autoplay; fullscreen\" allowfullscreen><\/iframe><\/p>\n<p>When I need to create gifs I ususally use After Effects and plugin <a href=\"https:\/\/aescripts.com\/gifgun\/\">GifGun<\/a>.<br \/>\nBut sometimes it doesn’t play nice with colors. They have an “experimental engine” inside as an option but that result in huge size gifs.<br \/>\nSome people use <a href=\"https:\/\/ezgif.com\/video-to-gif\">Ezgif<\/a>. But it has some limitations and you need to upload to web.<\/p>\n<p>So this weekend I tried <a href=\"https:\/\/imagemagick.org\/script\/download.php\">ImageMagick<\/a>.<br \/>\nIt also installs FFMPEG. So you use it first to convert videos or image sequeces to gif first. And then compress it with ImageMagick. There is no GUI on Windows so you use Command Prompt (it’s like Terminal on Mac).<\/p>\n<p>First you change your current location to the directory where you files are with. Just type cd, drag and drop directory in the “terminal” and hit enter.<\/p>\n<p>I rendered 720x1280px image sequece in houdini with names like this:<br \/>\nCAM_top.0001.tif,<br \/>\nCAM_top.0002.tif,<br \/>\n...<br \/>\nCAM_top.0072.tif<\/p>\n<p>So to convert it to 24 fps gif with half-resolution and custom color pattern (for better colors representation) I used this line:<br \/>\n<code><br \/>\nffmpeg -r 24 -i CAM_top.%04d.tif -filter_complex “[0:v] scale=360:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse” output_360px.gif<br \/>\n<\/code><br \/>\nAnd then compressed it with ImageMagick with this:<br \/>\n<code><br \/>\nmagick convert output_360px.gif -fuzz 1% -layers Optimize output_360px_fuzz1.gif<br \/>\n<\/code><br \/>\nfuzz1 – controls the amount of compresion. For example in some other tests fuzz5 gave ok results and smaller files size.<br \/>\nHere is another example of creating gif from mp4 – with rescaling, changing fps and single pattern generation. Split just means that we split this video into 2 and one use for pattern generation and other for convetion to gif after that:<br \/>\n<code><br \/>\nffmpeg -i video_source.mp4 -filter_complex “[0:v] fps=12,scale=540:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse” output_name.gif<br \/>\n<\/code><br \/>\nCreating gif from mp4 – with rescaling, changing fps. Pattern generated for every frame – this helps if there are lots of color variations in gif but will increase the size:<br \/>\n<code><br \/>\nffmpeg -i video_source.mp4 -filter_complex “[0:v] fps=12,scale=w=540:h=-1,split [a][b];[a] palettegen=stats_mode=single [p];[b][p] paletteuse=new=1” output_name.gif<br \/>\n<\/code><br \/>\nHere is single camera view (6 MB):<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/mail.photoindra.com\/pictures\/CAM_top_360px_fuzz1.gif\" width=\"360\" height=\"640\" alt=\"\" \/>\n<\/div>\n<p>And here is 15 seconds version with lots of motion (21 MB):<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/mail.photoindra.com\/pictures\/output_optim_fuzz03.gif\" width=\"360\" height=\"640\" alt=\"\" \/>\n<\/div>\n",
            "date_published": "2020-10-05T08:52:47-05:00",
            "date_modified": "2020-12-04T15:15:18-05:00",
            "tags": [
                "animation",
                "houdini",
                "windows"
            ],
            "image": "https:\/\/mail.photoindra.com\/pictures\/CAM_top_360px_fuzz1.gif",
            "_date_published_rfc2822": "Mon, 05 Oct 2020 08:52:47 -0500",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "262",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [],
                "og_images": [
                    "https:\/\/mail.photoindra.com\/pictures\/CAM_top_360px_fuzz1.gif",
                    "https:\/\/mail.photoindra.com\/pictures\/output_optim_fuzz03.gif"
                ]
            }
        },
        {
            "id": "249",
            "url": "https:\/\/mail.photoindra.com\/all\/making-mac-keyboard-work-on-windows-10\/",
            "title": "Making Mac keyboard work on Windows 10",
            "content_html": "<p>After more than 10 years on Mac computers I’m switching to Windows. And the most challenging thing to my surprise was not the lack of some apps but default windows keyboard layout.<\/p>\n<p>It took me a while to figure out how to make my Magic Keyboard to work on windows the same way as on mac.<\/p>\n<p>Fist you need to swap WIN key with CTRL in app called SharpKeys:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/mail.photoindra.com\/pictures\/sharpkeys_screenshot@2x.jpg\" width=\"462\" height=\"347\" alt=\"\" \/>\n<\/div>\n<p>Then you need to install an app AutoHotkey.<br \/>\nCreate a plain text document and call it whatever you want but with extension .ahk<br \/>\nPlace it in your user startup folder (replace _username_ with your name):<br \/>\nC:\\Users\\_username_\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup<br \/>\nInside this ahk file write this:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.\n; #Warn  ; Enable warnings to assist with detecting common errors.\nSendMode Input  ; Recommended for new scripts due to its superior speed and reliability.\nSetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.\n\t\nLControl &amp; Tab:: \n    AltTabMenu := true\n    If GetKeyState(&quot;Shift&quot;,&quot;P&quot;)\n        Send {Alt Down}{Shift Down}{Tab}\n    else\n        Send {Alt Down}{Tab}\nreturn\n\n#If (AltTabMenu)\n\n    ~*LControl Up::\n        Send {Shift Up}{Alt Up}\n        AltTabMenu := false \n    return\n\n#If<\/code><\/pre>",
            "date_published": "2020-01-18T07:31:39-05:00",
            "date_modified": "2020-01-18T07:31:21-05:00",
            "tags": [
                "mac",
                "switching",
                "windows"
            ],
            "image": "https:\/\/mail.photoindra.com\/pictures\/sharpkeys_screenshot@2x.jpg",
            "_date_published_rfc2822": "Sat, 18 Jan 2020 07:31:39 -0500",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "249",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": [
                    "https:\/\/mail.photoindra.com\/pictures\/sharpkeys_screenshot@2x.jpg"
                ]
            }
        }
    ],
    "_e2_version": 4134,
    "_e2_ua_string": "Aegea 11.3 (v4134)"
}