Recherche avancée

Médias (91)

Autres articles (83)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (11435)

  • Running ffmpeg command using shell_exec in php as a background process in windows

    2 octobre 2014, par Vedant Terkar

    I’m trying to convert a video from .mp4 to .flv in php using :

    shell_exec("ffmpeg -i input.mp4 output.flv 1>output.txt 2>&1");

    Also I am taking output of entire process in output.txt file to use it in creation of progress bar in javascript(that’s not the problem here).

    The problem is :
    if video(input.mp4) size is>50Mb then it takes too long to complete shell_exec (>30secs). which hangs the UI unnecessarily.

    So what i want to know is :

    • Is there any way to make shell_exec work together with rest of the script ?

    • I need only to initiate ffmpeg.exe via php script and then php script can terminate.

    • Once the process is initiated javascript will start its magic(at client side).

    So I need to execute shell_exec async. with rest of the script. and once the process is initiated the script should inform client by simply echoing. It should not wait for ffmpeg.exe to complete its working. Is it possible ?

    I’ve seen several similar questions on SO, many of them describing the same problem

    ex :

    Run a ffmpeg process in the background

    Run PHP Task Asynchronously

    ffmpeg Progress Bar - Encoding Percentage in PHP

    Can ffmpeg show a progress bar ?

    etc.

    BUT

    They all were using linux OS’s or Using curl. I’m using windows 8 (wamp without curl and any other add-on except ffmpeg.exe).

    So Is it possible ? can experts here please help me one more time ?

    Thanks in advance.

  • how to enable libvorbis codec in ffmpeg windows ? and how convert from .mov to .webm

    22 juillet 2014, par Amey

    I am using ffmpeg-20140717-git-fa6716c-win64-shared latest one and they have mentioned
    — enable-libvirbose .

    but once I run the command to convert .mov to .webm then its saying unknown encoder libvorbis

    I am not able to enable libvorbis in ffmpeg windows.

    what command to enable any codec.

    and I am trying to convert .mov to .webm format with this command

    ffmpeg -i input.mov -codec:v libvpx -quality good -cpu-used 0 -b:v 225k -qmin 10 -qmax 42 -maxrate 300k -bufsize 1000k -threads 2 -vf scale=-1:560 -codec:a libvorbis -b:a 128k -pass 2 -f webm output.webm

    but its having an error of :

    Unable to parse option value "-1" as pixel format

    Error setting option pix_fmt to value -1

    and even in command I added some -pix_fmt value like

    1] -pix_fmt yuv420p
    2] -pix_fmt yuv422p
    and many more but still giving same error as I have mentioned...

    and my .mov file is very high HD file.

    please guide me what to write

    Thank You.

  • Tests : Fix newline expectation on Windows

    9 novembre 2016
    Tests : Fix newline expectation on Windows
    

    Closes #622