[Idea] YouTube integration mod ?

User avatar
jp
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

[Idea] YouTube integration mod ?

by jp » Tue Dec 31, 2013 16:46

Hello.

Just an idea... it's technically possible to integrate the videos of YouTube in Minetest, by the intermediary of a big screen ?

It would be nice to build a cinema, for example...

Regards,
JP
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15

by Lukeking » Thu Feb 20, 2014 20:55

jp wrote:Hello.

Just an idea... it's technically possible to integrate the videos of YouTube in Minetest, by the intermediary of a big screen ?

It would be nice to build a cinema, for example...

Regards,
JP

sorry, but it's impossible with the current engine of minetest because the frame rates are too slow for viewing videos ingame
i also asked webdesigner97 for this question
have a nice day :)
Lukeking
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15

by Lukeking » Thu Feb 20, 2014 21:03

But I think this is possible for MT: http://www.computercraft.info/
This will be a nice feature for MT too :)
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Thu Feb 20, 2014 21:09

Lukeking wrote:But I think this is possible for MT: http://www.computercraft.info/
This will be a nice feature for MT too :)

This is not possible with the current modding api.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Feb 20, 2014 21:32

With irrlicht, the 3d engine minetest uses, you can render to textures.

So it is possible, just not with the modding API.

However, I suggest the playing bypasses the server, and the client just plays it. The server can tell it what to play, though.
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

by Casimir » Thu Feb 20, 2014 21:57

You can download a video, turn every frame into an png image and combine them into an animated texture. I tried it with my gemalde mod some time ago, in general it works but takes very long to load.
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Fri Feb 21, 2014 02:01

Casimir wrote:You can download a video, turn every frame into an png image and combine them into an animated texture. I tried it with my gemalde mod some time ago, in general it works but takes very long to load.

And YouTube videos are bound to have tons of frames.
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Fri Feb 21, 2014 07:10

Downloading the textures from a heavily-modded server takes a looooong time. Videos won't be faster ;)
 

User avatar
jp
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

by jp » Fri Feb 21, 2014 08:00

It should found a way to externalize the loading of the videos. Not hosting them but to have a direct linking with YouTube and a converter script in game to turn in animated texture.

I know, I'm dreaming...
Last edited by jp on Fri Feb 21, 2014 08:00, edited 1 time in total.
 

thetoon
Member
 
Posts: 106
Joined: Tue Dec 11, 2012 12:55

by thetoon » Fri Feb 21, 2014 09:33

jp wrote:It should found a way to externalize the loading of the videos. Not hosting them but to have a direct linking with YouTube and a converter script in game to turn in animated texture.

I know, I'm dreaming...


Easier would be to externalise loading AND converting. As said up there, convert your videos to animated PNGs and host them somewhere (HTTP). Then develop a Lua mod that will fetch them.
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15

by Lukeking » Fri Feb 21, 2014 10:53

thetoon wrote:
jp wrote:It should found a way to externalize the loading of the videos. Not hosting them but to have a direct linking with YouTube and a converter script in game to turn in animated texture.

I know, I'm dreaming...


Easier would be to externalise loading AND converting. As said up there, convert your videos to animated PNGs and host them somewhere (HTTP). Then develop a Lua mod that will fetch them.

This sounds realistic
  • external loading and converting videos
  • upload them to a certain website (maybe accessable or not for external users)
  • import picture frames + sound file
  • ..lua-mod is listing/updating videos' list
  • sitting back and enjoy watching videos
Last edited by Lukeking on Fri Feb 21, 2014 10:55, edited 1 time in total.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

User avatar
jp
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

by jp » Fri Feb 21, 2014 10:59

External loading and converting a video on each request of player. With a loading bar under the screen, for example.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Feb 21, 2014 13:32

This won't work because:
1) Resources can not get sent to the client at runtime, everyone would have to rejoin to add another video.
2) Everyone would need to download every video when joining, that would take quite some time
3) A 3 minute video with 30 fps in (wide) 480p resolution (and R8G8B8 pixel fmt) would be 6.17 GB uncompressed (you would need to have atleast this much video ram & normal ram) and 1.40 GB compressed (my tests resulted in 4.34x smaller files when using PNG over uncompressed), downloading 1.40 GB would take 15 minutes and 55 seconds with a 15 Mb/s connection
Last edited by sfan5 on Fri Feb 21, 2014 13:34, edited 1 time in total.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

by RealBadAngel » Fri Feb 21, 2014 15:44

sfan5 wrote:
Lukeking wrote:But I think this is possible for MT: http://www.computercraft.info/
This will be a nice feature for MT too :)

This is not possible with the current modding api.



Huh? Have you tried FORTH computer from Technic game? :)
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Feb 21, 2014 20:31

RealBadAngel wrote:
sfan5 wrote:
Lukeking wrote:But I think this is possible for MT: http://www.computercraft.info/
This will be a nice feature for MT too :)

This is not possible with the current modding api.



Huh? Have you tried FORTH computer from Technic game? :)

I was referring to the youtube integration idea.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 5 guests

cron