Showing posts with label video. Show all posts
Showing posts with label video. Show all posts

Monday, 17 March 2025

Streaming media from Windows 10 to Android

I promise I will go back to writing about technical leadership soon, but for the moment I'm rather enjoying solving real problems. I'm revisiting problems I've worked through at different times in the past few years and it's very interesting to see how things have moved forward, opening new avenues to success and generally blurring the lines between professional-level skills to set up services and just clicking around and seeing Things Work.

More importantly, it's just ... fun. And it really helps to remind me that computers are flexible and interesting tools to solve problems, as well as eternal sources of legacy debt and pain.

Anyway, on the less existential end of all this I want to talk about streaming video. Let's go!

The problem

I have lots of video clips on a hard drive. I can watch these easily on my desktop computer, but I'd like to be able to access them on my tablet without plugging it in there.

The history

In the past, I've created a media server on my network. I've attempted to buy something (utter failure) and made one from a raspberry pi (success, although some serious caveats on that). Neither result kept going and I abandoned them for a long while.

The now

While a separate server would be a better solution, for the moment I'm happy just using my desktop as the server. It's usually on, and that's enough for me if I want to go flop on the sofa with a tablet. So - something on the desktop to act as a server, and something on the tablet to receive it.

If you're totally new to this kind of thing, the important standards here are uPnP and DLNA. uPnP is what allows your media server to be "found" on the network. DLNA is built on top of uPnP and is specific to media sharing, ie it adds in the bit that handles the streaming. These are pretty open (in terms of security) so only suitable for home / other trusted networks.

Server first. I'm running Windows 10 (for the moment... sadness...) and after a bit of poking around the internet looking for something to install to act as a server, it turns out that Windows 10 now does this natively! This was a surprise - back in the day I'd have had to install all manner of media server applications and cross my fingers. Now it's a case of:

  • Control Panel -> Network and Internet -> Network and Sharing Center
  • In the left pane, "Change advanced sharing settings"
  • In the Network Discovery section, turn on network discovery and hit Save

Voila.

Ok, the tablet end, which is running Android. I am pretty sure I could do everything using VLC player, but popular opinion online is that I should use BubbleUPnP for discovering the filestore, and it then launches VLC when I hit play. So I did that. And it worked seamlessly. I had to hunt around a bit through the folder structure offered, but otherwise it just works. Done.

I have dodged a significant amount of the complexity here as I am not streaming to a smart TV (because I don't have one). This means that I can use VLC as the player on my tablet, and that is smart enough to handle more or less anything thrown at it - no codec issues for me.

And there we have it. A few clicks one end, and installing an app the other end and we're away - so much easier than before. One particularly interesting thing I found was that searches for "streaming from desktop computer" leads to information about streaming games, not other kinds of media. Amazing how much game streaming has grown - to the point it's the primary search responses.

I promise I've been doing technical leadership and strategic things too. I'll write about that soon...

Friday, 11 May 2012

How to play Star Wars - Harmy's Despecialised Edition

Are you one of those fans who think the Star Wars original trilogy has gotten worse with each successive release? Do you get angry watching Han Solo step on Jabba's tail and not get his face shot off? Do you go on about Han shooting first? Or wonder where the mountain went in the twin sun sunset?

In short, are you a human being?

Help is at hand, from a chap named Harmy. This colossus of a man has created a "despecialized" edition - basically an upscaling with all the new additions taken out. You can find the iso files here.

Actually playing them is a bit of a trick. The first (platform non-specific) tip is:

Make sure your files are not corrupted.

Seriously. That cost me a couple of evenings.

Windows 7

* mount the iso as a drive using daemon tools
* download vlc - I have this running with version 2.1
* in vlc do media -> open file -> select your virtual drive -> bdmv -> stream -> m2ts file

Et voila!

Linux

* mount the drive thus:
sudo mount -o loop -t udf $path_to_iso/ANH.ISO $mountpoint
* download vlc or pull it from a repository (package name vlc in ubuntu)
* in vlc do media -> open file -> mountpoint -> bdmv -> stream -> m2ts file

Suddenly you're back in the past, watching Star Wars version awesome.

Wednesday, 25 February 2009

The First D&D Realtime Strategy Experience!

The wonderful Play.com gave me the opportunity to have a look at a game that mildly intrigued me when it was released a few years ago (back in 2005). That game was (and is) Dragonshard, which proudly boasts that it is the first D&D RTS. It is so proud of this fact that it is part of the box art, and also splashed across the screen as it loads up. Clearly it is going to be something special then.

As we first delve into the magic that is going to be The First D&D RTS(tm) the first thing we find is the menu screen. You remember back when DVDs were new and studios felt compelled to make their menus different and interesting? You remember the beauty of the interface to something like Crouching Tiger, where it played exciting clips of the film each time you clicked a button? You remember that that particular feature got old about 18 seconds after you first thought "wow"? Welcome back to that happy time.

The menus are a pain. They have cogs turning in the background in some bizarre homage to steampunk (which is absolutely nothing to do with Eberron, the world where this is all set) and instead of pleasing music or just silence we are treated to the sounds of heavy machinery. Very clever and different, but also deeply annoying - and this is the noise playing throughout the seemingly eternal installation sequence. Even ignoring these audio trials, clicking around is a pest resulting in much scrolling and things moving about and not much actual navigating around the options.

There is one exception, which is the voice over bloke. He is from the "IN A LAND, FAR AWAY..." school of voice acting and when you click on a race on the campaign screen he growls the name of that species in a deeply sinister voice. That alone is worth his fee as far as I'm concerned.

The Game?

Anyway. After clicking around for what seems to be a week and rattling through the lengthy and tedious tutorial missions you're thrown into the game proper and - there is no getting away from it - it is like playing a poor man's Warcraft 3. The point, click, drag interface is exactly the same, as are the rpg elements where you "interact" with npcs around the map. I use that term loosely as without exception they all say "go kill that" or "fetch me this thing after you've killed the guardian" so it's hardly a work of genius. Even the animation is in the same style - the distinctively comical way Warcraft characters run around by punching forwards with their firsts rather than powering onwards with their legs is copied flawlessly, which is particularly amusing when the main chaps are standing around having a deep plot moment and some npc goon struts up to say his piece.

There isn't really much else to say about the gameplay. Although I say it's like the three years older Warcraft 3, it actually hasn't evolved a great deal from Command & Conquer back in 1995. There are two resource types, which is mildly interesting (and annoying when you realise you can't swap one for the other and you find yourself unable to find any gold) and the troops all have special abilities but otherwise gameplay is the same: control the resources, control the choke points on the map, wear down the enemy, force your way into its base. Repeat.

