Skip to content

NathanJ60/TikTokVirtualCam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TikTok Virtual Cam

A jailbreak tweak that replaces TikTok's camera feed with a custom video source. Use any video as your virtual camera input on TikTok.

Features

  • Replace the live camera feed with a pre-recorded video
  • Maintains aspect ratio and centers the overlay
  • Loops video automatically
  • Works with TikTok's native camera interface

Requirements

  • Jailbroken iOS device (arm64/arm64e)
  • iOS 15.0+
  • Theos build system
  • TikTok app installed

Installation

  1. Clone this repository
  2. Configure your device IP in the Makefile:
    THEOS_DEVICE_IP = YOUR_DEVICE_IP
  3. Build and install:
    make package install

Usage

  1. Place your video file at /var/jb/var/mobile/overlay_video.mp4 on your device
  2. Open TikTok
  3. The camera feed will be replaced with your video

How it works

The tweak hooks into TikTok's camera capture pipeline (IESMMCaptureKit) and intercepts the video frames. Each frame from the camera is replaced with frames from your overlay video using Core Image for efficient GPU-based compositing.

Key components:

  • AVPlayer for smooth video playback
  • AVPlayerItemVideoOutput for frame-accurate video extraction
  • CIContext for GPU-accelerated image compositing

Project Structure

TikTokVirtualCam/
├── Tweak.xm              # Main tweak implementation
├── Makefile              # Theos build configuration
├── control               # Package metadata
├── TikTokVirtualCam.plist # Bundle filter
├── Resources/            # Assets
├── reinstall.sh          # Reinstall helper script
└── install_test.sh       # Test installation script

Disclaimer

This project is for educational purposes only. Use responsibly and in accordance with TikTok's terms of service.

License

MIT License

Author

Nathan Jacas

About

iOS jailbreak tweak to replace TikTok's camera feed with a custom video source

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors