Recherche avancée

Médias (91)

Autres articles (105)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (5361)

  • "ERROR : libopencv not found" when compiling ffmpeg

    13 avril 2023, par ArnoBen

    I am trying to install ffmpeg with the libopencv libraries and it fails with the error "ERROR : libopencv not found".

    


    I did install libopencv with sudo apt install libopencv-dev which now prints libopencv-dev is already the newest version (3.2.0+dfsg-4ubuntu0.1), and I can see the files in /usr/include/opencv2.

    


    Here is my full script to compile ffmpeg :

    


    cd ~/ffmpeg_sources && \
wget -O ffmpeg-snapshot.tar.bz2 https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 && \
tar xjvf ffmpeg-snapshot.tar.bz2 && \
cd ffmpeg && \
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
  --prefix="$HOME/ffmpeg_build" \
  --pkg-config-flags="--static" \
  --extra-cflags="-I$HOME/ffmpeg_build/include" \
  --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
  --extra-libs="-lpthread -lm" \
  --ld="g++" \
  --bindir="$HOME/bin" \
  --enable-gpl \
  --enable-gnutls \
  --enable-libopencv \
  --enable-libtensorflow \
  --enable-libx264 \
  --enable-libfdk-aac \
  --enable-nonfree && \
PATH="$HOME/bin:$PATH" make -j4 && \
make -j4 install && \
hash -r


    


    It works fine if I remove the --enable-libopencv line.

    


    I'm running Ubuntu 18.04.6.

    


    Any help would be appreciated.

    


  • brodcast png & video ffmpeg with raspberry

    6 mars 2021, par FoxFr

    Someone can help me to add a image during 10s beetwen the videos ?
or explain me how do that

    


    ffmpeg \
-i /dev/video0 \
-i /dev/video2 \
-i /home/pi/videopi/map.png \
-stream_loop -1 -re -i "/home/pi/videopi/bed.mp3" \
-filter_complex "[0][1]overlay=enable='lt(mod(t,60),30)'[v];[v]drawtext=textfile=/home/pi/videopi/gps.txt:reload=1:x=30:y=100:fontfile=OpenSans.ttf:font$
-map "[v]" \
-map 2:a \
-c:v libx264 -b:v 4000k -maxrate 4000k -bufsize 8000k -g 50 -c:a aac \
-f flv rtmp://a.rtmp.youtube.com/live2/XXXXXXXXXX


    


    Below the sequence wished

    


    |-> video0 - duration 30" --> map.png - duration 10" --> video2 - duration 30" --|
|                                                                                | 
|--------------------------------------- loop -----------------------------------|


    


    I'd try to put

    


    -f image2 -loop 1 -i "/home/pi/videopi/acmo/map.png" \


    


    instead of

    


    -i /dev/video0 \


    


    without success

    


  • Size Discrepany in the ‘du’ Command

    22 juin 2012, par Multimedia Mike — General

    I had a problem today while using the common Unix command ’du’. As a refresher, ’du’ stands for disk usage and is a handy tool for understanding how much disk space is being occupied.

    I think ’du’ is probably doing the right thing. The problem might be that I’m getting strange (read : 1/2 the expected number) when running the tool against directories on vmhgfs, the VMware filesystem.

    Science Project
    On an Ubuntu Linux VMware session, my home directory is on the main file system, which is ext4. The directory /mnt/hgfs is reported by ’mount’ to be of type vmhgfs and is shared with the host machine.

    Create a directory in the home directory and generate a 10 MiB file :

    mkdir /home/melanson/dir
    dd if=/dev/urandom of=/home/melanson/dir/random-file bs=1048576 count=10
    

    Create a directory on the shared drive and copy the same file :

    mkdir /mnt/hgfs/vmshare/dir
    cp /home/melanson/dir/random-file /mnt/hgfs/vmshare/dir
    

    Run ’du’ on each directory using the -k and -h options :

    du -k /home/melanson/dir /mnt/hgfs/vmshare/dir
    10244   /home/melanson/dir
    5120    /mnt/hgfs/vmshare/dir
    

    du -h /home/melanson/dir /mnt/hgfs/vmshare/dir
    11M /home/melanson/directory
    5.0M /mnt/hgfs/vmshare/directory

    I noticed this discrepancy when I was trying to pack a set of files (akin to ’tar’-ing) living in a directory in the shared location. I was going mad trying to understand why the original directory was only 2 MB as reported by ’du’ but the final packed file was 4 MB.

    To be fair, the man page for ’du’ succinctly states that the tool’s purpose is merely to "estimate file space usage".