daphne 52 Posted January 23, 2016 Hello everyone, I would like to introduce to you: ArmA 3 Youtube by Kane. It is a .dll plugin for ArmA2NET that allows you to play youtube videos inside arma 3. This plugin will allow you to play youtube videos in ArmA 3, on any hiddenselection you want. You can play youtube videos on TV's, inside cars, and pretty much anything that has a hiddenselection and works with setObjectTexture, and watch it with your friends :) Features: - Audio/video sync - Multiplayer sync - Completely client-side, even the multiplayer sync code. No impact on server performance or client performance (except for some additional ram usage perhaps) - Works with any youtube video regardless of video FPS (age restricted content will throw up an error though) - Ability to play videos on any hiddenselection, we recommend a custom screen (I will include some different sizes for you to place on the map) with 16:9 to match up the ratio - Currently 360p~max30FPS. 720p caused issues with memory filling up too quickly (due to the way caching works in arma) - Easy to install and use, drag & drop all files into arma 3 folder and use the following SQF code (The code is also easily editable, and commented in-case you want to make any changes): Example: ["https://www.youtube.com/watch?v=2sqn3f0BHdY",nearestObject [player, "Land_A3PL_Cinema"]] spawn A3PL_Youtube_Init; This plugin will be released to the arma 3 community, it's currently being tested on our community. Thanks to: - A3PL Community for current testing and coming up with the amazing idea - YoutubeExtractor C# library by flagbug - NAudio .net audio library by markheath - The ffmpeg.com team for their multimedia framework to encode and decode - ArmA2Net by ScottNZ for common language runtime support 24 Share this post Link to post Share on other sites
Derek Thompson 176 Posted January 23, 2016 Hmmm, looking awesome! 1 Share this post Link to post Share on other sites
Sanchez Milsim 70 Posted January 23, 2016 Wow thats amazing, useless for clan learning scenarios. Share this post Link to post Share on other sites
sfod-d_snakebite 80 Posted January 23, 2016 LOL :D It will be awesome. I can load also xxx movie with the link? XD However, after joking, there is a kind of "limit" of duration? Share this post Link to post Share on other sites
Rich_R 1087 Posted January 23, 2016 Something like this was being worked on when Arma 3 was first released. Good to see it coming closer to making it into game. Our group wanted it for briefings. Looking forward to it. Share this post Link to post Share on other sites
daphne 52 Posted January 23, 2016 LOL :D It will be awesome. I can load also xxx movie with the link? XD However, after joking, there is a kind of "limit" of duration? There is no hard coded limit. However longer videos may take longer to process, the video starts playing when everyone is done downloading the video and encoding is completed for 300 frames (for me encoding is at 40 times the video speed, so dont think this will be an issue for anyone). I've tested with around 3 people in multiplayer and a 5 minute video took about 30 or so seconds to play. It is really dependant on download speed of the users, as you can in the video for me it's almost instantly but I have 200mb/s down. The video is only downloaded and played for those close to the screen (20m distance). I am thinking however of adding a menu where you can see all the users and the status of downloading, it wouldn't be hard to do. The downside is that when somebody really has shitty internet it could take a while, no way around that currently. I believe an 8min video is about 40mb, 16min is 80mb etc. Basically when the slowest internet speed of one of the users is 4Mbps it will take 1m 40s to load a video on avarage (for a 50mb file). Keep in mind though that 80% of US people are above 4Mbps, and 46% being above 8Mbps. Usually gamers have higher internet speeds than that though. To answer your other question, you could probably upload some unlisted xxx videos to youtube and play them ;) Share this post Link to post Share on other sites
panimala 25 Posted January 24, 2016 Really cool, great job man. Share this post Link to post Share on other sites
Derek Thompson 176 Posted January 24, 2016 Really cool, great job man. I think it is a she ;) 1 Share this post Link to post Share on other sites
sttosin 67 Posted January 24, 2016 I like how the time in the author's pc at the time of recording was 2:11AM. Just goes to show Arma modding innovation happens after midnight lol. Like others here have said, this is very cool indeed. Share this post Link to post Share on other sites
delta3242 399 Posted January 24, 2016 This will make for some really interesting realism unit scenarios! Share this post Link to post Share on other sites
DSabre 2332 Posted January 24, 2016 mind blown : O wow 1 Share this post Link to post Share on other sites
daphne 52 Posted January 26, 2016 I like how the time in the author's pc at the time of recording was 2:11AM. Just goes to show Arma modding innovation happens after midnight lol. Like others here have said, this is very cool indeed. Sometimes you have to come up with crazy ideas that you don't even know they're going to work, but it did :) 3 Share this post Link to post Share on other sites
luks7n 12 Posted April 1, 2016 Hey daphne, what a great work!! I was waiting for something like this for so long, but there is any release date for this? Please don't let this project die like the other one posted by apocalypsex. Thank you! Share this post Link to post Share on other sites
ussrlongbow 116 Posted June 2, 2016 Best wishes for this thing to be released :) Share this post Link to post Share on other sites
zooloo75 834 Posted June 3, 2016 No other way to express my awe except for, "holy shit!" Damn fine work! Wondering how you pulled off retrieving the frames from the video and sending and decoding them in ArmA! 1 Share this post Link to post Share on other sites
Grezvany13 64 Posted June 24, 2016 I really the idea of this mod, and although I wouldn't implement it as a cinema tool (I prefer milsim over RPG), I do think I'll be able to find other usages for it (introduction videos, training videos, scaring people during mission when suddenly a TV starts playing :P) I do have an idea to "solve" the loading issue: add a short loop video in the addon which will be played while everyone is loading (or multiple). eg. (just loop it for 3-5 seconds) Or add some fake commercials in a short video, like at the cinema ;) This way people will know it's loading, without being bored (they still see and hear something). Of course, using a static image as a placeholder would also help a lot (eg. "please wait while we find the tapes") Keep up the good work, and can't wait for the release! Share this post Link to post Share on other sites
daphne 52 Posted August 14, 2016 Hello everyone, Sorry for not updating everyone on this, I basically stopped working on it because I had some issues I couldn't work around especially the image caching in arma eventually filled up the memory and crashed the game, it also had issues with screen flickering on lower-end PC's. And yeah... battlEye... BUT the good news, two days ago I came up with an idea that would allow me to work around all the major issues with the previous system and I've completely rewritten the whole system from scratch and now features a real time theora conversion method (eliminating the time limit because the render is in real time now!) The new features are: - Real time render into ogv files (no more waiting for full render to be completed) - No more caching issues and memory issues (causing crashes after a while) - Seperate audio pipe for usage with playSound3D (Yup.. 3D sound, now we just need a local version so it doesn't send useless network messages) - Custom starting positions compaitable (when players walk near the cinema the video will start playing at the server time) - Customizable video and audio quality (can reduce or increase if performance issues) - Compaitable with BattlEye (bypasses file blocks) - yeah dont even ask me how... - Ability to stop at any point (useful to stop rendering if we exit the cinema) - Title, duration, current play time is now displayed on the screen - Debug monitor also shows all player and their status, useful for debugging (includes render-buffer, download progress etc) Video: More info: http://arma3projectlife.com/forums/index.php?threads/w-i-p-youtube-cinema-v3.8391 -Kane, arma3projectlife.com 4 Share this post Link to post Share on other sites
Tankbuster 1744 Posted August 14, 2016 I'm sure I speak for the rest of the community when I say... OMG! Share this post Link to post Share on other sites
bigpickle 0 Posted August 14, 2016 I know yeah, crazily good! Share this post Link to post Share on other sites
daphne 52 Posted August 15, 2016 Testing in MP, and trying out joining in the middle of a video. 2 Share this post Link to post Share on other sites
HCR Regiment 3 Posted February 10, 2017 the files from the post are not here also the Example you have given doesnt work it stated global init space error and what files are need to make this work 1 Share this post Link to post Share on other sites
WastedMike_ 27 Posted April 10, 2017 Can we get link to this mod/script to add to our missions? Share this post Link to post Share on other sites