summaryrefslogtreecommitdiffstats
path: root/README
blob: 8895e68d73e211cadeb4d17e535fa8b2eafa0a2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
A PulseAudio based podcasting application

Thanks to Harry Karvonen for his Python ctypes-based bindings for
PulseAudio.  Thanks also to Jürgen Geuter for helping me understand
distutils and contributing some fixes.


INSTRUCTIONS
============

If you are looking at the source, 'cd' to the top of this project and
then run the following command to try it out:

$ cd pulsecaster
$ python ui.py


ADVANCED TIPS
=============
The code currently contains a very hacky function to allow you to
record to FLAC (the Free Lossless Audio Codec) instead of Ogg Vorbis,
which is the default.  To turn that capability on, run this command:

$ gconftool-2 --set --type=string /apps/PulseCaster/codec flac

To switch back to Vorbis:

$ gconftool-2 --set --type=string /apps/PulseCaster/codec vorbis


INSTALLING
==========

The easiest way to use this application is to simply install it using
your platform's preferred tool set.  To install it using Fedora, run
the folowing command:

  pkcon install pulsecaster

To install it on another flavor of Linux, check the documentation for
your particular distribution.

To install directly from this source code, use the handy "distutils"
script that's provided:

$ python setup.py build
$ python setup.py install

Refer to the wiki at http://fedorahosted.org/pulsecaster for a full
list of dependencies and requirements.


GSTREAMER
=========
The pipeline for capturing from a running PulseAudio source:

gst-launch pulsesrc device-name='<NAME>' \
	   ! vorbisenc quality=0.5 \
	   ! oggmux \
	   ! filesink location=foo.ogg


-*- coding: utf-8 -*-