Recherche avancée

Médias (91)

Autres articles (102)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (9162)

  • FFMPEG PHP - Converting gif to mpeg

    15 août 2014, par Kyle Goodrich

    I’d like to create a simple script that converts gifs to mpegs using FFMPEG PHP. The script works when using FFMPEG in terminal. When I use a similar script using FFMEG PHP and host it on my domain, the script converts the gif to an mpeg, but only converts one frame of it. This is strange because the FFMPEG line of code that is responsible for the conversion is essentially the same line used previously in terminal. I’ve made sure that my web host (cirtex) has FFMPEG installed in their server. Also, I made sure to edit my php.ini file for FFMPEG use.

    The script I created consists of two parts - uploader.php and uploader_02.php.

    uploader.php is a simple submit form, where the user uploads and submits a gif.

    uploader_02.php receives the gif and copies it over to another directory on the server. Then, the script applies the FFMPEG conversion to the saved gif.

    Here’s are the lines of php that are responsible for the conversion :

    <?php
    // ffmpeg
    $ffmpeg = "/usr/bin/ffmpeg";
    $videoFile = "test_videos/" . $name;
    $output = "test_videos/instagram.mpg";
    $cmd = "$ffmpeg -i $videoFile -vb 5M -y $output";
    exec($cmd);  
    ?>

    For some reason, only one frame of the gif is converted into mpeg format. Not sure what is causing this problem.

    Any information regarding this issue will help out a lot.

  • How to record a video conference (e.g skype, oovoo, ...) with a program written in C#

    13 août 2014, par Matin Lotfaliee

    I want to record screen (a video conference e.g skype, oovoo, ...) with a program written in C#. I searched a lot about how to do this :

    • Here suggests Windows Media Encoder, but none of their samples work correctly on my Win7. I installed the SDK but even the links to Microsoft are somehow broken or old.
    • Here suggests creating a video stream from a series of screenshots using ffmpeg. but it is probably impossible to keep the audio,mic and screenshots synced.
    • Here suggests creating a GIF file, but it does not support audio which is important to me.
    • Here suggess using Gallio framework, but I was unable to find where the usable DLL for recording is.
    • Here seems to be a great solution but it is not free...

    Compression is not important to me because a video conference uses CPU a lot.

    Can you help me find a good and easy solution with references ?

  • Revision 71650 : ce formulaire ne poste pas de fichier, pas besoin de enctype ...

    5 avril 2013, par brunobergot@… — Log

    ce formulaire ne poste pas de fichier, pas besoin de enctype multipart/form-data