Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (43)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (8853)

  • 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

    


  • Anomalie #4574 (Nouveau) : Authentification AJAX non fonctionnelle lorsque mode parano actif

    15 octobre 2020, par Guillaume Fahrner

    L’activation du mode parano casse l’authentification via AJAX, le JSON retourné par la page informer_auteur.html n’est plus valide : erreur javascript lors du parsing JSON -> hash calculé faux -> erreur de login

    Une surcharge vide de formulaires/inc-logo_auteur.html permet de contourner ce problème (le logo n’apparaîtra plus bien évidemment).

    Une autre solution (plus propre, sûr ?) consiste à désactiver les traitement de sécurité globaux dans informer_auteur.html en utilisant ** :

    1. <span class="CodeRay">[(#DATE**|informer_auteur)]
    2. </span>

    Télécharger

    Il faut par contre modifier la fonction informer_auteur() pour filtrer var_login avant de le retourner :

    1. <span class="CodeRay"><span class="keyword">function</span> <span class="function">informer_auteur</span>(<span class="local-variable">$bof</span>) {
    2.     include_spip(<span class="string"><span class="delimiter">'</span><span class="content">inc/json</span><span class="delimiter">'</span></span>);
    3.     include_spip(<span class="string"><span class="delimiter">'</span><span class="content">formulaires/login</span><span class="delimiter">'</span></span>);
    4.     include_spip(<span class="string"><span class="delimiter">'</span><span class="content">inc/auth</span><span class="delimiter">'</span></span>);
    5.     <span class="local-variable">$login</span> = <span class="predefined">strval</span>(_request(<span class="string"><span class="delimiter">'</span><span class="content">var_login</span><span class="delimiter">'</span></span>));
    6.     <span class="local-variable">$row</span> = auth_informer_login(<span class="local-variable">$login</span>);
    7.     <span class="keyword">if</span> (<span class="local-variable">$row</span> <span class="keyword">and</span> <span class="predefined">is_array</span>(<span class="local-variable">$row</span>) <span class="keyword">and</span> <span class="predefined">isset</span>(<span class="local-variable">$row</span>[<span class="string"><span class="delimiter">'</span><span class="content">id_auteur</span><span class="delimiter">'</span></span>])) {
    8.         <span class="predefined">unset</span>(<span class="local-variable">$row</span>[<span class="string"><span class="delimiter">'</span><span class="content">id_auteur</span><span class="delimiter">'</span></span>]);
    9.     } <span class="keyword">else</span> {
    10.         <span class="local-variable">$row</span>[<span class="string"><span class="delimiter">'</span><span class="content">login</span><span class="delimiter">'</span></span>] = safehtml(<span class="local-variable">$login</span>);
    11.     }
    12.  
    13.     <span class="keyword">return</span> json_export(<span class="local-variable">$row</span>);
    14. }
    15. </span>

    Télécharger

    SPIP 3.2.8 à jour

  • "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".

    &#xA;

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

    &#xA;

    Here is my full script to compile ffmpeg :

    &#xA;

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

    &#xA;

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

    &#xA;

    I'm running Ubuntu 18.04.6.

    &#xA;

    Any help would be appreciated.

    &#xA;