Between Linux and Anime

Kind of like Schrodinger's Cat

Page 13 of 20

NUS SoC Linux guides now on the Document Repository!

Just a quick pop-in (since I appear to have been banned from identi.ca. Btw anyone knows who can save me or how I can save myself?). So after a really long time but fortunately well before the new semester, we finally have up-to-date Linux guides for connecting to SoC PEAP, SoCVPN and for printing in SoC posted on the official NUS School of Computing Document Repository! Big thanks to tech services for following through with this. Would have been ideal for printed copies to have also been made available, but this is still way better than things used to be :)

Here’s to hoping this’ll help existing Linux users amongst the freshmen keep their preferred operating system, and also make things easier for curious proprietary system users seeking a breath of fresh air :)

828
Rate this post
Thanks!
An error occurred!

Playing “V_MS/VFW/FOURCC”, “FLV4 / 0x34564C46” mkv files on Linux

Welcome to yet another episode of “Refusing to Just Use Windows (TM)” !

Yes that’s right. Despite the general ease with which most mkv’s play on Linux systems, I discovered a couple of mkv’s just the other day that simply wouldn’t – not on VLC, mplayer, ffplay, kaffeine – nothing. Even with every last available codec pack (and their grannies) installed. Well, the audio plays well enough – but I get no video. Blank. Zip. On the other hand I was told that the files play on a properly set up Windows machine. So what else is new :)

Of course, the thing about mkv’s is that it’s a wrapper format – different mkv’s can hold video/audio/subtitles that require vastly different codecs, so being able to play one mkv doesn’t guarantee that you’ll be able play the next. This case is a classic example of that little principle. So next step would be to find out what is the internal video format being used. Some probing with ffmpeg and mplayer on the command line reveals that the video’s codec id is “V_MS/VFW/FOURCC“, and is actually an flv4, which should be decodable on Linux. However playing the file results in one form of complaint or another in the way of “V_MS/VFW/FOURCC” not being recognized as a codec. The result: No video – only the audio track plays.

To cut a long story short, after clamping my teeth down on it and doing my requisite googling (yes, Refusing to Just Use Windows), I put the clues together and managed to find a not-too-difficult way to the bottom of the issue. The idea is to manually specify/force the video decoder to use, since the players are incapable of automatically finding the right one. None of my players appear to allow me to do this though, so I used ffmpeg to decode and reencode it into a nicer format instead:

ffmpeg -vcodec vp6f -i inputFile.mkv -b 20000k output.avi

The -vcodec vp6f part is the important bit here of course. This should decode that pesky mkv and spit out a much friendlier avi file that should easily play on mplayer, vlc or the like.

If your mkv has subtitles, you’ll need to do some extra stuff, since ffmpeg to the best of my knowledge does not play nice with subs. The above step should get you an avi with video and audio. To also add subs, you first need to extract them from the mkv. One way to do this is using mkvextract, which you should be able to install in your system by installing the “mkvtoolnix” package. mkvextract lets you extract a track from your mkv. The subtitle track is usually track 3, so you’d do something like:

mkvextract tracks file.mkv 3:output.subs

You can check which track your subtitles are on by doing ffprobe file.mkv. Once you have the subs extracted, you can simply direct your player to the extracted subtitles file and it should display. If you name your subtitles file after your avi file, some players would even automatically load it. All I needed to do was:

mplayer output.avi -ass

Of course, if you feel like it, you can also burn the subtitles into the video file itself. You can use mencoder for that, or you can use avidemux following instructions here

Hope that helps someone ;)

822
Rate this post
Thanks!
An error occurred!

Angel Beats 11

More than anything else to me, this was a Yurippe episode. In fact, I won’t be at all surprised if, underneath all of that ridiculous, shadow blighted plot twists we’re seeing now near the end, we are really secretly setting off on the final arc. Yurippe’s arc.

Thinking back on Yurippe’s life story, we are positioned to look upon Yurippe as an angry rebel seeking answers, seeking God that she may demand an explanation for the injustice visited upon her siblings. However at several critical moments it was hinted that Yurippe does not only have matters to settle with an external God, but also with her internal self. She was unable to protect her siblings, even though she was confident of herself as a good sister. She tried desperately hard, but to no avail. She probably didn’t think that she had already done the best possible job and that only God was to blame for what happened – she probably also resented her own inability to do what she thought needed to be done.

Along these lines it’s perhaps not inconceivable to think that Yurippe’s leadership of the SSS is in truth a part of her own subconscious journey towards finding peace. The SSS isn’t exactly a democracy or a republic, Yuri’s leadership over it is near-absolute. Her decision making is literally the pulse of the entire group’s activities. And if the amazing quality of her leadership hasn’t yet been estabilished by previous episodes, it certainly was in episode 11. Calm and cool rationale in the face of an unknown and terrifying threat, not only knowing about but swiftly acknowledging the potential viability of Otonashi’s efforts, and a calculated, personally executed attempt to get to the bottom of everything. And above all that, giving her subordinates a choice when that choice mattered. If everything she has done up to this point is Yurippe’s way of doing what she couldn’t do in life – to be relied on to actually make things happen, to protect what needs to be protected with her own muscles and wits – and succeed – it will I think go a good way towards explaining her character and the unselfish perfection of her leadership.

Me? I’ve always only been doing my own thing” says she. I won’t be surprised if, should everyone in the SSS find their individual peace at the end, Yurippe disappears alongside the last soul.

Incidentally this would also fundamentally dissociate her from any kind of real Haruhi-resemblance, which raises her likability immensely in my eyes. Kanade-chan may be the dark magical girl turned good (and an extremly adorable one to boot), but if cards are played right, Yurippe may end up the more interesting (and my favourite) character.

