Recherche avancée

Médias (91)

Autres articles (92)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

Sur d’autres sites (6236)

  • Ffmpeg compression cron cutting video to 1 second

    6 août 2022, par BlackThorn

    I have a cron setup to take locally uploaded videos, create a screengrab, compress the video and upload to online storage. I am using ffmpeg with php and have tried a few different ways but though it does compress the file size I keep getting a saved file of just the first second of the video. I tried delaying the process in case it just didn't have enough time to do the video and that was the cause but it didn't seem to do much. Here are some of the examples of the code I've tried all together (commented out as tried each but you can see the different ways) :

    


    try {
    // compress video if needed
    $bitrate = "5000k";
    // $command = "ffmpeg -i ".($temp_dir."/".$folder."/".$sub_file)." -b:v $bitrate -bufsize $bitrate ".$temp_dir."/".$folder."/edit-".$sub_file;
    // $command = "ffmpeg -i $temp_video -qscale 0 ".$temp_dir."/".$folder."/edit-".$sub_file;
    $command = "ffmpeg -i ".($temp_dir."/".$folder."/".$sub_file)." -vf scale=1280:-1 -c:v libx264 -preset veryslow -crf 24 ".$temp_dir."/".$folder."/edit-".$sub_file;
    //system($command);
    $output=null;
    $retval=null;
    exec($command, $output, $retval);
    $temp_video = $temp_dir."/".$folder."/edit-".$sub_file."";
} catch (Exception $e) {
    // log output
}


    


    Is there a known issue with this or something I'm missing ?

    


    Thanks

    


  • Announcement of a new Translation platform for Piwik translators : Transifex

    21 avril 2015, par Piwik Core Team

    To our dear Translators community,

    Thank you for helping us to translate Piwik into one of the many languages Piwik is available in.

    In this blog post, we are happy to announce a new and better way for you to contribute translations to Piwik.

    From today onwards, all the translations for the Piwik platform, plugins and for the Piwik Mobile app are managed in the public Piwik Transifex project.

    As part of a community request, we decided to switch to a more modern translation tool in order to provide everyone with an easier and better way to contribute to translations. Transifex provides us with a powerful and flexible online translation platform.

    It’s easy to contribute to Piwik translations : sign up to our Transifex project at https://www.transifex.com/projects/p/piwik/ to get started.

    If you have any questions, feel free to come back to us.

    Happy translating !

  • Announcement of a new Translation platform for Piwik translators : Transifex

    21 avril 2015, par Piwik Core Team

    To our dear Translators community,

    Thank you for helping us to translate Piwik into one of the many languages Piwik is available in.

    In this blog post, we are happy to announce a new and better way for you to contribute translations to Piwik.

    From today onwards, all the translations for the Piwik platform, plugins and for the Piwik Mobile app are managed in the public Piwik Transifex project.

    As part of a community request, we decided to switch to a more modern translation tool in order to provide everyone with an easier and better way to contribute to translations. Transifex provides us with a powerful and flexible online translation platform.

    It’s easy to contribute to Piwik translations : sign up to our Transifex project at https://www.transifex.com/projects/p/piwik/ to get started.

    If you have any questions, feel free to come back to us.

    Happy translating !