Various Bits

Martyn released a new version of Gossip today, so I spent this morning working on pushing this out in FE. It should be available later today, since FE is in the midst of a massive rebuild due to the upcoming FC5 release.

What else has been going on? I’m about half-way through writing the GStreamer backend for the Nautilis-Flac-Converter. Ross Burton pointed me to a project (Sound Converter), that is similar in use, for examples on how to implement it. Unfortunately, since it was written in Python, I wasn’t really able to use any code from it. It did help me figure out the pipeline I needed to use in GStreamer to convert the FLAC file, though. For example, to convert a FLAC to an ogg vorbis file with gst-launch (a tool that builds and runs basic GStreamer pipelines), I would simply run:

gst-launch filesrc location=02-Rebirth.flac ! flacdec ! audioconvert ! audio/x-raw-float,rate=44100,channels=2 ! vorbisenc name=enc quality=0.6 ! oggmux ! filesink location=02-Rebirth.ogg

Basically, in the extension I’m just recreating this pipeline, which will allow me to switch parts of the pipline with the approriate elements for encoding. I’m using large chunks of code from Sound-Juicer, so the work so far has been fairly minimal. Depending on how much time and motivation I have, I’m hoping to finish this up in the next couple of weeks.

Advertisements

1 Comment »

  1. […] 1: Using the command line gst-launch program with a pipeline deduced from the Brian Pepple’s blog and the gst-launch man page: gst-launch filesrc location=file.flac ! decodebin ! lame bitrate=256 ! […]

RSS feed for comments on this post · TrackBack URI

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

%d bloggers like this: