clic allows to use the graph builder of NMM that automatically creates a distributed flow for playing back the content from a given URL:
./clic -u <url>?<option>=<value> |
In general, all file formats and codecs supported by NMM are also available when using the graph builder. Following URLs are currently supported:
file://<hostname>/<path and filename> |
For example:
./clic -u file:///home/bob/mp3/song.mp3 |
Reads an MP3 file and plays back audio via your local audio device. Notice the three '/': two for the URL, one for the root path.
./clic -u file://host1/home/bob/mp3/song.mp3 |
Reads an MP3 file from host host1 and plays back audio via your local audio device. Notice: you need a NMM serverregistry running on host host1. However, no shared file system is needed.
Other possible examples for file URLs are:
./clic -u file:///home/bob/audio/song.wav
./clic -u file:///home/bob/audio/song.ogg
./clic -u file:///home/bob/audio/song.mp3
./clic -u file:///home/bob/audio/song.ac3
./clic -u file:///home/bob/video/movie.mpeg
./clic -u file:///home/bob/video/movie.avi
./clic -u file:///home/bob/video/movie.ogm
./clic -u file:///home/bob/video/movie.vdr
./clic -u file:///home/bob/image/picture.png
./clic -u file:///home/bob/image/picture.jpg
|
audiocd://<path to audio cdrom device>?track=<track number> |
For example:
./clic -u audiocd:///dev/cdrom |
Reads the first audio track from an audio CD-ROM in /dev/cdrom and plays back audio via your local audio device.
./clic -u "audiocd:///dev/cdrom?track=4" |
Reads the fourth audio track from an audio CD-ROM in /dev/cdrom. Notice that the URL is enclosed in ".
./clic -u "audiocd://host1/dev/cdrom?track=4" |
Reads the fourth audio track from an audio CD-ROM in /dev/cdrom of host host1. Notice: you need a NMM serverregistry running on host host1.
dvd://<hostname>/<path to dvd device>?title=<number>&chapter=<number>&angle=<number> |
For example:
./clic -u "dvd:///dev/cdrom?title=1&chapter=4&angle=1" |
Reads the specified title, chapter, and angle, from an DVD in /dev/cdrom and plays back audio and video via your local audio device and display, respectively.
./clic -u "dvd://host1/dev/cdrom?title=1&chapter=4&angle=1" |
Does the same as above, but reads from an DVD drive in host host1. Notice: you need a NMM serverregistry running on host host1.
dvbtv://<hostname>/<path to video device> |
For example:
./clic -u dvbtv:// |
./clic -u dvbtv://host1 |
./clic -u "dvbtv://host1?channel=3" |
Tunes in the 3rd channel.
ivtv://<hostname>/<path to video device> |
For example:
./clic -u ivtv:// |
./clic -u ivtv://host1 |
./clic -u "ivtv://host1?channel=5" |
Tunes in the 5th channel.
./clic -u "ivtv://host1?channel=7&freqtable=pal-europe" |
Sets the frequency-table to 'pal-europe' and tunes in the 7th channel.
./clic -u "ivtv://host1?input=4" |
Sets the input to 4, wich means the tuner of the IVTV-Card (see IVTV-Documentation for details of available inputs)
mpegtv://<hostname>/<path to video device> |
For example:
./clic -u mpegtv:// |
./clic -u mpegtv://host1 |