Skip to content

ayunami2000/ayunMCVNC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ayunMCVNC

Map VNC/streaming & audio for Minecraft 1.8-1.19!!

How do I get started?

Well, since I haven't really put anything together yet, here's some snippets for parts that are completely undocumented:

ffmpeg -y -re -stream_loop -1 -thread_queue_size 4096 -i "my-cool.m3u8" -vf scale=512:256 -f rawvideo -c:v mjpeg -qscale:v 16 -r 20 udp://127.0.0.1:1337 -f s16le -acodec pcm_s16le -ac 2 -ar 48000 udp://127.0.0.1:1338
ffmpeg -f gdigrab -framerate 20 -i desktop -vf scale=1024:512 -f rawvideo -c:v mjpeg -qscale:v 16 -r 20 udp://127.0.0.1:1337
/mcvnc create fard 4 2 false 1000 1337;1338
DO NOT USE THE "ALT DISPLAY" """FEATURE""" IT LAGS A LOT AND IS INCOMPLETE/ABANDONED!!
example for repeating command block (holds key as long as it's powered): /mcvnc cb @ key Return
with no permission system, non-op players are only able to view screens, and nothing else.
when creating/moving a screen, it moves so that it's top left corner is at the block you are facing.

Credits

  • MakiDesktop Project that this is a rewrite of
  • CodedRed For ImageManager class
  • DNx5 for synchronizing the maps, optimizing the code, implementing sierra2 dithering. literally do all the hard work for me
  • EzMediaCore for the dither algorithm
  • MakiScreen Lagless map rendering
  • Vernacular VNC VNC support
  • ProtocolLib For multi-version support
  • JeroMQ For the sad attempt at a sort of "VR" mode (to send rotation information to an ffmpeg process)