Skip to content

Instantly share code, notes, and snippets.

@datavudeja
datavudeja / _zeroteams.md
Created December 30, 2025 20:17 — forked from Midblyte/_zeroteams.md
Download Teams recordings using Bash

zeroteams

zeroteams is a command-line tool to download video recordings from Microsoft Teams.

Usage

# It's as easy as that (keep the URL in the clipboard):
zeroteams download --from-clipboard
# Specifying the file name:
zeroteams download --from-clipboard --file "filename.mp4"

Downloading Read-Only Microsoft Teams and Stream Videos and Recordings with FFMPEG

Getting the URL

  • Go to URL which has the video, open dev tools (usually F12) / inspect (Right Click > Inspect) in the browser and go to the Network tab.

  • Then reload the page.

  • In the network tab, search the following command using the search area. videomanifest?provider

@datavudeja
datavudeja / playwright.md
Created December 30, 2025 20:16 — forked from ayoubzulfiqar/playwright.md
Video Detection & Download Strategies using Playwright (Python)

Video Detection & Download Strategies using Playwright (Python)

To detect and download videos from a webpage's network traffic, we can intercept network requests in Playwright, identify video streams/files, and handle them appropriately. Below are different strategies to achieve this.


1. Intercepting Network Requests (Recommended)

Monitor network activity for video-related MIME types or file extensions.

@datavudeja
datavudeja / ffmpeg_snapshot.py
Created December 30, 2025 20:16 — forked from TheFern2/ffmpeg_snapshot.py
ring-mqtt motion snapshots with ffmpeg (NO SUBSCRIPTION) - home assistant ring doorbell or any rtsp camera
import os
import time
import datetime
import shutil
@service
def take_snapshot(uri=None, save_path=None, count=3):
IMAGE_COUNT = count
ffmpeg = f"/usr/bin/ffmpeg -y -i {uri}"
@datavudeja
datavudeja / README.md
Created December 30, 2025 20:16 — forked from jameshi16/README.md
[Mine] Script to download all the things from "Public Static Void"

Pre-requisites

You will need FFMPEG installed and available in your path.

Run pip install -r requirements.txt, then run python3 main.py.

Outputs

In out/, you'll get:

@datavudeja
datavudeja / 0readme.md
Created December 30, 2025 20:16 — forked from briancline/0readme.md
patch for ffmpeg 5.1: allow use of `%t` in image2 output filenames to include video timestamp of the frame

ffmpeg patch: video timestamp in image2 output filenames (2022-10-27)

What it do

When extracting individual frames from a video file as image outputs, allows the use of %t in the output filename to be substituted at runtime with the timecode for each frame (for example 00.01.02.033).

Therefore an output filename of wtf_%t.jpg looks like wtf_00.11.22.333.jpg.

@datavudeja
datavudeja / ffmpeg_download.md
Created December 30, 2025 20:16 — forked from sahildeshp/ffmpeg_download.md
Downloading Read-Only Microsoft Teams and Stream Videos and Recordings with FFMPEG
@datavudeja
datavudeja / README-ffmpeg-sprite-generator.md
Created December 30, 2025 20:07 — forked from arenagroove/README-ffmpeg-sprite-generator.md
A PowerShell script that pulls evenly spaced frames from a video or GIF and arranges them into a single image strip, either horizontal or vertical. You can resize the frames, adjust spacing between them, and optionally convert the result to WebP. It can also generate a JSON file with metadata. Useful for web-based sprite animations, like CSS zoe…

FFmpeg Sprite Generator — PowerShell Script

Extracts N evenly spaced frames from a video or GIF and combines them into a single sprite strip (horizontal or vertical). Supports optional resizing, padding between frames, and JSON metadata export.

Features:

  • Automatically detects media type (GIF or video)
  • Supports frame-accurate or keyframe-based seeking
  • Optional resizing with -ResizeTo
@datavudeja
datavudeja / compress.ps1
Created December 30, 2025 20:07 — forked from carneloot/compress.ps1
A simple powershell script to compress video
# Requires Windows PowerShell 5.1 or PowerShell Core (pwsh)
param(
[Parameter(Mandatory=$true)]
[Alias("i", "in")] # Aliases for InputFile
[string]$InputFile,
[ValidateSet('default', 'whatsapp', 'gpu-hevc', 'gpu-h264')]
[Alias("p")] # Alias for Preset
[string]$Preset = 'default' # Default compression preset
@datavudeja
datavudeja / picamera2-manual.md
Created December 30, 2025 20:07 — forked from KarimAziev/picamera2-manual.md
I converted the Picamera 2 PDF manual (2025-03) to Markdown because, apparently, the Raspberry Pi Foundation couldn't be bothered to provide one. #md