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!
Setup for BadApplePrompt is easy:
- Create a folder anywhere
- Drop
BadApple.exeinto it - Download and drop
FFmpegandFFprobeinto the folder - Open
BadApple.exe, select and open a video
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.
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 |
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.
