Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (83)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (7589)

  • Android - Decoding via a pipe will not work : Could not find an ffmpeg binary for your system

    28 août 2017, par Daniele

    I’m trying to use TarsosDSP for real time pitch shifting on Android.

    This is my code :

    Uri song;
    // initialized in another method

    double rate = 1.0;
           RateTransposer rateTransposer;
           AudioDispatcher dispatcher;
           WaveformSimilarityBasedOverlapAdd wsola;

           dispatcher = AudioDispatcherFactory.fromPipe(getRealPathFromUri(song), 44100, 5000, 2500);
           rateTransposer = new RateTransposer(rate);
           wsola = new WaveformSimilarityBasedOverlapAdd(WaveformSimilarityBasedOverlapAdd.Parameters
                   .musicDefaults(rate, 44100));

           wsola.setDispatcher(dispatcher);
           dispatcher.addAudioProcessor(wsola);
           dispatcher.addAudioProcessor(rateTransposer);
           dispatcher.addAudioProcessor(new AndroidAudioPlayer(dispatcher.getFormat()));
           dispatcher.setZeroPadFirstBuffer(true);
           dispatcher.setZeroPadLastBuffer(true);

    I get an error here

    dispatcher = AudioDispatcherFactory.fromPipe(getRealPathFromUri(song), 44100, 5000, 2500);

    Decoding via a pipe will not work : Could not find an ffmpeg binary for
    your system

    Why does this happen and how should I fix it ?

    EDIT :

    As far as I was able to understand it’s because ffmpeg isn’t integrated within the app. I looked for a guide here on SO but I couldn’t find any updated one. Using NDK r15c and FFmpeg 3.3.3

  • Révision 17019 : lorsque le file system fait la difference entre minuscules et majuscules, les pa...

    26 janvier 2011, par cedric@yterium.com

    On traite a l’affichage, mais il faudrait faire remonter ce passage en minuscules a la lecture du plugin.xml meme

  • Unable to run command through Java, but can run it through cmd CreateProcess error=2, The system cannot find the file specified

    4 avril 2020, par Al G Johnston

    I am unable to convert my mp3s to wavs for easier data manipulation using Java. I can open a command prompt and copy the exact string stored in s when I debug and this will properly create the wav file. The code is below. I was able to use ffmpeg by building strings this way to split up a few mp3s into separate tracks based on a tracklist. I reinstalled Windows 10, so I'm assuming it has something to do with that. Is there a setting I have to change ? Why would it run in the command prompt, but not with Java ?

    



    package mp3towav;

import java.io.File;
import java.io.IOException;

public class Mp3towav {

    // mp3 folder
    public static final String MP3FOLDER = "C:\\Users\\Al\\Documents\\Sounds\\PokemonOST\\YellowOST\\MP3";

    public static void main(String[] args) throws IOException {

        // Gets the mp3 files and converts them to wav
        File mp3folder = new File(MP3FOLDER);

        String[] mp3s = mp3folder.list();

        File f;

        String s; 

        for(int i = 0; i < mp3s.length; i++) {
            f = new File(mp3s[i]);
            s = ("ffmpeg -i " + MP3FOLDER + "\\" + f.getName() + " " + (MP3FOLDER + "\\" + f.getName()).replaceAll("MP3", "WAV").replaceAll("mp3", "wav"));
            Runtime.getRuntime().exec(s);
            System.out.println("test");
        }



    }

}


    



    Edit :

    



    So I never got Java to use PATH, but added in the absolute path to the ffmpeg executable in Java.