Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (94)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (5478)

  • FFMpeg is not working to generate thumbnail but it converts mp4 to mp3

    30 novembre 2019, par user3090994

    I have installed ffmpeg and path is correct, because when i go to convert mp4 video to mp3, it works. here is its code.

    shell_exec('/home/pakunit/ffmpeg/ffmpeg -i newfile.mp4 output4.mp3');

    even this code is also works for cut a video from mp4 to mp4 using this code

    shell_exec("/home/pakunit/ffmpeg/ffmpeg -i newfile.mp4 -ss 00:00:00 -t 00:00:10 -async 1 -c copy cut.mp4");

    and when I use mostly other commands, no command works, Like i want to create video thumbnail and i am using this code.

    shell_exec("/home/pakunit/ffmpeg/ffmpeg -i newfile.mp4 -an -ss 5 -s 120x90 thumbnail.jpg")

    but its not working. also i tried many codes and command for creating thumbnail, but not working any of them. even i used the exact same command that is on ffmpeg.org original website

    shell_exec("/home/pakunit/ffmpeg/ffmpeg -i newfile.mp4 -vf thumbnail,scale=300:200 -frames:v 1 out.png");

    Is any extension missed in hosting ? or any special extension or module we need to enable from hosting ? there is also ffmpeg enabled in PHP extension, but not showing in phpinfo() ; Please help. thanks

  • How to specify start and end frames when making a video with ffmpeg

    29 mai 2023, par supercool

    I am working with python in a jupyter notebook, and I am trying to use ffmpeg to specify the start and end images and convert several images from a folder into a single video. I have a folder, 'images', with the images inside labeled, 'image0', 'image1', 'image2', etc. I would like to specify the start and end images in my video. For example, I would like to be able to make the video using 'image100', to 'image200'. Right now, I have :

    


    !/home/jovyan/ffmpeg-dir/ffmpeg -i /home/jovyan/images/image%d.bmp -frames:v 1000 /home/jovyan/output.mp4


    


    This is making the video correctly, but I believe it is just taking the first 1000 images.

    


    Thanks !

    


  • Linux use a filename to derive parameters from

    5 avril 2017, par JoAnywhere

    I am using raspbian for a project.

    Here is my situation. I’m creating three files :

    1. a wav file with a filename format of [date_and_timestamp].wav.
    2. an avi file with a filename format of [date_and_timestamp].avi.
    3. a file with the name marker_[date_and_timestamp]

    The value of [date_and_timestamp] is consistent across all three files.

    What I want to do is look for all files starting with marker_, get the [date_and_timestamp] portion and use it to pass as a parameter to ffmpeg to combine the two files (i.e. ending up with a command that looks like

    ffmpeg -i /home/motion/[date_and_timestamp].avi -i /home/motion/[date_and_timestamp].wav /home/motion/[date_and_timestamp].mp4

    Given how powerful sh is, I know there will be a way, but I am far to n00bish to know what it is.

    The square brackets are there for clarity. They do not appear in the filenames.