Hi10P Saga 第三話: XBMC of The Wasteland

Read near the end of this post, I’ve came up with something good.

Here’s the list of search engine terms:

  • +++++hi10p setup linux ubuntu
  • h264 hi10p player
  • x264 10 bit
  • aegisub hi10p
  • hi10p linux

Now this is the answer I’ve been able to come up with so far: XBMC.

XBMC already has Hi10P decoding support, and seemingly flawless substation alpha rendering. It is a highly-bloated full-GUI media center that demands database indexing for each video or music file you want to play (much like mpd, except that: 1 – mpd can do all those stuffs in background without much noise, and 2 – music files are pretty much to sit on their locations for months or years, unlike videos that get swapped away soon after being watched). For Arch users, perhaps this is the most satisfactory solution. Neither VLC nor mplayer2 plays Hi10P, at least not in Archlinux.

Also, you can try mplayer2 binary or the source-code build repo from the official site, which none of them works. Indeed they play Hi10P, but a glitch in their libass causes a crash when rendering substation alpha subtitle. I guess the git version in AUR has the same flaw. Well, I’m pretty confident that almost all of you who searched and stumbled upon this blog need substation alpha support.

Finally, a little suggestion for those with enough curiosity and experience with Linux/BSD software development. As far as I know, the only problem with official developer’s binary or build repo is libass. We should try replacing libass source in the build repo with a newer one, and leave everything else untouched. (if I’m not mistaken, there was a case where libass update from Arch repo caused mplayer2 to crash but it was soon fixed by replacing it with another version).

Ah… how many months has it been since Windoze users have a full, official h264 Hi10P playback support for their media player…. *sigh*

tl;dr

Install XBMC from your distro’s repo.

For all my dear readers, sorry I couldn’t help you much with those rants.

Update キタワァ*・゜゚・*:.。..。.:*・゜(n‘∀‘)η゚・*:.。. .。.:*・゜゚・* !!!!! 

Hey guys, it’s easier than expected!! Just replace the whole libass from mplayer2 build repo with the latest version (I use 0.9.13). The resulting binary blob plays h264-Hi10P and renders substation alpha softsub perfectly.

I’ve created an Arch PKGBUILD. It’s really messy due to a certain ‘make install’ problem, I’d be glad if you suggest me a clean fix. And, for a certain obvious reason, I only install the Japanese LC_MESSAGE (beside the default English).

Even though there are another git PKGBUILDs with the same functionality, I don’t think they have solved the libass issue. Also, cloning the entire git tree just for a binary blob is really not feasible for those living in developing countries with slow but expensive bandwidth.

Sayonara, XBMC!! \(^_^)/

PS:

I haven’t tried hi10p in Aegisub, but since Aegisub uses FFmpeg, it should not be able to play Hi10P videos. It’s not that the Linux port of Aegisub usefully works, either.

I ran out of epic words for this post’s title, so I chose it randomly as long as it sounds epic.

Advertisements
Hi10P Saga 第三話: XBMC of The Wasteland

4 thoughts on “Hi10P Saga 第三話: XBMC of The Wasteland

  1. Ray says:

    I’m not sure if it’s just my machine/setup but, after installing the pkgbuild, avi and ogm videos no longer have sound (actually there is a high pitched squeal for the avi files). MKV (including hi10p) and MP4 continue to work perfectly.

    1. Well, I have the same problem too here…. I think it’s not the avi/ogm, it’s the mp3 codec for the audio in the container that fails to decode with MPayer2’s statically linked FFmpeg. If things went OK, the problem should not occur in other media players since the installation did not alter the system’s library.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s