Good Stuff

Actually, I'm being a bit unfair. There is a 14 mission campaign (seven for each of two of the three races - oddly, nothing for the third) and there are some interesting maps along the way with some attempts to do something a bit different. The inclusion of Kyber (the underworld - a cave system that runs under the maps you're playing on) is something I haven't seen before, adding a bit of pseudo-dungeoncrawling to the proceedings where you can earn experience points (XP) and gold to boost and build your army.

Army management has gone through an overhaul too. You get the usual Champions (hardbloke special characters) and rank and file troops, but also special units called Juggernauts of which you can build one and send it off to devastate the enemy. Sadly these Juggernauts are not worth the resources they cost to build so I typically ignored them, but still - the option is there.

As you kill enemies you generate XP which you use to upgrade your troop captains, allowing them access to more powerful abilities and also having them drag around soldiers (less powerful versions of themselves) to help and take the hits for them. This initially seemed like an odd decision - you're upgrading disposable rank and file troops rather than the champions who drive the story - and after playing through the game I'm still not sure how well it works. Mechanically, it's great. It means there is some strategy in deciding how to spend the XP and choosing your troops, deciding which extra abilities you want but it is all oddly soulless. Supposedly the magic items are for upgrading your champions, but it still feels weird that the main characters don't substantially change from the beginning of the game to the end.

Crumbling with Age

One thing that struck me repeatedly whilst playing Dragonshard was how dated it all looks. I accept the game is nearly four years old (as an aside, I am going to start writing about more modern games - honest) but that is two years younger than Freelancer and I still go back and play that regularly. Perhaps it is because it takes all the things I hate about RTS games and builds upon them like the tower built on the sandy beach. And the tower is made of sand.

The camera doesn't zoom out far enough, so battlefield control is limited to watching individual skirmishes. Except you can't control the skirmishes very well because switching between units is a pain and the control system isn't precise enough to move troops exactly where you want them (not that they stay there anyway) so skirmishes consist of pouring troops into an area and hoping for the best. This means the micro-strategy involved in any given skirmish is precisely nil, but also the close in camera coupled with the limited resource and population caps stops you coordinating macro-level strategy where you attack an enemy base from two different directions to draw off the defenders or capture high ground to control an area whilst your infiltrators scout out the terrain ahead. I think this is a particular complaint of mine, since pretty much every RTS game irritates me in much the same way but it seems to me that in a real battle the commander is either managing the troops locally in the skirmish or he's delegated that to his subordinates and is coordinating strategy. He's not trying to do both at the same time.

If you want to find some strategy in Dragonshard, you need to look at army composition. You need to find a good selection of troops to put with your hero in your strike force before you either hit your population cap or are buried in an unmanageable mess and just have to click and hope. This means getting a couple of healing units (tip - put your XP into these guys first), a couple of melee units to hold up the enemy and a handful of archers to shoot them to pieces whilst the soldiers are getting chopped up. Of course, once you've cracked that you can win the game without thought, but there are enough unit types to try other combinations. Each unit comes with its own unique special abilities - another one of my personal hates because they all need triggering manually. This means that rather than accepting you cannot affect the coming battle and sitting back to enjoy the visuals, you have to sit there tabbing between the various units trying to remember what all the various abilities do and firing them off properly so you spend your entire life watching your mana metres and looking for targets and ignoring the graphics.

