How to make a spectrogram with FFmpeg on Linux. This is very cool.

Making a spectrogram with FFmpeg on Linux is very easy. The FFmpeg utility is the best way to accomplish this task. This simple command will render a spectrogram of the audio file. This can be very interesting if the music file contains hidden information in the audio. ┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Music/Rap] └─$…

Read More

A very good mencoder command-line to rip a DVD in very good quality.

This long one-liner will rip a DVD in very good quality to an AVI file. ┌──[[email protected]]─[~] └──╼ ╼ $ mencoder -passlogfile 2passlog.log -oac mp3lame -lameopts vbr=3 -ovc xvid -xvidencopts bitrate=1400:me_quality=6:chroma_me=1:nointerlacing:max_bframes=1:noqpel:hq_ac:trellis:quant_type=mpeg:chroma_opt:bvhq=1:vhq=4:autoaspect:pass=1:turbo -aid 128 -ofps 23.976 dvd:// -o evil_dead_movie.avi┌──[[email protected]]─[~] └──╼ ╼ $ mencoder -passlogfile 2passlog.log -oac mp3lame -lameopts vbr=3 -ovc xvid -xvidencopts…

Read More

How video transcoding works on Twitch.tv.

The Twitch video sharing website uses free software such as FFmpeg to transcode user video files. There is also a lot of other software such as Varnish Proxy, which is a web accelerator for content-heavy sites. But most of the power of Twitch is due to a CDN that helps…

Read More

How to easily capture video from websites that use blobs.

Downloading video from a website can be very annoying if they use video blobs that are assembled into a full video file. But I have found one way of doing this. The example shown below has many individual files that are video blobs, these are assembled using a master.m3u8 file….

Read More

How to use FFmpeg to get a slow-motion video clip.

Making a slow-motion clip from a video can be very useful to show off what is happening in a certain scene. The example below will make a slow-motion clip from a video file. This would be another very useful FFmpeg tip. > ffmpeg -i qS_lu5dKo9A2qoNW.mp4 -c:v libvpx -b:v 3200k -filter:v…

Read More

How to properly brighten a video file with FFmpeg.

Making a video file brighter is very easy, this can be done with FFmpeg. The curves filter can easily brighten a video file without causing much degradation at all. Use this example to make a video file a bit brighter and it will still be the same quality. ffmpeg -i…

Read More

More fun with FFmpeg. How to reverse video colors in interesting ways.

FFmpeg allows interesting video manipulation. This includes inverting the colours of video files. The example below will invert the colours of a video file. ┌──[[email protected]]─[~/Videos/titles] └──╼ ╼ $ ffmpeg -i zombiestrain.avi -vf lutrgb="r=negval:g=negval:b=negval" zomby.avi┌──[[email protected]]─[~/Videos/titles] └──╼ ╼ $ ffmpeg -i zombiestrain.avi -vf lutrgb="r=negval:g=negval:b=negval" zomby.avi This is an example of what this…

Read More

TRS-80 Computers were the best.

The Radio Shack TRS-80 computer shown here is the first computer I ever used. It has a massive 4K of RAM, upgradeable to 16K, a cassette tape drive using standard audio cassettes with programs on them such as games and utilities as well as a monochrome monitor and of course…

Read More

How to download a video blob easily from a website.

Downloading a video blob from a website can be very frustrating. This is easier with the Download Helper extension for Firefox. This can make this task very easy. When you are on a website that hasthe video you want, click the Download Helper icon and find the format and resolution…

Read More

How to download Tik Tik videos without using an app in 2020.

Tik Tok is a very useful website for sharing short-form videos online. But you cannot easily download videos unless you know how to. But there is a very useful trick to do this using Firefox. Just open a video then right-click on the video and then choose Inspect Element. Then…

Read More

How to get information about a video file with the Linux command line easily.

Getting information about a video file on Linux with the command line is very easy. I will show how you can easily find the resolution of a video and the format. This example below will return the resolution of a video file. jason@jason-desktop:~/Videos$ ffprobe XR_3DA_2019_03_16_19_22_35_777.avi 2>&1 | grep -E ‘[[:digit:]]{3,}x[[:digit:]]{3,}’…

Read More

Overlay two videos on top of another with ffmpeg.

Overlaying two other video files on to another is very easy with ffmpeg. I had two video files that are 640×360 pixels, and one that is 1920×1080. I used this command line with ffmpeg to overlay them. ffmpeg -i controller_agroprom.mp4 -vf "movie=dbz120.mp4 [a]; movie=dbz121.mp4 [b]; [in][a] overlay=0:32 [c]; [c][b] overlay=0:448"…

Read More

Play movies with mpv and scale the output to a certain size.

The mpv media player can scale the output, just as mplayer does. This can be useful. Use this parameter to scale the video. -vf scale=960:720-vf scale=960:720 This is how this is done. This will scale the output to 960×720 pixels. 4.4 Mon Jul 08 jason@Yog-Sothoth 0: $ mpv -vf scale=960:720…

Read More

How to play a Youtube video with MPV and skip to a certain section.

Playing a Youtube video with mpv is very easy, it is also possible to skip to a certain part of the video whenever you wish. Make sure that you have the latest version of Youtube-dl first. sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/bin/youtube-dlsudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/bin/youtube-dl Then run this…

Read More

How to cut a section out of a video with ffmpeg.

Cropping a section of a video and saving it without reencoding is very simple, the example below shows how to use ffmpeg to cut out a section of video and then save it to a separate file. This example will cut out a clip starting 12 minutes into the video…

Read More