Skip to content

Instantly share code, notes, and snippets.

@Sarverott
Last active August 21, 2025 08:19
Show Gist options
  • Save Sarverott/de9e86a40804b38ba5ac47ffbd49ffda to your computer and use it in GitHub Desktop.
Save Sarverott/de9e86a40804b38ba5ac47ffbd49ffda to your computer and use it in GitHub Desktop.
yt-download and ffmpeg

some stuff with spontanious murdered precesses that like to hang

just some video stuff, keep digging...


killing spread mass termination

kill $(jobs -p) #terminate background jobs, usefull with youtube_dl, youtube_dl is pain in ass

kill ways listing

kill -l | column -t
# 1)   SIGHUP       2)   SIGINT       3)   SIGQUIT      4)   SIGILL       5)   SIGTRAP
# 6)   SIGABRT      7)   SIGBUS       8)   SIGFPE       9)   SIGKILL      10)  SIGUSR1
# 11)  SIGSEGV      12)  SIGUSR2      13)  SIGPIPE      14)  SIGALRM      15)  SIGTERM
# 16)  SIGSTKFLT    17)  SIGCHLD      18)  SIGCONT      19)  SIGSTOP      20)  SIGTSTP
# 21)  SIGTTIN      22)  SIGTTOU      23)  SIGURG       24)  SIGXCPU      25)  SIGXFSZ
# 26)  SIGVTALRM    27)  SIGPROF      28)  SIGWINCH     29)  SIGIO        30)  SIGPWR
# 31)  SIGSYS       34)  SIGRTMIN     35)  SIGRTMIN+1   36)  SIGRTMIN+2   37)  SIGRTMIN+3
# 38)  SIGRTMIN+4   39)  SIGRTMIN+5   40)  SIGRTMIN+6   41)  SIGRTMIN+7   42)  SIGRTMIN+8
# 43)  SIGRTMIN+9   44)  SIGRTMIN+10  45)  SIGRTMIN+11  46)  SIGRTMIN+12  47)  SIGRTMIN+13
# 48)  SIGRTMIN+14  49)  SIGRTMIN+15  50)  SIGRTMAX-14  51)  SIGRTMAX-13  52)  SIGRTMAX-12
# 53)  SIGRTMAX-11  54)  SIGRTMAX-10  55)  SIGRTMAX-9   56)  SIGRTMAX-8   57)  SIGRTMAX-7
# 58)  SIGRTMAX-6   59)  SIGRTMAX-5   60)  SIGRTMAX-4   61)  SIGRTMAX-3   62)  SIGRTMAX-2
# 63)  SIGRTMAX-1   64)  SIGRTMAX
# all your AppImages are belong to us
chmod a+x *.AppImage
#!/bin/bash
#sudo pip install --upgrade youtube_dl
youtube-dl $VIDEOURL
mv 'In the Light (1990 Remaster)-pNo1nS_JV5k.mkv' in-the-light.mkv #just renaming
ffmpeg -i in-the-light.mkv -vcodec h264 -acodec aac -strict -2 in-the-light.mp4
#important mkv to mp4 only working method that i found
ffmpeg -i movie.mp4 soundtrack.mp3 #cut of form wideo sound background and save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment