{fr} Version française
With Linux, other clients than VLC Media Player work. They are usually lighter but in most cases without SAP support which allows you to find the list of available channels. The first step to obtain them is to find the IP adress of the channel on
In case of streaming problem, see ../../EnCasDeProblèmes/LangEng.
Play
Xine
With Xine, type the command:
xine -D udp://239.200.200.201:1234
orxine -D udp://w9.tv.crans.org:1234
Mplayer
MPlayer has the advantage of reading flows in Dolby Digital like the one of NRJ12, witch is not possible with Xine. The following command enables you to play a channel with a recent version of MPlayer (1.0pre6):
mplayer udp://239.200.200.201:1234
ormplayer udp://w9.tv.crans.org:1234
To avoid annoying graphical effects, like the presence of macro-blocks due to a non constant stream, add a 50Mio cache with a default filling of 30%. Even if it creates a little time shifting (less than 30s), it is worth it. To do so, you just need to change the command into:
mplayer -cache 51200 -cache-min 30 udp://w9.tv.crans.org:1234
To force a good audio/video synchronization, add the frame-dropping.
mplayer -cache 51200 -cache-min 30 -framedrop udp://w9.tv.crans.org:1234
And then to uninterlace the video, use the pp video filter as following:
mplayer -cache 51200 -cache-min 30 -framedrop -vf pp=fd/h1/d1/dr udp://w9.tv.crans.org:1234
To use the AC3 track, use the command (for NRJ12):
mplayer udp://239.202.203.200:1234 -ac hwac3 -aid 231
ormplayer udp://nrj12.tv.crans.org -ac hwac3 -aid 231
The hwac3 parameter assumes that your sound card can decode AC3 in hard (or that you have an external decoder).
Others
Any other software can be used, if it can read stream on the standard input.
In this case, the program dumpudp (available here) can be used like this:
./dumpudp -i 239.202.203.200 -p 1234 -o /dev/stdout | a-player-that-can-play-a-stream-from-stdin
for instance:
./dumpudp 239.202.203.200 1234 | mplayer - ./dumpudp 239.202.203.200 1234 | vlc ps:/dev/stdin
Record
You need dumpudp available here (do browse tree on the last version).
Then with the following command you can record the current broadcast:
dumpudp -i 239.202.203.200 -p 1234 -o destination_file.mpg
You can limit the recording duration by indicating its value in seconds with the option -d
If the broadcast you want to record only begins at 6:30 and lasts 1 hour use the command at:
$ at 6:30 at> dumpudp -i 239.202.203.200 -p 1234 -d 3600 -o fichier_destination.mpg