Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (106)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • 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 (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (8038)

  • File created in subprocess.run not found by os.listdir()

    13 novembre 2019, par Abitbol

    I am using subprocess to launch an instance of ffmpeg extracting frames in a folder. Then I do os.listdir on that same folder and it returns an empty list ; off course I would except to see the files created by ffmpeg listed.

    Here is a minimal example

    import os
    import subprocess

    folder = 'generated'
    subprocess.run(['ffmpeg', '-i', 'input.mp4', '-vf', 'fps=4', f'{folder}/%05d.png'])
    print(os.listdir(folder))  # []

    I can testify that the files are created while the script is running.

    In the full example I am using ffmpeg complex filter to generate two output, I don’t think that is the source of the problem.

  • FLAC__stream_encoder_finish : Sanity improvement

    30 janvier 2017, par Erik de Castro Lopo
    FLAC__stream_encoder_finish : Sanity improvement
    

    Previously this function would abort or crash if passed `NULL` for
    the encoder. Now it just returns without crashing or aborting which
    is far more sane behaviour (ie much like FLAC__stream_encoder_delete).

    • [DH] src/libFLAC/stream_encoder.c
  • FFMPEG exec exit code 126

    17 mai 2020, par Ali Lord

    here is my code for FFMPEG

    



    $mp3path=realpath("1.mp3");&#xA;$cmd = "/usr/include/ffmpeg -i $mp3path -ab 128 /home/swiftfa1/public_html/output.mp3 2>&amp;1";&#xA;exec($cmd, $output, $value);&#xA;echo &#x27;<pre>&#x27;; print_r($output); echo &#x27;</pre>&#x27;;&#xA;echo &#x27;<pre>&#x27;; print_r($value); echo &#x27;</pre>&#x27;;&#xA;exit;&#xA;

    &#xA;&#xA;

    and here is my result :

    &#xA;&#xA;

    Array&#xA;(&#xA;    [0] => sh: /usr/include/ffmpeg: Is a directory&#xA;)&#xA;126&#xA;

    &#xA;&#xA;

    I used whereis for ffmpeg path and searched a lot but can't solve my issue. any command returns 126 !

    &#xA;