Davyd ([info]davyd) wrote,
@ 2005-02-14 01:57:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
5 little ducks went out one day...
Recapping from last time...

iPod
So the iPod works, and I have been using it quite happily. I had to transcode my Ogg Vorbis files to MP3, which took a while. Thankfully, gstreamer makes this incredibly easy, and gives me a method to do this from the command line:
find . | grep ".ogg$" > to-convert
while read i ;\
 do gst-launch-0.8 filesrc location="$i" ! oggdemux ! vorbisdec ! audioconvert !\
 lame ! filesink location="`echo $i|sed -re 's/^(.*).ogg$/\1.mp3/'`" ;\
done < to-convert
It even preserves the metadata, although doesn't quite deal with unicode characters as well as I would like. I am assuming it's the fault of the id3 spec, rather then gstreamer. I considered using MP4 (AAC) rather then MP3 to reencode my music, however there appears to be no Debian packages for gstreamer-faac. I've noticed that while you can get a lot of the non-free libraries, there doesn't seem to be a repository for non-free gstreamer plugins, perhaps someone can point me to one.
Another irritating thing is that you now have to add a gstreamer profile for MP3 so that you can encode to MP3 in sound-juicer. The application to do this appears to be not quite working, which made it a major pain in the arse. I had to fall back to gconftool-2.

Finally, gnome-volume-manager automagically mounts the iPod, which is cool. However it doesn't actually mount it with the user flag, so it doesn't appear in Nautilus (it would be cool to see a picture of an iPod in computer://, or even just the firewire disk logo), doesn't appear in drivemount and would appear to not be user unmountable. I should probably file a bug against this.

I guess the final test will be using the iTrip on the way to Bunbury early Tuesday morning. Then I'll have to decide if I'm buying it.

Four little ducks went out one day...
Today (which is incidently St. Valentine's Day) is the last day I get to spend properly with Stephanie for the next week (she's going to Melbourne for a week). Not being majorly influenced by the day, we have nothing special planned (I was explicitly informed to not plan anything special). Some people also went to the other extreme.

(all these people getting married and engaged reminds me that Stephanie and I still haven't actually picked a date, or maybe even a season in a year, and we've been engaged for a long while now...)

Non the less, she claimed the other day, she is going to Melbourne for a holiday. THIS IS NOT THE CASE, she is going there to study! So if you're in Melbourne, and you see this girl, and she is not studying, then please email me, she has a thesis to write, and no time for fun!

(ok, so I'm actually kidding. Yes, she should study, but I don't expect her to sit in that library the entire time. I know I wouldn't...)

Back in Time
Stephanie had never seen the first two Back to the Future movies, so we watched them. Apparently she doesn't like movies involving time travel. It would seem that thinking about causality gives her a headache. Apparently we will never be watching them again, this makes me sad because I really enjoy them. I have decided that it's the theme of reoccurring history that makes them really cool.

Deutschstunde
Another German lesson tomorrow, for which I have not yet done my homework. It seems to me that the class I am in is really just a rehash of the third year of highschool (year 10) German, which I've actually done. As a result, I know all the grammar they are teaching me. I am also probably the strongest reader and speaker in the class (now that the girl who was too good for that class has left). My vocabulary is still rusty, and I am still trying to get all my cases (subjective, accusative, dative, genitive) sorted out again. I have gone to my brother's notes from year 11 and 12 German in an attempt to learn more grammar, and have actually learnt some stuff I was getting wrong, and a new tense or two, giving me more things I can express. I also know why some certain sentences are the way they are (reflexive verbs and an indirect object). Finally I have been sent some German children's picture books (thanks Frank), which I shall have to sit down and read (an amazing number of words I don't know).

Software Suspend
The swsusp2 developers now have a very scary way of displaying the status of a software suspend in userspace, while suspending in kernel space. This allows them to display images, text, rendered blender files, or whatever they like, as long as they follow certain rules. Things like X have to be frozen, but today we discussed making it look like GNOME was suspending your computer, you capture the desktop and then composite a grey alpha transparent mask on it. You then blat that into video memory (they already can blat PNGs into video memory). Originally I had wanted to realise suspend and resume dialogs in offscreen memory, find out the coordinates of the progress bar, and just fill it by hand, but that would rely on the progress bar being a solid colour, and look like shit, depending on your GTK theme. Instead, perhaps some nasty incantation of gtkfb to draw the dialog on top of a "background".
<bernard_> davyd: could you persuade gtkfb to do the right thing?
ewwww.... get gtkfb to actually do the progress dialog, with a "background image"
<davyd> bernard_: that's what I was thinking...
<davyd> sounds evil doesn't it
<bernard_> disgusting. i like it.

Blender Abuse
Bernard (above) has been looking at Blender to render a short animation of Tux being rotated in an ice cube. So far it seems that noone with actual cool Blender skills has stepped forward, so he's been looking for models he can use. Today we came across this:

from a "mature users only" file... we just had to look

Now you too can spank the dancing, sleazy nurse!

I don't think I had anything else to write about, my apologies for the length of these last couple of posts. Also, hello to Planet Linux Australia, the organisation of which I think I'm a member, just never remember signing up.


(Post a new comment)

gstreamer faac
(Anonymous)
2005-02-13 07:04 pm UTC (link)
Several useful gstreamer packages for debian are available at http://apt.cerkinfo.be/ -- including gstreamer-faac

(Reply to this)

german
(Anonymous)
2005-02-13 09:15 pm UTC (link)
i really wouldn't want to learn our language as a second/third language

about the cases: is the genitive something people actually learn today when studying german? nobody used this for like... 200 years i guess :P

(Reply to this) (Thread)

Re: german
[info]davyd
2005-02-14 03:21 am UTC (link)
English shares a lot in common with German... the grammar is just more relaxed, and they imported a lot of things in from French. I have full faith in my abilites.

Genitive came up once or twice, although it's not all that cared about. There are possibly uses in the language that you just don't realise as a native speaker. I mean, how many English speakers think about the rules of their grammar? However I agree, genitive is much more useless, instead I should focus on making sure I use all the right extensions when using dative nouns.

(Reply to this) (Parent)

Escape the dots
(Anonymous)
2005-02-13 10:04 pm UTC (link)
Hey Davyd,

Make sure you escape the dots in your expressions:

"\.ogg$"

Otherwise aogg and such will also match.

(Reply to this)


[info]sajee
2005-02-13 11:13 pm UTC (link)
As Es just said, "We shall be the fun-less vigilantes."

Only blatantly not. HAHAHAHA!

(Reply to this)


[info]kaefer
2005-02-13 11:45 pm UTC (link)
a non-geeky comment!

In learning German, kids books are not the best place to start as they are often more complicated than normal novel-type books. Maybe, if you get the chance to go looking, find a short novel by a German author and have a hack at that. It should be easier to piece the story together and hence figure out what the words mean.

Also, getting a little address book to put new words in (in german alphabetical order) is really helpful - i still have mine from exchange!

(Reply to this) (Thread)


[info]davyd
2005-02-14 03:33 am UTC (link)
In learning German, kids books are not the best place to start as they are often more complicated than normal novel-type books. Maybe, if you get the chance to go looking, find a short novel by a German author and have a hack at that. It should be easier to piece the story together and hence figure out what the words mean.
Ok, I would have expected picture books to be easier, although they do contain an entire army of words I have never seen, and couldn't guess. I'll have to see what I can find in the way of stories for 12/13 year old girls, like the Babysitters club, only in German (I know of Die kleine Vampir).

Also, getting a little address book to put new words in (in german alphabetical order) is really helpful - i still have mine from exchange!
This is seriously the best idea I've ever heard. At the moment I just have pages of them in my workbook, but this is really neat. I might end up cheating, and instead putting them in my Palm (of course, I do have the dictionary in my Palm, which is also incredibly useful).

Now, I should go and do that homework...
Warum lernt Herr Kull Fremdsprache?
Herr Kull lernt Fremdsprache, weil er nach England geht.

(Reply to this) (Parent)(Thread)


[info]kaefer
2005-02-14 04:17 am UTC (link)
Hehe.

You will learn stuff better if you write it in your own fair hand, rather than typing. Get an address book!

(Reply to this) (Parent)


(Anonymous)
2005-02-14 06:19 pm UTC (link)
You shouldn't say: "Warum lernt Herr Kull Fremdsprache?"
If you want to say this you have to say: "Warum lernt Herr Kull eine Fremdsprache?"
But you can say "Warum lernt Herr Kull Englisch?"

The same with "Herr Kull lernt Fremdsprache, weil er nach England geht."
Correct is "Herr Kull lernt eine Fremdsprache, weil er nach England geht." or "Herr Kull lernt Englisch, weil er nach England geht."


Sorry for my bad english ;)

