Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

  • Can I decode this audio format ?

    30 octobre 2013, par Naftuli Tzvi Kay

    I'm writing a Python program which depends on FFMPEG to decode audio into WAV format. I'd like to be able to process as many types of audio, but I need a way to quickly check if I can actually work with the uploaded file or not. I've compiled my own FFMPEG installation here.

    Specifically, I'd like to enforce logic like this in my application :

    if ffmpeg_type(file_path) is not "audio":
       raise Exception("Bro, that's not an audio file.")
    elif not ffmpeg_can_decode_audio(file_path):
       raise Exception("I have no way of working with this.")

    (I realize that it wouldn't be as easy as just calling these methods, I assume I'd need to parse output from a system call.)

    Is there a way that I could use the command-line ffmpeg, ffprobe, etc. to determine if a given file is an audio file and if I can decode it ?

  • lavfi/overlay : correct small error in intersection detection

    26 octobre 2013, par Benedict Endemann
    lavfi/overlay : correct small error in intersection detection
    

    The image size of the destination image was used to determine if a source
    image was positioned outside the destination image, that no intersection
    could occur. Actually for these two cases the size of the source image
    has to be used !

    Signed-off-by : Stefano Sabatini <stefasab@gmail.com>

    • [DH] libavfilter/vf_overlay.c
  • get metadata and download mp4 video link to server with ffmpeg

    17 mars 2019, par user892134

    I have the following directory in server /home/example.com/videos

    I want to download this video http://example.com/videos/video.mp4 into the directory.

    First how do i get metadata of http://example2.com/videos/video.mp4 ?

    Here is my command to download video, is it correct ?

    ffmpeg -i "http://example2.com/videos/video.mp4" -c copy "/home/example.com/videos/video2.mp4"

    Lastly, how do i determine if video has downloaded or didn’t finish downloading successfully ?