Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (53)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (11417)

  • FFMPEG works on Console but doesn't work in PHP script on Ubuntu

    16 novembre 2016, par Victor Ferreira

    I have this aplication where I need to convert video files to MP4 and then compress it. I’m trying to use FFMPEG to get this to work. Tried the command lines in the console and it works great

    Converting

    ffmpeg -i teste.avi teste.mp4

    Compressing

    ffmpeg -i teste.mp4 -acodec mp2 teste.mp4

    But when I do the same within a PHP script, it starts yelling that something called GLIBCXX is not installed. This is the error :

    ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/i386-linux-gnu/libjack.so.0)
    ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/i386-linux-gnu/libjack.so.0)
    ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/i386-linux-gnu/libjack.so.0)
    ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/i386-linux-gnu/libzmq.so.3)
    ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/i386-linux-gnu/libzmq.so.3)
    ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4)
    ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4)
    ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4)

    This is my script

    $r = shell_exec("ffmpeg -i $file_path $output_path 2>&1"); //convert
    $r = shell_exec("ffmpeg -i $file_path -acodec mp2 $file_path 2>&1"); //compress

    I’m running the script on Ubuntu

    @edit
    I can run, for example, shell_exec(’ls’)

  • FFMPEG converts HEVC with Alpha mov to PNG sequence not work well

    22 juillet 2023, par topfortune

    I have a mov file with HEVC with Alpha codec on Mac. The mov file has no background color, but have some foreground contents in it. I want to use FFMPEG to grab some PNG pictures from it. Following is the command line I used to grab the first image from the video.

    


    ffmpeg -i hevc-alpha-video.mov -r 1 -pix_fmt rgba -frames:v 1 out.png

    


    I can get the output PNG picture. But it has black background color. What I want is the transparent background PNG picture.

    


    Do you have any idea to handle this ? Thanks.

    


  • FFMPEG. Using current datetime in the filename. strftime parameter doesn't seem to work

    5 novembre 2017, par LEM

    I’m connecting to an IP camera and I would like to create a new recording every 60 seconds. Each recording should have a different filename.
    I tried with this :

    ffmpeg -i <url> -y -c:v libx264 -an -f segment -segment_time 60 -strftime 1 "%Y-%m-%d_%H-%M-%S.mp4"
    </url>

    However, this always outputs a filename that looks like :

    m-H-S.mp4

    Any ideas what I must be missing ?

    Thanks