[lang]

Present Perfect

Personal
Projects
Packages
Patches
Presents
Linux

Picture Gallery
Present Perfect

Theora Streaming

Filed under: Fluendo,GStreamer — Thomas @ 00:43

2004-06-09
00:43

Today I took some time to finish up the streamheader support for Vorbis and Theora. After some fiddling I was able to do live streaming of both using the GStreamer Data Protocol. (Since Vorbis and Theora are unpacketized formats, just sending them over TCP loses the framing information which makes it undecodable. So you need at least a basic packetizing protocol). So a server was reading an Ogg/Vorbis file from disk, marking the header buffers as streamheader and part of caps, and the client was able to pick in on the stream at any point.

Wim plugged a bunch of memleaks in the tcp code I wrote (I still can't get valgrind to work well on my gst-launch lines). With that, the server runs a bit more stably. Still not quite there though; checking just now shows that it's torn into 25% of memory use after 6 hours. But hunting leaks seems to be fun at the moment. Especially if most of them are in my code.

Using Python for the server code seems to work well for Johan but it makes it slightly harder to debug. We're left trying to figure out where the memory is leaking by running non-gst stuff from Python and vice versa.

Anyways, if Wim adds the buffer marking code to the ogg muxer tomorrow, then we can start doing Ogg/Theora streaming for real.

Now need to set up a frontend relay for the streams so we can post the link without hammering our download speeds.

Here's some harmless fun with the GStreamer tcp elements. Nothing special, just ten "tcpclientsrc protocol=gdp ! ffcolorspace ! ximagesink" gst-launch lines against one "v4lsrc device=/dev/video0 ! video/x-raw-yuv ! tcpserversink protocol=gdp" gst-launch line, and everything taking less than 15% CPU on my laptop.

Barcelona

Filed under: Life — Thomas @ 00:36

00:36

I try not to forget too often how nice living in Barcelona is. I don't take enough time out to enjoy the city.
Last week we went rollerblading by the beach then laid down in the sand in the cool night breeze.
This weekend my girl dragged me down to the beach finally. I had forgotten how incredibly nice it feels to have a soft wind breathe on and caress your sunshowered back and just do nothing for an hour.

Tonight we went to my favourite tapas place and ordered all the great usuals. We're still unable to try out new stuff from the menu just because our usual orders are just so damn good. I should bring some visitors there again so I get to at least order some other stuff without feeling antsy about not being able to get all the good stuff.

This week there's a tango festival right in town, it'd be silly of me to not go at least once...

Primavera

Filed under: Music — Thomas @ 16:06

2004-06-07
16:06

Last weekend, I had a good time at the Primavera Sound festival. Seeing the Pixies was a childhood dream come true. They were every bit as tight as I expected, and they drew most of their setlist from the first two albums (well, three if you count Come On Pilgrim and Surfer Rosa as separate). And of course, Kim Deal is still Kim Deal. Sigh.

Somewhere during the set four people right next to me took out something that they opened and it contained a mirror and some lights next to it. They proceeded to put on a small pile of white powder and cut it up with a card in four small lines. I've never seen anyone do that at a festival so out in the open.

Next day, great performances by Elbow (but too short) and PJ Harvey - who had a 100% rock-approved backing band with her. The guitarist jumped around non-stop, and both him and the bass player looked like young versions of Tom Waits. She played some old favourites as well, though I wouldn't have minded if she played more.

The festival location was awesome, smack damn in the city, in a reconstructed old town. I love this city more and more each day.

Release-o-rama

Filed under: GStreamer,Releases — Thomas @ 15:44

15:44

So let's see. In the last weeks, I did a slew of releases:

  • gnome-media 2.6.1
  • gnome-media 2.7.1
  • GStreamer core 0.8.2, which was followed by 0.8.3 the next day
  • DAD 0.2.5, with lots of fun PHP objectifying

I'm too lazy right now to provide links, you know where to find it if you want it.

Present Perfect

Filed under: General — Thomas @ 15:37

15:37

So, Advogato has been down for two weeks, after a previous brownout of a week. I'd link to it if it wasn't down.
Strange how I actually miss trying to keep track of life. So I took some effort this weekend to set up WordPress, and seems to work fine for what I need. Didn't have to fiddle too much with the php code at least.

Bye bye advogato. You were my SlashDot for about two years, and I'll miss you. But it's time to move on to this relocated log.

« Previous PageNext Page »
picture