How zerabyte88/phantek-video-toolkit works
Phantek is an offline Android video toolkit. Its main workflow is selecting a video, choosing conversion settings, and processing it locally with FFmpeg; audio extraction is a parallel operation. The app also provides device-aware resource controls, background execution and telemetry, persistent settings, themes, and localization. The README documents these capabilities, but no Dart source was excerpted, so the edges below reflect documented relationships rather than inspected call sites.
Main entry points: home_screen.dart Home screen · processing_screen.dart Processing screen · settings_screen.dart Settings screen · ffmpeg_service.dart FFmpeg processing
Components 20
User interface
- Home screen
lib/screens/home_screen.dart - Processing screen
lib/screens/processing_screen.dart - Settings screen
lib/screens/settings_screen.dart - Video information
lib/widgets/video_info_card.dart - Conversion options
lib/widgets/conversion_options_card.dart - Audio extraction options
lib/widgets/audio_extractor_card.dart
Media processing
- FFmpeg processing
lib/services/ffmpeg_service.dart - Encoding settings model
lib/models/encoding_options.dart - Video information model
lib/models/video_info.dart
Device execution
- Foreground execution
lib/services/foreground_service.dart - Device resource detection
lib/services/device_spec_helper.dart - Cache management
lib/services/cache_manager_service.dart
Preferences and presentation
- Settings persistence
lib/services/settings_service.dart - App settings model
lib/models/app_settings.dart - Localization
lib/services/localization_service.dart - Theme system
lib/theme/app_theme.dart - Theme backgrounds
lib/widgets/theme_animated_background.dart
Other components
- User
- Android media picker
- On-device media
Connections 18
- User → Home screen: uses
README.md - Home screen → Android media picker: selects video
README.md - Home screen → Video information: shows details
README.md - Home screen → Conversion options: configures video
README.md - Home screen → Audio extraction options: configures extraction
README.md - Conversion options → Processing screen: starts conversion
README.md - Audio extraction options → Processing screen: starts extraction
README.md - Processing screen → FFmpeg processing: runs encoding
README.md - FFmpeg processing → On-device media: reads and writes
README.md - FFmpeg processing → Foreground execution: runs in background
README.md - Processing screen → Device resource detection: adapts resources
README.md - Processing screen → Cache management: uses buffers
README.md - User → Settings screen: configures preferences
README.md - Settings screen → Settings persistence: persists settings
README.md - Settings persistence → App settings model: stores settings
README.md - Settings screen → Theme system: selects theme
README.md - Theme system → Theme backgrounds: drives backgrounds
README.md - Home screen → Localization: localizes interface
README.md