Recherche avancée

Médias (91)

Autres articles (55)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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 vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (5318)

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