Video File Operations with FFmpeg

Simple Useful Features of FFmpeg In this section we will go over a beautiful tool called as FFmpeg. I have been using FFmpeg for all of my video editing in server in production for more than 4 years now. It is a very reliable, amazing open source project for playing with video editing. Small Tip before we jump in Before we dive into these cheat sheet, remember that many of the FFmepg options are applicable to input and output files both. Based on where you put the option, FFmpeg decides to apply it for input or output. Options used before the -i <input_video> will be applicable to input file. ...

September 15, 2020 · 3 min · Pranav Gore

X virtual framebuffer (Xvfb)

Today, let’s talk about AWESOME X virtual frame buffer. Virtual memory to render GUI If you want to emulate the X server and want your UI apps to render over there then the answer is Xvfb . Xvfb uses frame buffer to emulate X server. Let’s install it first sudo apt update sudo apt install xvfb Basic Usage: Xvfb :111 -screen 0 1920x1080x24 & echo $! > /tmp/runxvfb.pid With this command we are creating a new display with 1920x1080 resolution and put the PID info /tmp/runxvfb.pid “:111” is the ID of the new display. We will use “:111” whenever we want to refer to that display. ...

April 22, 2020 · Pranav Gore

Update golang version on Fedora

Find out where Golang is installed, generally on the fedora it is /usr/local/go Or if you have custom location then check with echo $GOROOT and go to the location and rename go directory using sudo mv go go1.7.3. We keep older version for safety. Now, go to https://golang.org/dl/ and download suitable version for your system. Lets say downloaded file is in ~/Downloads/ and then execute following (modify paths as required) ...

October 16, 2017 · Pranav Gore