Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (98)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (9653)

  • How to run one script after another in Apple Script

    19 juillet 2015, par mskx4

    I’m trying with Apple Script to run three different scripts that would alow me to :

    1. Convert a purchased m4a file into an "anonymized" m4a file and extract its artwork (with ffmpeg)
    2. Attach the artwork to the file previously converted, since the converted file won’t maintain its artwork (with AtomicParsley)
    3. Remove the artwork from his path

    I don’t have any kind of programming knowledge, I’ve collected different script from the web and tried to make an app that could do these 3 simple task :

    on open argv
      set paths to ""
      repeat with f in argv
          set paths to paths & quoted form of POSIX path of f & " "
      end repeat
      tell application "Terminal"
           do script "for f in " & paths & "; do ffmpeg -i \"$f\" -acodec copy -y \"$f\" output.jpg; done"
           activate
           do script "for f in " & paths & "; do AtomicParsley \"$f\" --artwork output.jpg; done"
           activate
           do script "rm output. jpg"
           activate
      end tell
    end open

    The problem is that, when I drop a file on the app, it opens three terminal windows at once and it runs the three tasks in the same time, with the obvious result that the conversion fails : the first task overwrites the input file, and the second script should use the output of the first one as its input file. So I need the three scripts to be executed successively, one after another.

  • Using FFMPEG in Java (developing on Mac)

    1er mai 2012, par Luuk D. Jansen

    I am trying to evoke FFMPEG directly in my Java code (running under the Playframework !).
    The final product will run on a Linux/Debian distro, but I first need to test on my Mac (I don't know if it works on Debian yet).

    I try to execute the simple code :

    Process pr = Runtime.getRuntime().exec(new String[]{"bash","-c", "ffmpeg"});

    or simpler :

    Process pr = Runtime.getRuntime().exec("ffmpeg")

    or using ProcessBuilder :

    Process pr = new ProcessBuilder("/opt/local/bin/ffmpeg").start();

    What I get is an error code 133, but I cannot find what this means.
    In the terminal the command gives the normal output. I can also replace 'ffmpeg' with e.g. 'ls -la' and get the directory listing. But I don't know what the problem is that ffmpeg does not work.

    Anybody any clues ?
    Thanks !

    UPDATE :
    I looked at the error stream. These are the errors I get. How is it that it works in the terminal, but not in using Java ?

    14:43:19,619 DEBUG ~ FFMPEG: dyld: Library not loaded: /opt/local/lib/libogg.0.dylib
    14:43:19,619 DEBUG ~ FFMPEG:   Referenced from: /opt/local/bin/ffmpeg
    14:43:19,619 DEBUG ~ FFMPEG:   Reason: Incompatible library version: ffmpeg requires version 9.0.0 or later, but libogg.0.dylib provides version 6.0.0
  • 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.