An interactive batch file that uses ffmpeg on Windows to perform rtmps streaming of files with a specified extension in a folder. And it adds an overlay layer to the video to show the current playing file name.
Tested on Telegram PC (Windows11 21H2, 4.8.10 x64) live stream. Very good audio quality compared to in-app streaming.
Version 1: 09/16/23
Basic functionality
Version 2: 09/17/23
Add save&load last config
Add fade-in&out animation of now-playing overlay and a switch to turn it on/off
Fix bugs
- Make sure you installed
ffmpeg-full
on your Windows machine and added it to PATH. It should be "ffmpeg-full".
Check by running fffmpeg in a cmd.exe
console. You may get something like this:
-
In version2, I made a new feature. The batch can save (in the same folder with the .bat file) and load last config, making more convenience. Download and place a
NotoSansCJKsc-Regular.ttf
in the same folder with the .bat file. Here is the download link: https://github.com/life888888/cjk-fonts-ttf/releases/download/v0.1.0/NotoSansCJKsc-Regular.ttf . -
Follow the directions print out on the
cmd.exe
console. Type some information it requires. Press Enter. And it will run! (it works on my machine)
- (if you want to) Configure the ffmpeg params.
- Goto https://www.gyan.dev/ffmpeg/builds/ , and download this:
- Unzip it somewhere safe (you wont delete it by accident), and add the directory to PATH.
Step by step instruction can be found on wikiHow: https://www.wikihow.com/Install-FFmpeg-on-Windows
Step 1: Click the icon on the right side of your Channel title bar.
Step 2: Combine A and B to get the full stream server URL.
Step 3: Press button 3 (Picture above).
Step 4: Run the batch file.
:D and enjoy
FFmpeg text animation is generated with http://ffmpeg.shanewhite.co/ .
FFmpeg is the leading multimedia framework, see https://ffmpeg.org/ .
Source Han Sans is a sans-serif gothic typeface family created by Adobe and Google. It is also released by Google under the Noto fonts project as Noto Sans CJK, see https://github.com/adobe-fonts/source-han-sans .