Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on FFmpeg

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

It is suggested that you use OpenCV for Python and moviepy (instead of FFmpeg) to manipulate multimedia.

  1. extrac audio from video

  2. convert between different formats of audios

Record Screen

The command …

Tips on C++ Compilers

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

GCC

  1. User option -lpthread to link the thread library when your code use the thread library. If you do not use, the option -lpthread, you can probably compile your coe without …

Computer Vision Tools

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

OpenCV | OpenCV for Python

Pillow

moviepy

moviepy is a Python library for video editing: cutting, concatenations, title insertions, video compositing (a.k.a. non-linear editing), video processing, and creation of custom …

Parallel Computing in Java

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

The following are a few tips for multithreading parallel computing in Java.

  1. Instance fields, static fields and elements of arrays are stored in heap memory and thus can be shared between …

Parallel and Concurrency Programming in C++11

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. If you use g++ to compile your parallel program which uses the thread library, you need to use the option -lpthread. For more information, see the post GNU/GCC.

  2. The join …