Skip to content

Instantly share code, notes, and snippets.

View boolfalse's full-sized avatar
🕸️
Semper Paratus

San B boolfalse

🕸️
Semper Paratus
View GitHub Profile
@boolfalse
boolfalse / ffmpeg-usage-examples.md
Created March 1, 2024 08:55
FFmpeg simple usage examples

FFmpeg simple usage examples

  • trim a video
ffmpeg -ss 00:01:00 -to 00:02:00 -i input.mp4 -c copy output.mp4
  • cut video from 1:34 to 1:36
ffmpeg -i input.mp4 -filter_complex "[0:v]trim=0:94,setpts=PTS-STARTPTS[clip1]; [0:v]trim=94:96,setpts=PTS-STARTPTS[clip2]; [0:v]trim=96,setpts=PTS-STARTPTS[clip3]; [clip1][clip3]concat=n=2:v=1:a=0[output]" -map "[output]" output.mp4
@boolfalse
boolfalse / git-user-migration.md
Created November 1, 2023 03:35
GitLab to GitHub migration

You can move your GitLab repository to GitHub while changing the commit authors to the desired name and email address. This process involves a few steps, and it's important to note that it will rewrite the Git history of your repository, which may impact collaboration and historical tracking. Here are the steps to achieve this:

Step 1: Clone your GitLab repository

Clone your GitLab repository to your local machine:

git clone <GitLab repository URL>
@boolfalse
boolfalse / ice-cube-chronology.md
Last active January 26, 2023 10:34
ICE CUBE - personal favorite tracks
@boolfalse
boolfalse / README.md
Last active April 21, 2024 13:27
Setup Laravel with PHP, MySQL, Node.js and ElasticSearch on a Linux Server (Ubuntu 22.04)