Tuning Freevo: subtitle and audio language switch

I decided that posts in the Freevo category will be published in English so the target audience can be wider.

Freevo is a HTPC (Home Theatre Personal Computer) overlay for some of the most common Linux multimedia applications (mplayer, xine, etc). It is visually and functionally similar to the Microsoft’s Windows XP Media Centre. I have made a PC box of some old components that where scattered arround in my cellar, installed Ubuntu Linux there, tweaked A LOT to make it work with things like TV-OUT and remote control and finally installed and configured Freevo. It allows me to watch virtually any kind of movies (DVD, DIVX, XVID, MKV, WMA, MPEG, etc.), play a collection of my MP3 files, browse my photographs and much more. Thanks to a huge hard drive (250GB) I could put practically whole multimedia content on the box.

In my first post I would like to give You some tips and tricks to enable features that aren’t normally available in Freevo (as of version 1.5.4).

O.K., let’s get going 🙂 The very first thing that I didn’t like about Freevo was it’s unability to select different subtitles using my remote. It was especially annoying when watching MVK movies that have some subtitles (eg. English and French) encoded inside the video file. Mplayer or Freevo automatically selects embedded subtitles and ignores the fact that there also exists a specially prepared Movie_title.txt file with Polish (my native tongue 😉 ) subtitles.

So what needs to be done to fix that problem is this:

1. Make sure You have some remote control button configured and not used for anything in video context. Open up /etc/freevo/lircrc file and one of the sections could be something like this:

begin  
prog=freevo  
button=subtitle  
config=SUBTITLE  
end

2. Open up /etc/freevo/local_conf.py file and seek for a line

# EVENTS['video']['1'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='contrast -100')

I’ve added two lines below:

EVENTS['video']['SUBTITLE'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='sub_select')  
EVENTS['video']['LANG'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='switch_audio')

The first one makes the SUBTITLE button cycle through all available subtitles during the movie. The second line makes the LANG button cycle through different available versions of audio. I find it useful when watching DVDs where default language often is different than my native.

Yes, that is SOOO easy 🙂

8 myśli nt. „Tuning Freevo: subtitle and audio language switch

  1. Thanks , I have recently been searching for information about this topic for a while and yours is the greatest I’ve found out so far. But, what in regards to the conclusion? Are you positive in regards to the supply?

  2. Do you mind iif I quote a couple of your articles as long as I provide credit and sources back to your webpage? My blog is iin thee exact same area of interest as yours and my visitors would genuinely benefit from a lot of the information youu present here. Please let me know if this alright with you. Appreciate it!

  3. ver the years, Travel – Pro has created new collections, and added new innovations to their rugged, attractive, bags. Making use of cured animal skins (leather) for carrying things in all probability began from the earliest man, when he discovered the flexibility and beauty of leather. Don’t let your holiday travel plans be stopped as a result of your fear of suffering from movement sickness.

  4. This merchandise was created for Android and ios gadgets and profits of a handful of peculiarities like Limitless Gold, Unlimited Bucks , Limitless Power and a couple of rewards like Unlock All Weapons gimmick and a safe and sound framework protection that has a Use Proxy option. Deer Hunter 2014 points (quip expected) to maintain you chasing diversion even in the off-season.

  5. This is the same situation, when the most depended way to store the data, which is the NTbackup utility in the system and the files that store and save the backup data namely. For you to the job way too hard from a home office your residence, frightened of the top escess weight.

    If you have already searched Google for cheat code lists for GTA you will know what I’m talking about.

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *