{{tag>Brouillon TV Vidéo}} # Télévision sous l'ordi Voir * [[regarder_metatv_sous_gnu-linux]] * * [Comment télécharger les vidéos de Mosaiktv](http://w.xuv.be/tools/comment_telecharger_les_videos_de_mosaiktv) * Qarte en encore voici quelques exemple avec mplayer2 et rtmpdump (ou curl rtmp) Pour RT ~~~bash mplayer --zoom --hardframedrop --framedrop rtsp://hdn.octoshape.net/er-rt/ch1_320p ~~~ Pour PressTV ~~~bash rtmpdump --live -r 'rtmp://mtv.fms-01.visionip.tv/live/mtv-ptv-live-25f-16x9-SDh' | mplayer --zoom -framedrop -hardframedrop -nocorrect-pts - ~~~ Voir aussi curl rtmp Installation si nécessaire ~~~bash apt-get update && apt-get install -y mplayer2 rtmpdump ~~~ Lancement ~~~bash rtmpdump --live -r 'rtmp://mtv.fms-01.visionip.tv/live/mtv-ptv-live-25f-16x9-SDh' | mplayer --zoom -framedrop -hardframedrop -nocorrect-pts - ~~~ Il est possible de remplacer mplayer par VLC ~~~bash rtmpdump --live -r 'rtmp://mtv.fms-01.visionip.tv/live/mtv-ptv-live-25f-16x9-SDh' | vlc - ~~~ Voir aussi http://ubuntuhandbook.org/index.php/2013/08/watch-live-tv-on-ubuntu/ ------------ ## Notes ### I J'ai eu le message d'erreur suivant en regardant RT. ~~~bash mplayer --hardframedrop --framedrop rtsp://hdn.octoshape.net/er-rt/ch1_320p ~~~ ~~~ Too many video packets in the buffer: (4096 in 13901860 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. A:3809.5 V:3636.7 A-V:172.757 ct: 10.859 0/ 0 0% 0% 21.5% 12962 0 ~~~ ### II ~~~ MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team Cannot open file '/home/jibe/.mplayer/input.conf': No such file or directory Failed to open /home/jibe/.mplayer/input.conf. Cannot open file '/etc/mplayer/input.conf': No such file or directory Failed to open /etc/mplayer/input.conf. ~~~ ### III Mplayer avec [[compilation-kernel-grsecurity|Selinux]] Soit : `/etc/sysctl.conf` ~~~ini kernel.grsecurity.harden_ipc = 0 ~~~ Ou : `/etc/mplayer2/mplayer.conf` ~~~ini #vo=x11,sdl vo=xv,directfb ~~~