Oh, and the AI cheats - attacking you with horrendously powerful forces before you've had a chance to build anything. Except for the times when it doesn't bother and you can wander all over the map without problems building a DoomArmy to blast through its base - and these differences can occur between different loads of the same levels. Weird.

It goes on, but you've probably had enough by now. Before moving on though, I have to mention the spectacularly poor writing which strings the game together in campaign mode. Each army has a series of cutscenes starring the champions (each side has the same architypes - the leader, the sage, the violent thugish one and the instantly forgettable one) and every scene consists of the leader and the sage taking things seriously, the thugs wanting to smash everything in sight and the useless one quipping in an entirely unfunny way. I have to wonder about D&D games and films - considering the heart of tabletop D&D is roleplaying and storytelling, you'd think these big money productions would have a storyline superior to the sort of thing your halfway decent DM writes in his sleep.

Also, do watch out for the bugs. Even four years on, and after a pile of patches, there are moments when quest items mysteriously vanish. Or it eats your save games. Thanks.

Summing up

Despite all this I did find Dragonshard quite entertaining (I have finished it, which at the time of writing makes it better than Storm of Zehir - do NOT buy that game). Whilst it is in no way ground breaking, it is inoffensive and not too irritating. You can cruise through it without having to engage too many braincells which makes it quite fun evening play and if you can find someone daft enough to want to play it with you, I'd imagine the multiplayer can be a laugh. Why you'd want to when there are so many other games out there is another matter - I picked it up for £3 because I was interested and was expecting something a bit different. It isn't different.

There hasn't been a second D&D RTS.

Friday, 1 August 2008

My face on TV

A short while ago I delivered an entry-level talk about RSS and Atom feeds in the University of Bath. It was a very simple talk - what a feed is, why you should care, how to spot them and what to do with them once you've found them. Despite a 6 week gap between writing it and performing it (damn that illness) it went down very well, with much praise and thanks being heaped on me.

This talk was the second in a series of talks given by my team and was the first to be filmed in front of a live studio audience. The film can be found here. It's not the most polished piece of presenting I've ever done, but it was good fun.

Thursday, 27 December 2007

Rubbish but fun?

It is a with a sense of unease that I've noticed an interesting trend binding together the computer games I've enjoyed most recently: they're rubbish. It's a difficult thing to admit - I've been playing these games for many years and have spent many hours critiquing them; I like to think I know what makes a good game. But recently I've been playing a lot of Hero's of Might and Magic 4, Command and Conquer: Renegade (both on the PC) and Red Steel (Wii). In brief:

HoMaM4 is a vast, sweeping rpg / strategy game which chronicles the major events of six factions in the MaM world. Unfortunately the strategy is incredibly simplistic and the rpg elements came from the Big Book of RPG Cliques.

C&C:R was the first attempt to stick a first-person shooter into the ever-popular C&C universe. You play the Commando as featured in the first strategy game and must sneak into various installations and blow them up, occasionally running into an old flame who (predictably) wants to kill you. Unfortunately the game was a collection of set pieces and was impossible to actually enjoy until you gave up all pretense of stealth and simply rocked around spraying the badguys with automatic fire. The levels were uninspired, the weapons pathetic (they gave you the best gun right at the beginning) and the graphics were severely dated.

Red Steel is a lot more recent and hence its focus is on oriental criminal organizations. You are running around trying to rescue your girlfriend and protect a powerful katana from an evil clan of evilness. Occasionally there is a break in the shooting whilst you beat someone in the head with your sword. It's eerily reminiscent of C&C:R in that you have to give up on playing it "properly" and instead run around like a loon mowing down enemies with your shotgun and shouting every time a sword duel comes up because you have to engage in close combat rather than (say) emptying your clip into the idiot's head. The Wii controller jumps all over the place and the cutscenes appear to have been drawn in crayon.

Anyway, the point is the one thing these games all manage to capture is a sense of fun. Despite many, many flaws (and believe me, there are many) there is a great deal of satisfaction in beating them and a lot of excitement in running the gauntlet of minor bugs. Recently I've also played Resident Evil 4 on the Wii, which is far more competently put together - better graphics, much better use of the controllers available, better plot, better game design - but it'll be Red Steel I'll probably return to. I guess the point I'm vaguely stabbing at is that much as "great graphics don't make a game", neither does sound construction. It can still leave you cold; still be missing that X factor that really hooks you into a game. I really wish I could clearly define that feeling of entertainment - aside from making a fortune in the video games market I'd like to see where I could find similar effects in other walks of life.