Recherche avancée

Médias (91)

Autres articles (101)

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

  • ffmpeg fails exporting in batch file, but works on terminal [closed]

    16 mai 2021, par davidlao

    I'm trying to make it so when my program finishes making JPGs, it converts to MP4. A screen recorder, basically.

    


    Before you ask me, yes, my JPGs are named 1, 2, 3... and so on for each frame.

    


    Everything is fine, except for one thing. Whenever I run ffmpeg to export through the terminal, it works like a charm, but whenever i run ffmpeg through a batch file, it throws this error which i do not understand at all :

    


    v: No such file or directory


    


    In case anyone needs my batch code, here it is :

    


    @echo off
color 1e
title Exporting...
echo Exporting FFMPEG video, please wait
cd /D %~dp0
ffmpeg.exe -nostdin -i %d.jpg -c:v libx264 -vf "fps=10,format=yuv420p" out.mp4
echo Done.
pause
exit


    


    By the way, yes, "ffmpeg.exe" exists and runs, but only exports without errors when ran via terminal.

    


  • pyinstaller and moviepy, ffmpeg works from terminal but not from finder

    12 novembre 2014, par Todd

    I am packaging python using pyinstaller 2.1 on OSX Mavericks. I have done this successfully in the past, but this is my first package that uses moviepy and ffmpeg. I use the following import :

    from moviepy.video.io import ffmpeg_reader

    Without this line in the code, everything works fine and I can launch my final package from its icon in finder. With the moviepy import, it will work if I launch from the terminal like this :

    open ./myapp.app

    but it will not open if I click on the icon from finder (opens quickly and crashes). I am assuming this has something to do with paths or environment variables that are set in terminal, but are not transferred to my packaged app. I have tried various hidden imports in pyinstaller for moviepy and its dependencies, but nothing seems to work. —debug mode hasn’t provided much info to track it down. Any other ideas ?

    Thanks !

  • exec(ffmpeg) is not executing in php but will in terminal ?

    14 août 2017, par D. Henry

    i have a website that allows users to upload videos and I have VPS server with ffmpeg installed, safe mode is off and have tested command in my terminal and it works however in php script when i try and run the command in exec() or even shell_exec() it does not execute. below is my code (changed some variables for privacy).

    $video_name = $_FILES["post_vid"]["name"];
    $Vurl = "/folder1/folder2/$vrand_file_name/$video_name";
    $VnewName = $vrand_vid_name .".mp4";
    $VurlNew = "/folder1/folder2/$vrand_file_name/$VnewName";
    $convertold = "/home/user/directory/domain.com/$Vurl";
    $convertNew = "/home/user/directory/domain.com/$VurlNew" ;
    $ffmpegC = "/user/local/bin/ffmpeg";
    exec($ffmpegC.' -y -i "'.$convertold.'" -f mp4 "'.$convertNew.'"');

    I have the code just after a move_uploaded_file() which runs fine.
    also checked and my php is using the same user as my terminal...
    any insight to this would be fantastic, thanks in advance.