If you do any software development work that requires the use of subversion then you may have heard of rabbitvcs. It’s one of the best subversion clients that integrates well with nautilus, under GNOME. I’d been running into an issue however where it wouldn’t allow me to perform a comparison of my checked out working directory and the subversion repository. I was running into this with version 0.14.2.1-3 on my Fedora 14 laptop.
So I thought I’d try out version 0.15.0.5, which appears to be the latest. However I couldn’t find an up to date RPM for Fedora 14, I only found this one for Fedora 16.
Solution
I downloaded the Fedora 16 SRPM and rebuilt it for Fedora 14. I’m providing the RPMs on my yum repository for others that may need them.
I’m always forgetting GNOME & Nautilus keyboard shortcuts so this is a list of some of the more common ones that I’ve used in the past.
Solution
Here’s the lists. I’ve tried to organize the shortcuts first by whether they’re GNOME related or Nautilus. I’ve also tried to break them down into a sub groups based on similar functions, such as, file management, selecting, etc.
Here’s a couple of interesting talks that I recently came across. The 1st is a TED Talk, and the 2nd is from the OReilly’s TOC - Tools of Change for Publishing Conference. They both provide some interesting commentary on digital media as a whole and on copyright. They’re both pretty funny and insightful, so have a listen if you’re interested.
Videos
The 1st video is the TED Talk, titled: The $8 billion iPod, by Rob Reid. Rob Reid is a humor author and the founder of the company that created the music subscription service Rhapsody. The video is described as follows:
“Rob Reid unveils Copyright Math™, a remarkable new field of study based on actual numbers from entertainment industry lawyers and lobbyists.”
The 2nd video is a Ignite talk from the TOC Conference from (Feb. 13-15 2012), titled: No I’m Good, by Peter Rojas.
Here’s a list of some linux audio tools that I’ve been compiling for a while. It isn’t meant to be complete, it’s just a list of audio tools that caught my eye and may be useful down the road.
I recently wanted to download a podcast that was being served via a RTMP stream. RTMP (Real Time Messaging Protocol) was initially a proprietary protocol developed by Macromedia for streaming audio, video and data over the Internet, between a Flash player and a server. Macromedia is now owned by Adobe, which has released the specification of the protocol for public use.
Here’s how I was able to download the RTMP stream to a .flv file and convert it to a .mp3 file. Read on for the details.
Solution
step #1 – download the stream
I used the tool rtmpdump to accomplish this. Like so:
NOTE: the tool rtmpdump was available in my Distro’s repository
1
2
3
4
5
6
7
8
9
10
# I was able to get the rtmp url from looking at the page's source!% rtmpdump -r rtmp://url/to/some/file.mp3 -o/path/to/file.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
28358.553 kB / 3561.61 sec
Download complete
step #2 – convert the flv file to mp3
OK, so now you’ve got a local copy of the stream, file.flv. You can use ffmpeg to interrogate the file further and also to extract just the audio portion.
1
2
3
4
5
6
7
%ffmpeg-i file.flv
....
[flv @ 0x25f6670]max_analyze_duration reached
[flv @ 0x25f6670]Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'file.flv':
Duration: 00:59:21.61, start: 0.000000, bitrate: 64 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, 1 channels, s16, 64 kb/s
From the above output we can see that the file.flv contains a single stream, just audio, and it’s in mp3 format, and it’s a single channel. To extract it to a proper mp3 file you can use ffmpeg again:
I just came across this nifty little tool called yum-builddep, which is part of the yum-utils package. It can be a really big time saver if you need to build source RPMS (SRPMs). What does it do? yum-builddep, installs all the RPM dependencies required to build a given SRPM.
Solution
Installation is a snap, it’s just part of the yum-utils package on Fedora & CentOS.
# on my Fedora 14 system% yum-builddep sox
...
Dependencies Resolved
===========================================================================================
Package Arch Version Repository Size
===========================================================================================
Installing:
flac-devel x86_64 1.2.1-6.fc12 fedora 605 k
gsm-devel x86_64 1.0.13-2.fc12 fedora 13 k
ladspa-devel x86_64 1.13-6.fc12 fedora 18 k
libao-devel x86_64 1.0.0-2.fc14 updates 33 k
libid3tag-devel x86_64 0.15.1b-10.fc13 fedora 9.3 k
libsamplerate-devel x86_64 0.1.7-2.fc12 fedora 8.3 k
libsndfile-devel x86_64 1.0.25-1.fc14 updates 140 k
libtool-ltdl-devel x86_64 2.2.10-3.fc14 fedora 166 k
pulseaudio-libs-devel x86_64 0.9.21-7.fc14 updates 302 k
wavpack-devel x86_64 4.60.1-1.fc14 updates 50 k
Installing for dependencies:
ladspa x86_64 1.13-6.fc12 fedora 34 k
pulseaudio-libs-zeroconf x86_64 0.9.21-7.fc14 updates 26 k
Transaction Summary
===========================================================================================
Install 12 Package(s)
Total download size: 1.4 M
Installed size: 8.6 M
Is this ok [y/N]:
Notice it’s determining what libraries and other RPMs are required to BUILD sox from source, not just what is needed to install sox. Here’s another example, probably more consistent with how most people will end up using yum-builddep, where you’ll use it as an aid in rebuilding a SRPM package.