FFMPEG: Creating a video from JPG images on the command line

So I have this directory filled with 102.766 webcam stills in JPG format. I want to convert these images into a nice AVI video file on my linux machine.

To do this, I simply call the following line on my command line from inside the directory where my images are in. The images do not have to be numbered squentially for this to work.

ffmpeg -pattern_type glob -framerate 60 -i '*.jpg'  -vcodec mpeg4 foo.avi

This produces a video with a framerate of 60 fps – which is really nice for my webcam “timelapse” video. The webcam I saved the images from makes one frame every minute, so I get a whole hour of footage into one second of video.

How to easily unlike all pages on Facebook in 2020

You want to unlike all pages you have ever like on Facebook in one go? It’s simple!

First, go to your facebook profile page’s “likes” section.

https://www.facebook.com/YOUR_USER_NAME/likes

Use the “page down” key to movbe to the bottom of the page. facebook is lazy loaing your likes asynchronously, so it may take a while to show all your likes.

Once you reached the end of your likes, open your browser console by hitting the F12 key in Google’s Chrome browser. Just ignore the big red “STOPP”. Trust me, I’m a software developer…

The console input looks like this…

Now copy and paste the following into the console:

var buttons = document.getElementsByClassName('PageLikedButton');

This code will collect all your like buttons in an array.

Copy and paste the following code to open all like button popovers:

for(let button of buttons){button.click();};

To simply click on every “unlike” in every popover, simply paste the following code into the console:

var unlikes = document.getElementsByClassName('itemLabel');
// UPDATED: trigger click on all unlike popovers
Array.from(unlikes).forEach(unlike => {
 if(unlike.textContent === 'unlike') {
  unlike.click()
    }
})

There you go – all your likes have been removed.

Just so Google knows what to show this page for, I will simply add a few more search queries that may suit the content of this page. This doesn’t matter to you, though.

  • Batch Unlike Facebook Likes
  • Remove all facebook likes
  • Unlike all my facebook pages
  • Mass unlike facebook likes

Alle Facebook-Likes auf einmal löschen (Seiten unliken) in 2020

Du willst schnell und ganz easy alle Facebook-Likes auf einmal löschen? Klar, geht :) Drei Schritte, mehr braucht es nicht.

Gehe als erstes auf Deine Profilseite und dort zur “Likes”-Sektion. Du kannst dazu die folgende URL anpassen.

https://www.facebook.com/DEINBENUTZERNAME/likes

Nutze jetzt die “Bild-Runter”-Taste Deiner Tastatur, um alle Likes anzuzeigen. Diese werden asynchron nachgeladen, wenn Du das Ende der Seite erreichst. Das kann schon etwas dauern.

Wenn Du am Ende der Seite bist, öffne die Browser-Konsole (F12 im Chrome) und ignoriere das große, rote “STOPP”. Trust me, I’m a software developer…

Jetzt copy / paste den folgenden Code in die Konsole:

So sieht die Konsole aus…
var buttons = document.getElementsByClassName('PageLikedButton');

Das sammelt alle “Like”-Buttons in ein Array. Paste danach die folgende Code-Zeile in die Konsole:

for(let button of buttons){button.click();};

Die Popovers öffnen sich… und jetzt zum Schluss all das hier in die Konsole pasten.

var unlikes = document.getElementsByClassName('itemLabel');
// UPDATED: trigger click on all unlike popovers
Array.from(unlikes).forEach(unlike => {
 if(unlike.textContent === 'Gefällt mir nicht mehr') {
  unlike.click()
    }
})

Zack. Gerne :)