ucbrazerzkidai.blogg.se

Big screen and player for mp4 video
Big screen and player for mp4 video









  1. #BIG SCREEN AND PLAYER FOR MP4 VIDEO MOVIE#
  2. #BIG SCREEN AND PLAYER FOR MP4 VIDEO MOD#

ek(-tape.getPosition()) -Rewind to startġ. Local response = http.get(url, nil, true) - THIS IS IMPORTANT Sample code for a downloader (Note it downloads in binary, else you get a white noise) After a long talk on discord with Justyn he helped me demystify the tape drive. I did a bunch of research about this route yesterday. I believe the speaker/sound card also allow playing arbitrary waves, but the documentation is pretty much only composed of this gist, so that's a much harder route to go down. We've used this quite a lot on SwitchCraft to pipe music out. That sort of thing doesn't really fit in with the style of the mod.Ĭomputronics' tape drives use a format called "DFPWM", which you can convert.

#BIG SCREEN AND PLAYER FOR MP4 VIDEO MOD#

Thats pretty much it! Good luck!ĮDIT: I think I will be using to get the pitch and volume of the sound of the movie.Įdited by Jummit, 17 October 2018 - 07:47 AM.Īctual wave-based playback isn't possible in the base mod, and I don't believe anyone's made a peripheral mod that could do it, either: closest I can think of would be OpenFM. Use a screen buffer (the window api is pretty solid at buffering) so it doesn't flicker. I didn't worry about performance (at first), and I had no issues. Just use one character for every pixel and you're good.

#BIG SCREEN AND PLAYER FOR MP4 VIDEO MOVIE#

Don't try to use a binary format for the movie file, because CCs character set is different it wont work (learnt this the hard way).

big screen and player for mp4 video

I recommend doing only the movie player in Computercraft, the rest is easier to do in 'real' lua. The only thing you need to write is the a png->your movie format converter and something that plays this file.

big screen and player for mp4 video

I used PngLua to read pngs, ffmpeg to convert the mp4 into images (this takes some time to find out which parameters you need to change) and so on. Tips on making something like this? Use third party software for anything you can. I am thinking of adding sound support if I find software that gives me the information I need (Pitch, volume, maybe sound type). If you have any guidelines or tips to guide me along my path, that would be highly appreciated. I just completed a decent note block media player, and my next step was creating a video player with sound support. I've been thinking for a long time about creating a project like this myself.











Big screen and player for mp4 video