Aller directement au contenu
  • Catégories
  • Récent
  • Mots-clés
  • Populaire
  • Web
  • Utilisateurs
  • Groupes
Habillages
  • Clair
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Sombre
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Défaut (Darkly)
  • Aucun habillage
Réduire

NodeBB

  1. Accueil
  2. General Discussion
  3. Linux
  4. MAJ Raspberry PI Zero W

MAJ Raspberry PI Zero W

Planifié Épinglé Verrouillé Déplacé Linux
raspberrypi zero wexiftoolmplayerffmpeg
85 Messages 2 Publieurs 2.2k Vues
  • Du plus ancien au plus récent
  • Du plus récent au plus ancien
  • Les plus votés
Répondre
  • Répondre à l'aide d'un nouveau sujet
Se connecter pour répondre
Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
  • S Hors-ligne
    S Hors-ligne
    srouviere06
    a écrit sur dernière édition par
    #33

    Je pers la connexion quand je lance la 1ere commande… je pense qu’il redémarre…
    je l’ai fait 2 fois

    1 réponse Dernière réponse
    😨
    0
    • fariasF Hors-ligne
      fariasF Hors-ligne
      farias
      a écrit sur dernière édition par
      #34

      Effectivement il doit y avoir un problème hard …

      1 réponse Dernière réponse
      0
      • fariasF Hors-ligne
        fariasF Hors-ligne
        farias
        a écrit sur dernière édition par
        #35

        Tu as une autre carte SD ?

        1 réponse Dernière réponse
        0
        • S Hors-ligne
          S Hors-ligne
          srouviere06
          a écrit sur dernière édition par
          #36

          celle du RPI3. Je peux faire un test. Tu penses que ça vaut le coup ?

          1 réponse Dernière réponse
          0
          • S Hors-ligne
            S Hors-ligne
            srouviere06
            a écrit sur dernière édition par
            #37

            allez, je vais faire un test… c’est une carte plus petite … 64Go

            1 réponse Dernière réponse
            0
            • S Hors-ligne
              S Hors-ligne
              srouviere06
              a écrit sur dernière édition par
              #38

              Bon, avec la nouvelle carte… on dirait que ça se passe mieux
              pas d’erreur
              J’ai installé mplayer et le driver de l’écran
              maintenant, qd je lance la vidéo j’ai :

              pi@raspberrypiFlipper:~ $ export DISPLAY=:0
              pi@raspberrypiFlipper:~ $ mplayer LW3-2.avi
              MPlayer UNKNOWN-12 (C) 2000-2023 MPlayer Team
              do_connect: could not connect to socket
              connect: No such file or directory
              Failed to open LIRC support. You will not be able to use your remote control.
              
              Playing LW3-2.avi.
              libavformat version 59.27.100 (external)
              AVI file format detected.
              [aviheader] Video stream found, -vid 0
              AVI: No audio stream found -> no sound.
              VIDEO:  [H264]  320x180  24bpp  25.000 fps   46.4 kbps ( 5.7 kbyte/s)
              vo: couldn't open the X11 display (:0)!
              vo: couldn't open the X11 display (:0)!
              vo: couldn't open the X11 display (:0)!
              vo: couldn't open the X11 display (:0)!
              vo: couldn't open the X11 display (:0)!
              VO XOverlay need a subdriver
              [VO_SDL] SDL initialization failed: Unable to open a console terminal.
              vo: couldn't open the X11 display (:0)!
              vo: couldn't open the X11 display (:0)!
              vo: couldn't open the X11 display (:0)!
              vo: couldn't open the X11 display (:0)!
              vo: couldn't open the X11 display (:0)!
              ==========================================================================
              Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
              libavcodec version 59.37.100 (external)
              [h264 @ 0xb5e3b3e8]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.
              Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
              ==========================================================================
              Clip info:
               Software: Lavf61.7.100
              Load subtitles in ./
              Audio: no sound
              Starting playback...
              Could not find matching colorspace - retrying with -vf scale...
              Opening video filter: [scale]
              Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
              [swscaler @ 0xb6736358]bicubic scaler, from yuv420p to bgra using C
              [swscaler @ 0xb6736358]No accelerated colorspace conversion found from yuv420p to bgra.
              [swscaler @ 0xb6736358]using unscaled yuv420p -> bgra special converter
              VO: [fbdev] 320x180 => 320x180 BGRA
              V:   0.3   8/  8 ??% ??% ??,?% 0 0
              
              
              MPlayer interrupted by signal 2 in module: sleep_timer
              V:   0.3   9/  9 ??% ??% ??,?% 0 0
              
              Exiting... (Quit)
              1 réponse Dernière réponse
              👯
              0
              • fariasF Hors-ligne
                fariasF Hors-ligne
                farias
                a écrit sur dernière édition par
                #39

                Tu as le fichier de configuration de mplayer de l’ancien pour comparer avec celui-ci ?
                Je crois que c’est sous /etc/mplayer/ .

                S 1 réponse Dernière réponse
                0
                • fariasF Hors-ligne
                  fariasF Hors-ligne
                  farias
                  a écrit sur dernière édition par
                  #40

                  Et aussi il faut :

                  lshw -c display
                  

                  A noter qu’il faut prendre des mp4 et pas des AVI.

                  La commande était du type :

                  mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=240:-3 BigBuckBunny_320x180.mp4 -nosound
                  
                  S 1 réponse Dernière réponse
                  0
                  • fariasF farias

                    Tu as le fichier de configuration de mplayer de l’ancien pour comparer avec celui-ci ?
                    Je crois que c’est sous /etc/mplayer/ .

                    S Hors-ligne
                    S Hors-ligne
                    srouviere06
                    a écrit sur dernière édition par
                    #41

                    @farias Non, je ne l’ai plus

                    1 réponse Dernière réponse
                    0
                    • fariasF farias

                      Et aussi il faut :

                      lshw -c display
                      

                      A noter qu’il faut prendre des mp4 et pas des AVI.

                      La commande était du type :

                      mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=240:-3 BigBuckBunny_320x180.mp4 -nosound
                      
                      S Hors-ligne
                      S Hors-ligne
                      srouviere06
                      a écrit sur dernière édition par
                      #42

                      @farias a dit dans MAJ Raspberry PI Zero W :

                      mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=240:-3 BigBuckBunny_320x180.mp4 -nosound
                      0

                      farias
                      Tu as le fichier de configuration de mplayer de l’ancien pour comparer avec celui-ci ?
                      Je crois que c’est sous /etc/mplayer/ .

                      La vidéo s’affiche sur l’écran mais

                      • elle n’est pas en plein écran
                      • j’ai un curseur en haut à gauche de l’écran
                      • j’ai un scintillement énorme. Je t’envoie une vidéo
                      fariasF 1 réponse Dernière réponse
                      0
                      • S Hors-ligne
                        S Hors-ligne
                        srouviere06
                        a écrit sur dernière édition par
                        #43

                        J’ai du installer lshw.
                        Quand je lance la commande, à l’affichage, j’ai
                        PCI (sysfs)
                        USB
                        mais USB vient s’écrire sur PCI (sysfs)

                        puis ensuite :

                        pi@raspberrypiFlipper:~ $ sudo lshw
                        raspberrypiflipper
                            description: ARMv6-compatible processor rev 7 (v6l)
                            product: Raspberry Pi Zero W Rev 1.1
                            serial: 00000000d1622f06
                            width: 32 bits
                          *-core
                               description: Motherboard
                               physical id: 0
                             *-cpu
                                  description: CPU
                                  product: cpu
                                  physical id: 0
                                  bus info: cpu@0
                                  size: 1GHz
                                  capacity: 1GHz
                                  capabilities: half thumb fastmult vfp edsp java tls cpufreq
                                *-cache
                                     description: L1 Cache
                                     physical id: 0
                                     size: 16KiB
                             *-memory
                                  description: System memory
                                  physical id: 1
                                  size: 427MiB
                          *-usbhost
                               product: DWC OTG Controller
                               vendor: Linux 6.12.43+ dwc_otg_hcd
                               physical id: 1
                               bus info: usb@1
                               logical name: usb1
                               version: 6.12
                               capabilities: usb-2.00
                               configuration: driver=hub slots=1 speed=480Mbit/s
                          *-mmc0
                               description: MMC Host
                               physical id: 2
                               logical name: mmc0
                             *-device
                                  description: SD Card
                                  product: SD64G
                                  vendor: Unknown (39)
                                  physical id: 5048
                                  logical name: /dev/mmcblk0
                                  version: 6.0
                                  date: 03/2021
                                  serial: 26164439
                                  size: 56GiB (60GB)
                                  capabilities: sd partitioned partitioned:dos
                                  configuration: logicalsectorsize=512 sectorsize=512 signature=324e7c1b
                                *-volume:0
                                     description: Windows FAT volume
                                     vendor: mkfs.fat
                                     physical id: 1
                                     logical name: /dev/mmcblk0p1
                                     logical name: /boot/firmware
                                     version: FAT32
                                     serial: 0512-6085
                                     size: 503MiB
                                     capacity: 512MiB
                                     capabilities: primary fat initialized
                                     configuration: FATs=2 filesystem=fat label=bootfs mount.fstype=vfat mount.options=rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro state=mounted
                                *-volume:1
                                     description: EXT4 volume
                                     vendor: Linux
                                     physical id: 2
                                     logical name: /dev/mmcblk0p2
                                     logical name: /
                                     version: 1.0
                                     serial: bbd12f80-9a62-4baf-b67b-c7ece572d713
                                     size: 56GiB
                                     capacity: 56GiB
                                     capabilities: primary journaled extended_attributes large_files dir_nlink recover extents ext4 ext2 initialized
                                     configuration: created=2025-05-13 02:20:33 filesystem=ext4 label=rootfs lastmountpoint=/ modified=2025-08-29 09:12:58 mount.fstype=ext4 mount.options=rw,noatime mounted=2025-08-28 19:17:02 state=mounted
                          *-mmc1
                               description: MMC Host
                               physical id: 3
                               logical name: mmc1
                             *-device
                                  description: SDIO Device
                                  physical id: 1
                                  bus info: mmc@1:0001
                                  serial: 0
                                  capabilities: sdio
                                *-interface:0
                                     description: Wireless interface
                                     product: 43430
                                     vendor: Broadcom
                                     physical id: 1
                                     bus info: mmc@1:0001:1
                                     logical name: mmc1:0001:1
                                     logical name: wlan0
                                     serial: b8:27:eb:37:7a:53
                                     capabilities: ethernet physical wireless
                                     configuration: broadcast=yes driver=brcmfmac driverversion=7.45.98 firmware=01-8e14b897 ip=192.168.1.16 multicast=yes wireless=IEEE 802.11
                                *-interface:1
                                     product: 43430
                                     vendor: Broadcom
                                     physical id: 2
                                     bus info: mmc@1:0001:2
                                     logical name: mmc1:0001:2
                          *-sound
                               description: b1
                               physical id: 4
                               logical name: card0
                               logical name: /dev/snd/controlC0
                               logical name: /dev/snd/pcmC0D0p
                               logical name: /dev/snd/pcmC0D1p
                          *-graphics:0
                               product: BCM2708 FB
                               physical id: 5
                               logical name: /dev/fb0
                               capabilities: fb
                               configuration: depth=32 resolution=480,320
                          *-graphics:1
                               product: fb_ili9486
                               physical id: 6
                               logical name: /dev/fb1
                               capabilities: fb
                               configuration: depth=16 resolution=480,320
                          *-input
                               product: ADS7846 Touchscreen
                               physical id: 7
                               logical name: input0
                               logical name: /dev/input/event0
                               logical name: /dev/input/mouse0
                               capabilities: spi
                        pi@raspberrypiFlipper:~ $
                        1 réponse Dernière réponse
                        👍
                        0
                        • S srouviere06

                          @farias a dit dans MAJ Raspberry PI Zero W :

                          mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=240:-3 BigBuckBunny_320x180.mp4 -nosound
                          0

                          farias
                          Tu as le fichier de configuration de mplayer de l’ancien pour comparer avec celui-ci ?
                          Je crois que c’est sous /etc/mplayer/ .

                          La vidéo s’affiche sur l’écran mais

                          • elle n’est pas en plein écran
                          • j’ai un curseur en haut à gauche de l’écran
                          • j’ai un scintillement énorme. Je t’envoie une vidéo
                          fariasF Hors-ligne
                          fariasF Hors-ligne
                          farias
                          a écrit sur dernière édition par
                          #44

                          @srouviere06 Pour jouer la vidéo tu fais quelle commande ?

                          S 1 réponse Dernière réponse
                          0
                          • fariasF farias

                            @srouviere06 Pour jouer la vidéo tu fais quelle commande ?

                            S Hors-ligne
                            S Hors-ligne
                            srouviere06
                            a écrit sur dernière édition par
                            #45

                            @farias exactement celle que tu m’as donné

                            1 réponse Dernière réponse
                            0
                            • fariasF Hors-ligne
                              fariasF Hors-ligne
                              farias
                              a écrit sur dernière édition par
                              #46

                              Dans mplayer tu as essayer de forcer le 480 via : "-vf scale=480:-3 " ? Sur mon exemple on était en 240.
                              Mais toi tu as :
                              “configuration: depth=32 resolution=480,320”

                              1 réponse Dernière réponse
                              0
                              • S Hors-ligne
                                S Hors-ligne
                                srouviere06
                                a écrit sur dernière édition par
                                #47

                                Effectivement, maintenant c’est plein écran
                                Par contre j’ai toujours le curseur et le scintillement

                                pi@raspberrypiFlipper:~ $ mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=480:-3 LW3Org.mp4 -nosound
                                MPlayer UNKNOWN-12 (C) 2000-2023 MPlayer Team
                                
                                Playing LW3Org.mp4.
                                libavformat version 59.27.100 (external)
                                libavformat file format detected.
                                [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb6637a58]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
                                ID_VIDEO_ID=0
                                [lavf] stream 0: video (h264), -vid 0
                                ID_AUDIO_ID=0
                                [lavf] stream 1: audio (aac), -aid 0, -alang und
                                VIDEO:  [H264]  640x360  24bpp  29.970 fps  366.5 kbps (44.7 kbyte/s)
                                Opening video filter: [scale w=480 h=-3]
                                ==========================================================================
                                Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
                                libavcodec version 59.37.100 (external)
                                [h264 @ 0xb5ddb3e8]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.
                                Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
                                ==========================================================================
                                ID_VIDEO_CODEC=ffh264
                                Clip info:
                                 major_brand: mp42
                                ID_CLIP_INFO_NAME0=major_brand
                                ID_CLIP_INFO_VALUE0=mp42
                                 minor_version: 0
                                ID_CLIP_INFO_NAME1=minor_version
                                ID_CLIP_INFO_VALUE1=0
                                 compatible_brands: isommp42
                                ID_CLIP_INFO_NAME2=compatible_brands
                                ID_CLIP_INFO_VALUE2=isommp42
                                 creation_time: 2018-11-21T02:24:27.000000Z
                                ID_CLIP_INFO_NAME3=creation_time
                                ID_CLIP_INFO_VALUE3=2018-11-21T02:24:27.000000Z
                                ID_CLIP_INFO_N=4
                                Load subtitles in ./
                                ID_FILENAME=LW3Org.mp4
                                ID_DEMUXER=lavfpref
                                ID_VIDEO_FORMAT=H264
                                ID_VIDEO_BITRATE=366488
                                ID_VIDEO_WIDTH=640
                                ID_VIDEO_HEIGHT=360
                                ID_VIDEO_FPS=30.000
                                ID_VIDEO_ASPECT=0.0000
                                ID_START_TIME=0.00
                                ID_LENGTH=236.01
                                ID_SEEKABLE=1
                                ID_CHAPTERS=0
                                Audio: no sound
                                FPS forced to be 30.000  (ftime: 0.033).
                                Starting playback...
                                Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
                                ID_VIDEO_ASPECT=1.7778
                                [swscaler @ 0xb66d6358]bicubic scaler, from yuv420p to rgb565le using C
                                VO: [fbdev2] 480x270 => 480x270 BGR 16-bit
                                ^C   5.2 155/155 92% 211%  0.0% 0 0
                                
                                
                                MPlayer interrupted by signal 2 in module: av_sync
                                ID_SIGNAL=25/155 92% 211%  0.0% 0 0
                                
                                Exiting... (Quit)
                                ID_EXIT=QUIT
                                pi@raspberrypiFlipper:~ $
                                fariasF 1 réponse Dernière réponse
                                0
                                • S srouviere06

                                  Effectivement, maintenant c’est plein écran
                                  Par contre j’ai toujours le curseur et le scintillement

                                  pi@raspberrypiFlipper:~ $ mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=480:-3 LW3Org.mp4 -nosound
                                  MPlayer UNKNOWN-12 (C) 2000-2023 MPlayer Team
                                  
                                  Playing LW3Org.mp4.
                                  libavformat version 59.27.100 (external)
                                  libavformat file format detected.
                                  [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb6637a58]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
                                  ID_VIDEO_ID=0
                                  [lavf] stream 0: video (h264), -vid 0
                                  ID_AUDIO_ID=0
                                  [lavf] stream 1: audio (aac), -aid 0, -alang und
                                  VIDEO:  [H264]  640x360  24bpp  29.970 fps  366.5 kbps (44.7 kbyte/s)
                                  Opening video filter: [scale w=480 h=-3]
                                  ==========================================================================
                                  Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
                                  libavcodec version 59.37.100 (external)
                                  [h264 @ 0xb5ddb3e8]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.
                                  Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
                                  ==========================================================================
                                  ID_VIDEO_CODEC=ffh264
                                  Clip info:
                                   major_brand: mp42
                                  ID_CLIP_INFO_NAME0=major_brand
                                  ID_CLIP_INFO_VALUE0=mp42
                                   minor_version: 0
                                  ID_CLIP_INFO_NAME1=minor_version
                                  ID_CLIP_INFO_VALUE1=0
                                   compatible_brands: isommp42
                                  ID_CLIP_INFO_NAME2=compatible_brands
                                  ID_CLIP_INFO_VALUE2=isommp42
                                   creation_time: 2018-11-21T02:24:27.000000Z
                                  ID_CLIP_INFO_NAME3=creation_time
                                  ID_CLIP_INFO_VALUE3=2018-11-21T02:24:27.000000Z
                                  ID_CLIP_INFO_N=4
                                  Load subtitles in ./
                                  ID_FILENAME=LW3Org.mp4
                                  ID_DEMUXER=lavfpref
                                  ID_VIDEO_FORMAT=H264
                                  ID_VIDEO_BITRATE=366488
                                  ID_VIDEO_WIDTH=640
                                  ID_VIDEO_HEIGHT=360
                                  ID_VIDEO_FPS=30.000
                                  ID_VIDEO_ASPECT=0.0000
                                  ID_START_TIME=0.00
                                  ID_LENGTH=236.01
                                  ID_SEEKABLE=1
                                  ID_CHAPTERS=0
                                  Audio: no sound
                                  FPS forced to be 30.000  (ftime: 0.033).
                                  Starting playback...
                                  Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
                                  ID_VIDEO_ASPECT=1.7778
                                  [swscaler @ 0xb66d6358]bicubic scaler, from yuv420p to rgb565le using C
                                  VO: [fbdev2] 480x270 => 480x270 BGR 16-bit
                                  ^C   5.2 155/155 92% 211%  0.0% 0 0
                                  
                                  
                                  MPlayer interrupted by signal 2 in module: av_sync
                                  ID_SIGNAL=25/155 92% 211%  0.0% 0 0
                                  
                                  Exiting... (Quit)
                                  ID_EXIT=QUIT
                                  pi@raspberrypiFlipper:~ $
                                  fariasF Hors-ligne
                                  fariasF Hors-ligne
                                  farias
                                  a écrit sur dernière édition par farias
                                  #48

                                  @srouviere06 Tu as essayé "-cursor off " ou ( “–no-input-cursor” ou “–input-cursor=no” ) ?

                                  1 réponse Dernière réponse
                                  0
                                  • S Hors-ligne
                                    S Hors-ligne
                                    srouviere06
                                    a écrit sur dernière édition par
                                    #49

                                    ça n’exite pas ces options lol 😉

                                    fariasF 1 réponse Dernière réponse
                                    0
                                    • S srouviere06

                                      ça n’exite pas ces options lol 😉

                                      fariasF Hors-ligne
                                      fariasF Hors-ligne
                                      farias
                                      a écrit sur dernière édition par
                                      #50

                                      @srouviere06 Avant de lancer mplayer :

                                      setterm -cursor off
                                      
                                      1 réponse Dernière réponse
                                      0
                                      • fariasF Hors-ligne
                                        fariasF Hors-ligne
                                        farias
                                        a écrit sur dernière édition par
                                        #51

                                        Si cela fonctionne tu ajoute la commande dans le .bashrc …

                                        1 réponse Dernière réponse
                                        0
                                        • S Hors-ligne
                                          S Hors-ligne
                                          srouviere06
                                          a écrit sur dernière édition par
                                          #52

                                          non ya toujours le curseur

                                          fariasF 1 réponse Dernière réponse
                                          0

                                          Bonjour ! Vous semblez intéressé par cette conversation, mais vous n’avez pas encore de compte.

                                          Marre de refaire défiler les mêmes messages ? Créez un compte pour retrouver votre position, recevoir des notifications des nouvelles réponses, sauvegarder vos favoris et voter pour les messages que vous appréciez.

                                          Grâce à votre participation, ce message peut devenir encore meilleur 💗

                                          S'inscrire Se connecter
                                          Répondre
                                          • Répondre à l'aide d'un nouveau sujet
                                          Se connecter pour répondre
                                          • Du plus ancien au plus récent
                                          • Du plus récent au plus ancien
                                          • Les plus votés


                                          • Se connecter

                                          • Vous n'avez pas de compte ? S'inscrire

                                          • Connectez-vous ou inscrivez-vous pour faire une recherche.
                                          Powered by NodeBB Contributors
                                          • Premier message
                                            Dernier message
                                          0
                                          • Catégories
                                          • Récent
                                          • Mots-clés
                                          • Populaire
                                          • Web
                                          • Utilisateurs
                                          • Groupes