Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (106)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (6818)

  • Make video from images with ffmpeg php

    22 février 2017, par Alex de la Rosa
    enter code herHello I have managed to convert images to video from the

    Hello I have managed to convert images to video from the terminal.
    But right now I want to do the same but through php code and I do not know how to use it, I’m newbie the code I’m using is the next one.

       <?php


    exec('ffmpeg -r 1/5 -i e%02d.png -c:v libx264 -r 30 -pix_fmt yuv420p EinsteinSlideShow.mp4');

    ?>

    If someone can give me the code I would appreciate it

  • how to convert video file via ffmpeg in php ?

    4 janvier 2015, par ali raha

    In SSH centos terminal, I run it via this command :

    $HOME/bin/ffmpeg -i test.mp4 test.webm

    I tried this

    $ffmpegPath = "/home/bin/ffmpeg";
     //or $ffmpegPath = "/bin/ffmpeg";




     $outPath=$outPath."/".$newname.$format;
     shell_exec("$ffmpegPath  -i $inputPath $outPath");
  • python3.6 ffmpeg call MacOSX

    8 avril 2017, par Awazleon

    I’m using Python 3.6 on MacOSX. I would like to use FFmpeg as Python sub-process. Everything works fine when using the OSX embedded Python 2.7 but using 3.6, this doesn’t work.
    I’ve got an error message because it doesn’t find FFmepg.

    raise FFExecutableNotFoundError("Executable ’0’ not found".format(self.executable))
    ffmpy.FFExecutableNotFoundError : Executable ’ffmpeg’ not found

    As you can se I tried with ffmpy but I also got the same result by invoking FFmpeg directly

    from subprocess import call
    call(["ffmpeg"])
    Traceback (most recent call last) :
    File "", line 1, in
    call(["ffmpeg"])
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p :
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 707, in init
    restore_signals, start_new_session)
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1326, in _execute_child
    raise child_exception_type(errno_num, err_msg)
    FileNotFoundError : [Errno 2] No such file or directory : ’ffmpeg’

    I installed the FFmpeg lib. by using Brew through Terminal. It was well installed but only visible by Python 2.7, not 3.6.

    Calling it from terminal is working :

    iMac-de-xxxxx : utilisateur$ ffmpeg

    ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
    built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
    configuration : —prefix=/usr/local/Cellar/ffmpeg/3.2.4 —enable-shared —enable-pthreads —enable-gpl —enable-version3 —enable-hardcoded-tables —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-libmp3lame —enable-libx264 —enable-libxvid —enable-opencl —disable-lzma —enable-vda

    I’m not (yet) a Linux specialist but I think that a path is missing for 3.6 to find FFmpeg.
    Any clue to solve this annoying issue ?