Journal Carte TV et mplayer

Posté par  (site web personnel) .
Étiquettes : aucune
0
13
fév.
2004
Ca y est! Ma carte TV marche depuis mon passage à Mandrake 9.2.1 !

Voici le script que j'utilise:

---->8---->8---->8----
#!/bin/bash
chaines="25-TF1,28-France_2,22-France_3,K09-Canal_Plus,41-Arte,62-M6"
driver=v4l
taille=":width=640:height=480"
mplayer -tv on:norm=SECAM:input=0:driver=${driver}:chanlist=france:channels=${chaines}${taille}
---->8---->8---->8----

Rappel: pour changer de chaine avec mplayer, ce sont les touches h et k.

Prochaine étape: faire marcher la télécommande.
  • # Re: Carte TV et mplayer

    Posté par  (site web personnel) . Évalué à 1.

    MPlayer 1.0pre3-3.3.1 (C) 2000-2003 MPlayer Team

    CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon 668.8 MHz (Family: 6, Stepping: 2)
    Detected cache-line size is 32 bytes
    CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
    Compiled with Runtime CPU Detection - WARNING - this is not optimal!
    To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
    Reading config file /etc/mplayer/mplayer.conf
    Reading config file /home/oktail/.mplayer/config
    -tv on is deprecated, use tv:// instead
    • [^] # Re: Carte TV et mplayer

      Posté par  (site web personnel) . Évalué à 1.

      J'utilise la version:
      MPlayer 0.91-3.3.1 (C) 2000-2003 MPlayer Team

      Avec tv:// à la fin ça marche ?
      • [^] # Re: Carte TV et mplayer

        Posté par  . Évalué à 1.

        salut alban,
        voici le script pour la version cvs de mplayer
        mais leur support du v4l2 est encore un peut foireux (faut initialiser la carte avec un autre soft tv....)


        #! /bin/bash
        chaines="25-TF1,28-France_2,22-France_3,K09-Canal_Plus,59-Arte,62-M6"
        driver=v4l2
        taille=":width=640:height=480"
        mplayer tv:// -tv device=/dev/video0:norm=SECAM:input=0:driver=${driver}:chanlist=france:channels=${chaines}${taille}
        • [^] # Re: Carte TV et mplayer

          Posté par  (site web personnel) . Évalué à 1.

          J'ai changé mon script pour qu'il marche à la fois sur noyau 2.4 et 2.6:


          #!/bin/bash
          # Mplayer TV

          # Pilote carte TV
          if [ "`uname -r | grep -- ^2.4 `" != "" ] ; then
          DRIVER=v4l
          else
          DRIVER=v4l2
          fi

          # Autres options TV
          TAILLE=":width=640:height=480"
          NORM=SECAM
          INPUT=0
          CHANLIST=france
          CHANNELS="25-TF1,28-France_2,22-France_3,K09-Canal_Plus,41-Arte,62-M6"

          # Arguments
          ARGS=-fs

          mplayer tv:// -tv norm=${NORM}:input=${INPUT}:driver=${DRIVER}:chanlist=${CHANLIST}:channels=${CHANNELS}:${TAILLE} ${ARGS}

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.