Recherche avancée

Médias (91)

Autres articles (50)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Anomalie #3952 : Supprimer numero doit se faire apres le traitement typo

    29 mai 2017, par cam.lafit -

    Je complète en notant que du coup l’exemple fourni dans la documentation est aussi erronée
    https://programmer.spip.net/declarer_tables_interfaces,379

    La suppression du numéro se fait avant traitement typo

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

    10 mars 2019, 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.

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