Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (73)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (6666)

  • ffmpeg permission denied though the user has permission

    12 octobre 2014, par codename_subho

    I have installed ffmpeg in my server running ubuntu 14. my flask app project root is at /var/www/project/
    i am able to upload files and my python scripts are able to write new files, but when i run ffmpeg in my script it gives permission denied.
    Also running the below line in terminal

    ffmpeg -i path/to/inputfile /path/to/outputfile & ps aux | grep ffmpeg

    gives the user running the process is "ubuntu" which has write access to the project folder and its subfolders. As i told you other python script run by user "ubuntu" is able to create file.

    permission denied error happens in both cases(python script and directly in terminal)

    update :
    also looking at the confusion with the permissions, is there a way i can run the app from /home/ubuntu/project instead of /var/www/project. i am using mod_wsgi with apache for my flask-app.

  • what is the exact path to specify in php for ffmpeg for windows

    17 janvier 2014, par user3196597

    i'm new to ffmpeg..and i've been trying to figure out the exact path to specify while running it in a php exec() function the code below runs fine in terminal but not in php :

      1)c:/ffmpeg/bin/ffmpeg -y -i c:/xampp/htdocs/video/media/original.mp4 -f avi c:/xampp/htdocs/video/media/new.avi 2<&1


      2)c:/xampp/htdocs/video/ffmpeg/bin/ffmpeg.exe -y -i c:/xampp/htdocs/video/media/original.mp4 -f avi c:/xampp/htdocs/video/media/new.avi 2<&1

    that works fine in terminal but not in php, i think the problem is with the path specification..can anyone tell the exact path to use while working in windows,please ??

    thanks in advance friends :D

  • Unable to run a program in PATH from Java code

    17 novembre 2012, par user1831004

    I am developing a Red5 media server application on a Mac (Dynamic Web Project in Eclipse). The app has to invoke FFMPEG to convert the video to a different format.

    I added "/Applications/FFMPEG" to PATH variable by running the following command in Terminal :

    echo 'export PATH=/Applications/FFMPEG:$PATH' >> ~/.profile

    When I invoke FFMPEG from terminal, it works fine. However, every time I run it from Java code with :

    Process p = Runtime.getRuntime().exec("ffmpeg");
    p.waitFor();

    I get the following error :

    Cannot run program "ffmpeg": error=2, No such file or directory

    I thought this might be a security limitation specific to the type of project, but even a simple Java program produces the same result. What am I missing ?


    Changing "ffmpeg" to full path of the application works, but I don't want to upload FFMPEG into the same directory as Red5 on a production server.