Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (27)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (5492)

  • Script option for gallery-dl in python ?? (NOT CLI)

    27 mai 2021, par rogerda8

    I want to use gallery-dl in script of python , there is a way to run command line arguments but still is there any way to import it as a module and make it do its things without using command line ..?

    


  • Have a one liner, ffmpeg script to process and audio file would love to run it on AWS Lambda

    13 juin 2016, par Edward Potter

    Ok, wow, got Lambda to work processing my ImageMagick script. Would love to have that work with ffmpeg. It’s a one liner, just don’t see an easy way to do that. I can now upload anything to a S3 bucket.

    Mounting S3 on EC2 seems possible, do the processing local, then move it to S3, but the Lambda option seems far more interesting. Wondering if any insights (or references, suggestions) on how to implement that. Thanks.

    The script :

    ffmpeg -i $i -b:a 48k -ar 16000 -f mp3 "$i"
  • Batch script to match two filenames in the same folder with different extension

    24 mai 2018, par Ahhhhhhhhhhhhhdfgbv

    I’ve been looking, but I don’t quite understand the regex of matching filenames. I have seen in SO that there are questions that match two filenames in different folders, but I’m looking within the same folder.

    file01.jpg
    file01.wav
    file02.jpg
    file03.jpg
    file04.jpg
    file04.wav

    I want it to match if there is a jpg and a wav to run a ffmpeg script, and if the wav doesn’t have a matching jpg then run another ffmpeg script, and if there is no matching wav to the jpg do another script.

    if( $jpg == $wav ) // matching filenames without extension
       do script1
    else if( $jpg != $wav ) // if there is no matching jpg to wav
       if( empty($jpg) && $wav )
           do script2
       if( empty($wav) && $jpg )
           do script3