Recherche avancée

Médias (91)

Autres articles (94)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6254)

  • No response from FFMPEG from inside php (works in command line)

    28 mai 2020, par Donal.Lynch.Msc

    So I have this executable working fine in a Windows 10 dev environment :

    



    $cmd = 'C:/ffmpeg/bin/ffmpeg.exe -i video.mp4 -i audio.mp3 -c:v copy -c:a aac output.mp4';
exec($cmd, $output)


    



    However when I move it into the Ubuntu staging environment and change the path to :

    



    /usr/bin/ffmpeg


    



    there is no response from it.
The following works in the ubuntu terminal

    



    ffmpeg -v, ffmpeg -i, php -v, ... 


    



    but there is no response from it from inside php.
Am I missing something here ?

    



    I've also tried adding sudo to the above command which seems to make no difference.
(Yes I know I should be developing in the same environment as the staging/prod servers but it's not an option in this specific case).

    


  • FFMPEG split video is not working properly

    12 juillet 2018, par user6250770

    I am trying to split video then into frames. I am passing starting time and ending time dynamically.

    for ex :

    ffmpeg -i /Users/mypc/Documents/Avatar/input.mp4 -ss 00:00:39.799 -t 00:00:42.039  /Users/mypc/Downloads/testing/output.mp4

    It should cut the video from 39th second to 42 second. Approximately 3 seconds. But, it’s splitting more than 3 seconds. I am stuck why it’s behaving like that.

    Am i missing something in my command or anything ?

    Please suggest

    Screen shot of my terminal attached :

    enter image description here

  • How to retrieve FFMPEG (called from OpenCV) Python decoding error

    15 décembre 2020, par user9784065

    While trying to read a video stream form an IP camera using :

    



    stream = cv2.VideoCapture(src)
(grabbed, frame) = stream.read()


    



    The grabbed returns True while sometimes the frames are corrupted (probably due to high CPU load). An internal Opencv error like the following is showing on the terminal :

    



    [h264 @ 0x25e99400] error while decoding MB 87 29, bytestream -5


    



    Is there a way to catch this error ? Please note that I tried the obvious try:except with cv2.error etc. In such case of corrupted frame it would be preferable to restart the connection to the camera.