Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Labhatorian/BadApplePrompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

118 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BadApplePrompt

Platform GitHub GitHub repo size GitHub last commit

Inspired by countless videos of Bad Apple being played on any device imaginable. Play black and white videos right into your command prompt/terminal with audio support.

Check BadApplePrompt out in action over at YouTube by clicking the image below!
BadApplePrompt Youtube video link

Setup

Setup for BadApplePrompt is easy:

  1. Create a folder anywhere
  2. Drop BadApple.exe into it
  3. Download and drop FFmpeg and FFprobe into the folder
  4. Open BadApple.exe, select and open a video

Notes

Please note that while BadApplePrompt is fairly stable, you can mess up the playback by minimising, maximising and changing the size of the window. In addition, closing BadApplePrompt might not always delete the entirity of the hidden /temp folder located in the same folder as BadApple.exe.

Arguments and options

You can run this application with arguments through a terminal window or in shortcut inside the target field. All the options that can be found in the Settings screen can be set up using arguments. The following arguments/options are available:

Argument Explanation Default
(FilePath)* Required as first argument, path to videofile N/A
-FileExtension "(Name of extension)" Choose which file extension will be used when the videoframes get extracted JPEG
-Factor (Number) Choose by which factor the frames will be sized down for viewing 4
-Verbose Enable verbose mode to show FFmpeg and FFprobe output False
-AutoStart Automatically start playing the video False
-Resize Disable resizing the videoframes True
-ConvertBlackWhite Convert the videoframes to grayscale as this might improve viewing. False
-FPSCounter Disable the FPS counter when playing the video True

Afterword

This was a fun 'little' side project that I decided to do when I first started learning C# that got out of control. I admit that C# is not the language for this and that C++ might have been better. I had to unfortunately drop colour support as Console.Write() is the fastest way to write to console without dealing with buffers from StreamWriter or corrupted garbage data from WriteConsoleW().

Copyright © 2023 Labhatorian
Dit werk is gelicentieerd onder de GNU General Public License v3.0.

About

Play black and white videos in command prompt

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages