Kullandığım programların cheatsheetleri

Started by Nommalorel, Jul 24, 2024, 08:04 PM

Previous topic - Next topic

Nommalorel

FFMPEG

Bir klasör içindeki tüm videoları gife dönüştürme:
#!/bin/bash
for file in *.mp4; do
  if [ -f "$file" ]; then
    echo "Processing $file..."
    ffmpeg -i "$file" -vf "fps=15,scale=640:-1:flags=lanczos" "${file%.*}.gif"
  else
    echo "No .mp4 files found in the folder."
  fi
done

Videoları image sequence' a dönüştürme: ffmpeg -i input.mov -r 0.25 output_%04d.png
MP4 ten ses çıkartma: ffmpeg -i sample.avi -q:a 0 -map a sample.mp3

ffmpeg -i mamiadm.mp4 -vf tmix=frames=4:weights="20" mb3.mp4 motion blur ekleme

Mp4 ile Mp3 ü birleştirip videoya ses ekleme: ffmpeg -i mebae480.mp4 -i mebae360.mp3 -map 0:v -map 1:a -c:v copy -c:a copy output.mp4 -y

ffmpeg -stream_loop <loop_count> -i input.mp4 -c copy output.mp4 Videoları looplar

yt-dlp
yt-dlp "playlist-url" ("" bu işareti koymayı unutma)
$ yt-dlp -x --audio-format mp3 https://www.youtube.com/watch?v=wp43OdtAAkM - youtubeden mp3 indirme
Instaloader
import instaloader

ig = instaloader.Instaloader()
dp = input("Enter username: ")

ig.download_profile(dp , profile_pic_only=False)

Resim indirme


Dosyalarıma ulaşmak isterseniz:

Soulseek: ommalorel
GigaTribe: Nommalorel