Recherche avancée

Médias (91)

Autres articles (86)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

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

  • Handling executables dependency on github

    29 juillet 2019, par Max Paython

    I am currently building an open-source project with Python for educational purposes, and I am going to add it on Github. It uses ffmpeg library as 64-bit compiled exe (I am on windows), by calling the executable with command line arguments within the code.

    My question is that, how to handle the situation of other people try to use my code (let’s say customers, even there are none). Because they would also need the ffmpeg executable.

    • Including ffmpeg executable to Github repo (Seems wrong, also would
      fail on multi-platform).
    • Add a dependency control in the beginning of code, informing the users that they should download the executable. (would make the user
      do some work)
    • Creating an installer that stores this file (don’t know how to combine with github)

    In linux, ffmpeg is install-able as a library in itself, adding it as a dependency would work in linux, however in Windows this would require adding installed directory to PATH (if installed, instead of copy-pasted near the code). Some more work for the user.

    ffmpeg is just an example. I am also curious about this using other compiled binaries (if there is another method of using these projects, I am open to suggestions).

    I also included ffmpeg and Python as tags just in case these tools supply guidance in these situations (couldn’t find on internet, or did not know where to look).

  • How to install ffmpeg using xampp

    28 avril 2014, par Paul Ledger

    I am trying to install ffmpeg onto my localhost server. I have followed countless blogs and tutorials online form other people who are stuck with this same problem. I follow everything to the letter.

    1. Unzip the file
    2. Copy php_ffmpeg.exe to ext folder in php
    3. copy the rest to system 32

    As it says however when I do this I get this error when I start apache.

    error message

    Fair play but it is in the folder

    Here is my file

    I also get this error as well :

    Second error

    And Again, here it is :
    second file placement

    I have added the extention to my php.ini file

    extension=php_ffmpeg.dll

    The first time I go this to work I placed the ffmpeg.exe file onto my local host server and ran commands like this :

    $cmd = "$ffmpegpath -i $input -an -ss $sec -s $size $output";
    shell_exec($cmd);

    This works fine on my computer but not on an actual server. Could somebody offer some advice or guidene on where I have one wrong installing the extension or why running the .exe file on a lunix server with shell_exec doesn’t work

  • Smartly concatenating gopro mp4 files - file-001.mp4 + file-002.mp4

    12 décembre 2017, par molly78

    Hello much smarter than me people out there...

    I have a folder of GoPro files which I have already renamed using this awesome utility : https://github.com/kcha/gopro_renamer

    However, I now have a folder of 110 files which should make up about 50 continuous videos...

    Some of which have only filename-001.mp4 parts, some are filename-001.mp4 and filename-002.mp4 parts. It could go on an on to say 10 parts per video, for argument sake.

    I’d like to get a hand with a script that would scan the folder and then join all the parts together into a new file.

    In windows 10 I know I can do a simple

    copy /b "C:\Filename-001.mp4" + "C:\Filename-002.mp4" Filename.mp4

    Just a bit lost how to loop thru this scenario with a (python is fine) script. I do not wish to re-encode them, simply join the parts that correspond to the base filename.

    So go from files looking like

    filename1-001.mp4 - 87 MB
    filename2-001.mp4 - 100 MB
    filename2-002.mp4 - 100 MB
    filename2-003.mp4 - 22 MB
    filename3-001.mp4 - 100 MB
    filename3-002.mp4 - 34 MB

    after concatenating the parts it would look like :

    filename1.mp4 - 87 MB (nothing done other than rename)
    filename2.mp4 - 222 MB (all joined)
    filename3.mp4 - 134 MB (all joined)

    Your help is greatly appreciated.