Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (56)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

Sur d’autres sites (8395)

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

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

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

    24 juin 2017, 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 !