Recherche avancée

Médias (91)

Autres articles (81)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (7842)

  • 3 million downloads for Piwik Analytics

    11 janvier 2017, par Matthieu Aubry — Community

    A testament to the power of our mission statement…

    “To create, as a community, the leading international open source digital analytics platform, that gives every user full control of their data.”

    … Piwik has been downloaded more than 3 million times !

    Piwik is the most popular open analytics platform

    Piwik is the number one most popular open analytics platform, used on more than 1 million websites in 200 different countries, and the 7th overall most popular analytics tool.

    Together we can make Piwik even better !

    Piwik is a community project. We are so proud of what we have created and would love your help too ! Help us by filling in our community survey (takes just 5 minutes !), by getting involved or becoming a sponsor.

    Thank you so much for using Piwik and respecting privacy while keeping control of your data.

    Happy Analytics !

  • Error opening filters : Running ffmpeg through Groovy and ProcessBuilder

    30 octobre 2016, par smeeb

    This question involves the popular Linux media processing utility "ffmpeg", but I think its really a Java 8 ProcessBuilder question at its core. Or possibly an issue w/ Groovy GStrings.

    The ffmpeg command to split an MP4 video into frames/images based on a sampling rate is :

    ffmpeg -i /some/path/to/video.mp4 -vf "select=not(mod(n\,${samplingRate}))" -vsync vfr -q:v 2 img_%d.jpg

    Where ${samplingRate} is a positive integer and represents the number of frames to skip in between creating each frame. So for instance, if you had a video with 430 frames in it, and wanted to sample every 50th frame, your command would be :

    ffmpeg -i /some/path/to/video.mp4 -vf "select=not(mod(n\,50))" -vsync vfr -q:v 2 img_%d.jpg

    Which would then create 8 (or maybe 9, not gonna do the math for a pretend example) JPG files called img_1.jpg, img_2.jpg, ...etc. The first image would be the 50th frame in the video. The second image would be the 100th frame, etc. I have ran the above command directly from a terminal and confirmed that it is correct and succeeds without errors.

    I have a Groovy app, and am trying to run this ffmpeg command via a Java 8 ProcessBuilder, and am having issues with the select= argument. Currently I have :

    int numSamples = 50
    Process frameSamplerProc = new ProcessBuilder(
       'ffmpeg',
       '-i',
       "/home/myuser/some/path/to/video.mp4",
       '-vf',
       "\"select=not(mod(n\\,${numSamples}))\"",
       '-vsync',
       'vfr',
       '-q:v',
       '2',
       'sample%d.jpg'
    ).redirectErrorStream(true).start()

    frameSamplerProc.inputStream.eachLine { fsamplerLine ->
       println(fsamplerLine)
    }

    When I run thise code, I don’t get any errors, but I do see errors in ffmpeg’s output :

    ffmpeg version N-81995-gd790e48 Copyright (c) 2000-2016 the FFmpeg developers
    // Omitting the next ~50 lines of output as it all looks normal

    Metadata:
     creation_time   : 2016-10-27T20:20:01.000000Z
     handler_name    : SoundHandle
    [AVFilterGraph @ 0x3eddc80] No such filter: '"select'
    Error opening filters!

    I’m wondering if I’m not escaping the select argument properly or if I’m passing in a bad array to the ProcessBuilder. Can anybody spot where I’m going awry ?

  • ffmpeg - Making a Clean WAV file

    24 septembre 2016, par Edward

    I’m looking to batch convert a number of files to audio files using ffmpeg for a game called Star Wars: Jedi Knight: Dark Forces II. The problem I’m having is that ffmpeg seems to be doing something that does so that Jedi Knight can’t play the sound file.

    Jedi Knight accepts plain old PCM WAV files of various ranges, from 5khz to 96khz, 8 and 16 bit, mono and stereo. This sounds plain and simple. Except for that if one were to create a WAV file using MS Sound Recorder, Jedi Knight could not play it. Speculation was that it added something extra to header or something. But it can play a WAV file created by Audacity, GoldWave or ModPlug Tracker to name a few.

    So why not ffmpeg ? Am I using the wrong codec or params ? I took an original sound file from the game and performed the following :

    ffmpeg -i "orig_thrmlpu2.wav" -f wav -acodec pcm_s16le -ar 22050 -ac 1 "ffmpeg_thrmlpu2.wav"

    The ffmpeg version does not play in the game. ffprobe shows that the ffmpeg version has some Metadata which the original doesn’t have. What params should I use to try and get the same WAV format as the original ? Mind you, -ar, -ac and bits aren’t the important parts.

    Here are the files for you to examine : http://www.edwardleuf.org/Games/JK/thrmlpu2.zip