by RealNC » Sat Jun 01, 2013 1:08 pm
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.
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.)
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.
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).
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.
[quote="Roody_Yogurt"]Heh, I also thought that maybe you two had a deal where GIF could be back on the table once video was supported.[/quote]
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.)
[quote]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.[/quote]
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).
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.