Animation?
Moderators: Ice Cream Jonsey, joltcountry
- Ice Cream Jonsey
- Posts: 30184
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Thanks, Flack. Yeah, I think that animated GIF is the way to go with MNG support also added.Flack wrote:According to Wikipedia, none of the major browsers natively support MNG files. If you're thinking about a web-based version of Hugo in the future, that might be a consideration.
the dark and gritty...Ice Cream Jonsey!
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
Heh, I also thought that maybe you two had a deal where GIF could be back on the table once video was supported. Still, it'll be cool to have Future Boy! working properly on those extra platforms. Judging by your past work, I'm very optimistic.
(Personally, I do have a video-enhanced game idea, too, but I've been hiding behind the fact that video support was not completely there that I have not put a ton of thought into it.)
Whether or not you particularly get the AVI support working, I'll be curious to hear about what you find out about its support. When testing various kinds of AVI files in Hugo myself, I was unable to figure out what determines whether something will work; lots of files I tested did not.
(Personally, I do have a video-enhanced game idea, too, but I've been hiding behind the fact that video support was not completely there that I have not put a ton of thought into it.)
Whether or not you particularly get the AVI support working, I'll be curious to hear about what you find out about its support. When testing various kinds of AVI files in Hugo myself, I was unable to figure out what determines whether something will work; lots of files I tested did not.
- RealNC
- Posts: 2301
- Joined: Wed Mar 07, 2012 4:32 am
Nah, there's no secret Cabal or anything. Kent basically said in his reply that he has quite a few enhancements for Hugo in his TODO list but needs to find the time for it. And he agrees that support for animated images is very useful, so I suppose we will see it included in the language. And if I were to shoehorn-in GIF support in Hugor, it wouldn't work as nicely as it would with full compiler and language support anyway (for example there would be no way to stop or pause the animation, or set a loop flag.)Roody_Yogurt wrote:Heh, I also thought that maybe you two had a deal where GIF could be back on the table once video was supported.
The official terp uses DirectShow, so I'd think it supports everything as long as you have a codec installed for it. I've no idea why some files wouldn't work though if you do have a codec for it (if it plays in Windows Media Player, it should also play in hewin.exe).Whether or not you particularly get the AVI support working, I'll be curious to hear about what you find out about its support. When testing various kinds of AVI files in Hugo myself, I was unable to figure out what determines whether something will work; lots of files I tested did not.
In Hugor on the other hand I'm using GStreamer. It's actually fully working in Linux already, but I need to figure out how GStreamer interacts with Windows. I didn't get it to work there yet, and neither in OS X. In Linux it does play everything though. Even mp4 and MKV files with whatever video format happens to be in there. Maybe I'll actually need to find a way to remove support for formats that are not supposed to be put in Hugo resource files.
- Ice Cream Jonsey
- Posts: 30184
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Agreed. And I would love to get to a place where the best Hugo interpreter does video, because it means that I could do a FMV game with a text parser, especially since storage requirements are not as terrible as they used to be.Roody_Yogurt wrote:(Personally, I do have a video-enhanced game idea, too, but I've been hiding behind the fact that video support was not completely there that I have not put a ton of thought into it.)
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 30184
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Would you like me to test this? I have been itching for a reason to make Linux the main operating system on my home computer. This might push me over.RealNC wrote:In Hugor on the other hand I'm using GStreamer. It's actually fully working in Linux already, but I need to figure out how GStreamer interacts with Windows.
the dark and gritty...Ice Cream Jonsey!
- RealNC
- Posts: 2301
- Joined: Wed Mar 07, 2012 4:32 am
Here's the Linux build:
http://foss.aegean.gr/~realnc/hugor/tes ... ux.tar.bz2
Make sure the needed libraries are installed. On Ubuntu (I've tested on 13.04), these packages should be installed:
libsdl1.2debian
libqtgstreamerui-0.10-0
libqtgstreamerutils-0.10-0
gstreamer0.10-ffmpeg
If it doesn't run at all, start it from a terminal and see what error message you're getting there. That should tell us what libraries you're missing.
If everything is well, then you should hopefully get something that resembles this when running Future Boy:

http://foss.aegean.gr/~realnc/hugor/tes ... ux.tar.bz2
Make sure the needed libraries are installed. On Ubuntu (I've tested on 13.04), these packages should be installed:
libsdl1.2debian
libqtgstreamerui-0.10-0
libqtgstreamerutils-0.10-0
gstreamer0.10-ffmpeg
If it doesn't run at all, start it from a terminal and see what error message you're getting there. That should tell us what libraries you're missing.
If everything is well, then you should hopefully get something that resembles this when running Future Boy:

- RealNC
- Posts: 2301
- Joined: Wed Mar 07, 2012 4:32 am
In the previous build, there was a bug with videos being stretched to fill their entire area. I've uploaded a new build that fixes this. Videos now show in their original aspect ratio:
http://foss.aegean.gr/~realnc/hugor/tes ... ux.tar.bz2
http://foss.aegean.gr/~realnc/hugor/tes ... ux.tar.bz2
-
- Posts: 4
- Joined: Fri May 10, 2013 8:21 am
Wow, that's some cool work.RealNC wrote:Here's the Linux build:
http://foss.aegean.gr/~realnc/hugor/tes ... ux.tar.bz2
Make sure the needed libraries are installed. On Ubuntu (I've tested on 13.04), these packages should be installed:
libsdl1.2debian
libqtgstreamerui-0.10-0
libqtgstreamerutils-0.10-0
gstreamer0.10-ffmpeg
If it doesn't run at all, start it from a terminal and see what error message you're getting there. That should tell us what libraries you're missing.
If everything is well, then you should hopefully get something that resembles this when running Future Boy:
- Ice Cream Jonsey
- Posts: 30184
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Realnc,
So, I was going to convert my upstairs computer to an Ubuntu one. I haven't done that yet.
So, I got a linode machine and I was going to use that to test it. I can't get a GUI installed.
So, I am back to clearing off the upstairs computer. But I will do this and give it a shot. Thanks for that build and I apologize for leaving you hanging for this long.
So, I was going to convert my upstairs computer to an Ubuntu one. I haven't done that yet.
So, I got a linode machine and I was going to use that to test it. I can't get a GUI installed.
So, I am back to clearing off the upstairs computer. But I will do this and give it a shot. Thanks for that build and I apologize for leaving you hanging for this long.
the dark and gritty...Ice Cream Jonsey!
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
- RealNC
- Posts: 2301
- Joined: Wed Mar 07, 2012 4:32 am
Currently, Windows support would mean you have to install a 100MB runtime. Hugor is Linux-centric; for it to work on Windows and Mac, it needs to bring the Linux DLLs with it. And the 10MB Hugor.exe is already pushing it as it is, since it already includes a lot of stuff. In comparison, the Linux executable is barely 1MB big.
I'll need to find a way to trim the video DLL requirements down. I can't imagine people wanting to download a 100MB Hugo interpreter.
I'll need to find a way to trim the video DLL requirements down. I can't imagine people wanting to download a 100MB Hugo interpreter.