And yes, Kanade-chan is Tenshi no more. Yurippe called her by name this episode.

810
Rate this post
Thanks!
An error occurred!

Ren’Py on the Nokia N900!

Package(s) for an early N900 port of Ren’Py has recently appeared in extras-devel! For the uninitiated, Ren’Py is a free Python-based Visual Novel engine with a sizable repertoire of mostly free, mostly amateur-created games available. This had been one of the first things I tried (and failed) to get working on my N900 back in the day, so needless to say I jumped at the news, swiftly went and grabbed it, and checked it out. The result:

Read More

788
Rate this post
Thanks!
An error occurred!

Katanagatari 06

An interesting trend is in place here. Katanagatari started off somewhat as a counter-fairy-tale. Togame and Shichika have a mission to accomplish, and people need to be fought and killed along the way. And people were fought with and killed, swiftly and cleanly. All adversaries, including ones shown to be insane and hateful, and ones deliberately and deftly portrayed as good and admirable, were put to the equal sword. It was cold and simple, Shichika was the slashing blade necessary to clear the path of obstacles, and the way had been smooth and easy due to his incredible competence. Shichika was a blade perfect from tip to hilt. But things appear to be changing.

Read More

774
Rate this post
Thanks!
An error occurred!

Sawa-chan is Metal!!

Sickest solo in the series so far? lml

Read More

759
Rate this post
Thanks!
An error occurred!

Boosting Audio with Mplayer

So last night I got pwned by zw as he demonstrated before mine disbelieving eyes this interesting feature he called audio boosting on his machine’s Windows Media Player classic. We were trying to watch this video with an unspeakably soft audio track, and after not being able to hear nuts when I played it on my Linuxbox + shoddy speakers, he smugly plugged the thing through his laptop’s Windows Media Player classic and turned on software audio amplification – and we did indeed get significantly more audible audio. Despite having (immense) issues with Media Player Classic’s UI/UX, I had to concede that that was an immensely handy feature. And so it was Windows 1:0 Linux that night.

But of course, while I do agree that Windows does certain things better than Linux, getting soundly beaten by the likes of Windows Media Player *Classic* is bound not to sit well with this user :P So having been enlightened to the existence of such a feature, I set off today to find out if it exists on Linux players. And it fortunately turns out that the answer is yes! On mplayer, all one needs to do is to add an extra argument. For example,

mplayer -af volume=20:0 mediafile

Would amplify the sound by 20dB. 20dB makes a HUGE difference by the way, so you might want to turn down your speakers/take off your headphones before you try it, in case you inadvertantly deafen yourself. So there you have it. Oh, apparently VLC has support for it too, but that’s beyond the scope of this post for now :)

Source

755
Rate this post
Thanks!
An error occurred!

A Couple of Anisongs, My Piano, and Me

Pic mostly unrelated, unfortunately.

And that post title just flowed its merry way out of my typing fingers like it owned the place, causing me to gag in an uncontrolled, appalled fashion at its terrible cheesiness.

Anyway, as you might hopefully have guessed from the cheesy title, I have decided randomly to make a recording of myself playing stuff on my tragically neglected piano, a feat long adrift within the realms of impossibility due to a critical lack of passable video cameras. With my recent acquisition of a shiny new Nokia N900 though, that shortcoming has at long last found itself addressed. Somewhat. Anyway so without further ado, here are two Anisongs on piano, wrought by yours truly, that you can torture your ears with during your idle times :D

Tori no Uta (OP to Air TV)

Only my Railgun (OP to To Aru Kagaku no Railgun)

On the off chance that anyone might be disappointed that this isn’t in fact my long overdue Angel Beats post – it’s coming, I hope. Rapidly catching up on my backlogs for that show now, and it definitely deserves something. Just hope I get to do it sooner rather than later.

745
Rate this post
Thanks!
An error occurred!

Fixing that Flickering External Monitor

Here’s another quick fix note. If your external monitor/TV persistently flickers when connected to your laptop via a VGA cable – and you’re sure the monitor and cable are both fine (after, say, plugging it into another computer), try putting in your laptop battery and then disconnecting your power cable.

If your power cable has a 3-pin plug, and if the flickering promptly stops when external power is switched off, you may have the same maddening problem I had. The fix that worked for me is… to grab a 3-pin to 2-pin adapter from a nearby store. Yes, I plugged my power cable through such an adapter and my laptop charges normally – while the flickering vanishes without a trace.

Unfortunately being weak in hardware/electronics and stuff, I can’t tell you why it works. Only that it worked for me. And that far as I’m concerned, it’s a small investment well worth it. I can’t believe I put up with that annoyance for so long.

744
Rate this post
Thanks!
An error occurred!

Ubunchu 05 ~ Twintail chara? Is she gonna be a Tsundere?

So the 5th chapter of Ubunchu, the free manga about the popular free Linux system Ubuntu, is out. Actually it’s been out for a good long while now but you will note that I only fought my way out of quasi-hiatus in the last post.

So I’ll admit it. This manga is starting to feel somewhat direction-less. It’s fine as a documentary sort of thing I suppose, but why not do better eh? Personally I think it’d be great if we could give the Ubuntu/free-software lecture of the weekchapter thing a rest and spend some pages on developing the characters and illustrating the larger setting instead. It’s still fun as a curiousity (and as blogging material), but I hope we’re moving into some actual plot soon because I think Ubunchu is really getting a little hit-and-miss as pure educational material. /rant

Read More

736
Rate this post
Thanks!
An error occurred!

Page 13 of 20

Powered by WordPress & Theme by Anders Norén