(Reply to this) (Parent)

blender tux
(Anonymous)
2005-02-14 02:47 am UTC (link)
the nurse caught my eye (heh heh) on gnome planet. You might have good luck finding an animator on www.elysiun.com - it's the semi-official english language hangout for blender artists, new and old.
I'm one of them- and a linux/gnome user to boot, so if you're interested you can check out my stuff at www.slikdigit.com , and drop me an email ( bkurdali at slikdigit dot com)
cheers!

(Reply to this)

easier way to do it dude
(Anonymous)
2005-02-14 04:52 am UTC (link)
gnupod will AUTOCONVERT ogg->mp3 on the fly when it stripes to the ipod

gnupod will solve your problems. it talks to ALL ipods including the shuffle (at least the rc version).

(Reply to this)

GST/FAAD/FAAC
(Anonymous)
2005-02-14 08:38 am UTC (link)
Just install faac/faad from ubuntu, and rebuild gstreamer plugins.

(Reply to this)

cases
(Anonymous)
2005-02-14 09:12 am UTC (link)
'subjective' is not a case :-) the fourth case is "nominative".

(Reply to this)

script
(Anonymous)
2005-02-14 11:57 am UTC (link)
i thought your shell script looked overly complex... how about:

find -name '*.mp3' -exec gst-launch-0.8 filesrc location="{}" ! oggdemux ! vorbisdec ! audioconvert ! lame ! filesink location="`basename {} ogg`"mp3 \;

(Reply to this) (Thread)

Re: script
[info]grahame
2005-02-17 05:12 am UTC (link)
So, I just plugged my iPod into my laptop, up popped the files in Nautilus - it just went ahead and mounted it on /media/PERCEPTION. Installed gtkpod, pointed it at the iPod, everything is working...

What was hard? :)

(Reply to this) (Parent)(Thread)

Re: script
[info]davyd
2005-02-17 05:59 am UTC (link)
I think USB2 hated me. One of the USB2 ports on the front of my computer seems to get into some USB1.1 vs USB2 race condition, causing the machine to mount and then get forcibly unmounted, over and over again.

The other problem was I was running it at a Mac iPod, and while the HFS+ driver in Linux is acceptably good, the HFS+ disk tools are not very good it seems, for the love of god, never run fsck.hfsplus if you want to see your filesystem again.

Finally, I don't much care for gtkpod... I feel we could do better.

(Reply to this) (Parent)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…