• DVD Subtitles (with spumux and Windows)

    The knowledge of turning text-only subtitles into something that can be burned onto a DVD (to be viewed in a DVD player) seems somewhat scattered when writing this, so I decided to put together my own notes for future reference.

    What you should already have at this point:

    • your video pre-muxed – i.e. an MPEG file containing both the video and the audio (in this example we’ll call it movie.mpg)
    • your subtitles in a subtitle format text file (the_subtitles.srt in this example)

    What you will end up with is an MPEG file with the subtitles muxed together with the video and audio tracks. Note: At this time, I do not know how to make the DVD display the subtitles when selected from a menu, nor automatically when the movie is played. A software DVD player (I use PowerDVD) does allow me to select the subtitle track from the DVD to be played, but I doubt it can be achieved with a stand-alone player. I do not know if DVDStyler currently even supports making DVDs with selectable subtitles. If you know it does, and also know how it’s done, please comment below.

    Ok, here’s how to proceed:

    1. First, you need the dvdauthor package, which has spumux for Windows in it (release 0.6.9 is the highest one with pre-compiled Windows binaries available on the site at the moment). Put it somewhere in your path, or more typically, put it somewhere and then add the location to your path, as there’s a heap of files and I’m not sure which ones are necessary for spumux to do its thing.
    2. You then take the font you wish to use (from C:\Windows\Fonts\) – say, Arial (arial.ttf) – and copy it in the same directory with your video. This probably isn’t necessary, but it eases writing the config file in the next step, as you don’t need to specify paths there. It seems that providing the path from within the XML file doesn’t work – at least I got a maybe the font path is wrong notice when I tried it.
    3. Next, you create an XML file – we’ll name it config.xml in this case – in your video directory, with the following contents:

      <subpictures>
       <stream>
        <textsub filename="the_subtitles.srt"
          characterset="ISO8859-1"
          fontsize="28.0" font="arial.ttf"
          horizontal-alignment="left"
          vertical-alignment="bottom"
          left-margin="60" right-margin="60"
          top-margin="20" bottom-margin="30"
          subtitle-fps="25" movie-fps="25"
          movie-width="720" movie-height="576"
        />
       </stream>
      </subpictures>

      Feel free to adjust the parameters to your taste and/or need.

    4. Then you call spumux to do the subtitling:

      spumux config.xml < movie.mpg > movie_subtitled.mpg

    I nicked most of this off a PDF file (Eli Billauer’s DVD Authoring in Linux). The contents of config.xml seem to be originally from spumux’s man page.

  • YouTube Quick Capture

    Quick Capture allows you to record a YouTube video instantly. Please fill out the form and then start recording. Make sure your webcam is installed and working correctly.

    YouTube via BlogsNow

  • Unsubscribing the Skype newsletter

    This is a support request I just sent to Skype.

    Hello,

    I keep receiving your newsletter despite several attempts to unsubscribe. The procedure of unsubscribing is simple enough; I believe I manage in sending a blank email to unsubscribe@news.skype.com. I’ve done this two or three times already, it just doesn’t have any effect as yesterday I received yet another Skype newsletter.

    It appears I’m not alone in this. A quick search on the forums revealed at least four other similar incidents:
    http://forum.skype.com/index.php?showtopic=58361
    http://forum.skype.com/index.php?showtopic=62599
    http://forum.skype.com/index.php?showtopic=60359
    http://forum.skype.com/index.php?showtopic=37570

    Unfortunately, none of those threads have any valid solutions for me, as I no longer have the account associated with my email (the one that the newsletter keeps getting sent to, and the one I’m entering into the Email field in this support request form) and thus cannot access my profile. And IMO that shouldn’t be necessary; I would just like the unsubscription to work as promised in the newsletter e-mail.

    I wouldn’t go as far as calling your sending me a no longer wanted newsletter deliberate spamming, but I still think it’s annoying as hell. So, please stop.

  • Plusdeck2: A Cassette Deck For PC

    Plusdeck2 is a fully functional cassette deck for your computer.

    Plusdeck via Juha

  • France24.com lähettää uutisia vuorokauden ympäri

    Ranskan uusi ympärivuorokautinen uutiskanava [France24] aloitti keskiviikkona ranskan-, englannin ja arabiankielisellä Internet-sivulla. Torstaina olivat vuorossa ranskan- ja englanninkieliset televisiouutiset. Arabiankielinen televisio aloittaa ensi vuonna ja espanjankielinen kolmen vuoden kuluttua.

    Yle24 via Ampparit

  • VR:ltä ajantasaista tietoa junaliikenteestä Internetiin

    VR on avannut Internet-sivuillaan uuden palvelun, jonka avulla asiakkaat saavat ajantasaista tietoa junaliikenteestä. Palvelusta voi tarkistaa, kulkevatko junat aikataulunsa mukaisesti.

    Verkkouutiset via Ampparit
    linkitys omani

  • CanvasPaint

    [CanvasPaint is a] near pixel-perfect copy of Microsoft Paint in HTML, CSS and JavaScript, using the <canvas> tag as specified by WHATWG and supported by Safari 1.3, Firefox 1.5 and Opera 9.

    CanvasPaint via Linkdump

  • Terratec Cinergy DVB-C:n säätöä

    Systeemin pyyhkimisen ja uudelleenasennuksen jälkeen latasin tv-kortille uusimmat BDA-ajurit ja ohjelman Terratecilta. Ihmetykseni oli suuri, kliseetä lainatakseni, kun aiemmin tiiliskiven luotettavuudella toiminut Terratec Home Cinema näytti kanavat vain noin joka toisella käynnistyskerralla, ja tyytyi muutoin valittamaan vain signaalin heikkoutta.

    Taistelin ongelmaa vastaan asentelemalla vanhoja versioita niin ajureista kuin THC:stäkin, mutta ongelma vain paheni: lopulta ohjelma vain kaatui joka kerta, kun yritin skannata kanavia. Meinasin jo repiä hermoni, kunnes onnistuin analysoimaan ongelman tarkemman laadun: olin kokeillut ohjelmasta kaikkein uusinta, Beta-nimityksen saanutta versiota, jonka olin löytänyt Terratecin ftp-palvelimelta, ja sen jälkeen skannauksessa kaatuivat kaikki sitä vanhemmat, eli kaikki muut versiot.

    Niinpä sitten sovelsin tähän Betaan FAQ:sta löytynyttä vinkkiä, joka kehotti säätämään %Appdata%\TerraTec\CinergyDVR\:ssä olevaa laitekohtaista asetustiedostoa – oman korttini tapauksessa se oli C:\Documents and Settings\Jani\Application data\Terratec\CinergyDVR\Hardware_Cinergy 1200 DVB-C Capture (BDA).ini. Siellä olleiden WaitForLock (Scan) ja WaitForLock (Tune) -avainten arvojen säätö tuotti vihdoin halutun tuloksen: aikaisemmin tekemäni taajuustiedoston kanssa kaikki vielä puuttuneet kanavat löytyivät, ja nyt ne löytyivät myös ohjelman uudelleenkäynnistämisen jälkeen.

    Annoin noille avaimille seuraavat arvot:

    WaitForLock (Scan)=1000
    WaitForLock (Tune)=2000

    Alunperin ne olivat toisinpäin, siiis skannauksella oli arvo 2000 ja virityksellä 1000.