Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (102)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • CANNOT LINK EXECUTABLE error with required libs loaded. How to link them properly ? [duplicate]

    4 avril 2013, par dentex

    edit : I'm aware of the possible duplicate, but the answer it's not directly applicable. I'm using ProcessBuilder and not Runtime.getRuntime().exec :

    public int execProcess(List<string> cmds, ShellUtils.ShellCallback sc) {    
       StringBuilder cmdlog = new StringBuilder();
       for (String cmd : cmds) {
            cmdlog.append(&#39; &#39;);
       }
       Utils.logger("v", cmdlog.toString(), DEBUG_TAG);

       ProcessBuilder pb = new ProcessBuilder();
       pb.directory(mBinFileDir);
       pb.command(cmds);

       Process process = null;
       int exitVal = 1; // Default error
       try {
           process = pb.start();

           StreamGobbler errorGobbler = new
           StreamGobbler(process.getErrorStream(), "ERROR", sc);

           StreamGobbler outputGobbler = new
           StreamGobbler(process.getInputStream(), "OUTPUT", sc);

           errorGobbler.start();
           outputGobbler.start();

           exitVal = process.waitFor();

           sc.processComplete(exitVal);

        } catch (Exception e) {
            Log.e(DEBUG_TAG, "Error executing ffmpeg command!", e);
        } finally {
            if (process != null) {
                Utils.logger("w", "destroyng process", DEBUG_TAG);
                process.destroy();
            }
       }
       return exitVal;
    }
    </string>

    I have two versions on FFmpeg compiled for android : with and without liblame enabled.

    When I load in /data/data/&lt;>/app_bin/ the FFmpeg binary compiled with NO lame support, it extracts audio from video without an issue. But when I use the one with lame support enabled, I get the error below into the log.

    Required libs, also compiled for android, are correctly loaded when shipped into the libs project folder with System.loadLibrary("lame").

    I was wondering if there is something else to do in order to properly make the FFmpeg binary find the libs.
    Those are the same libs given to the NDK to build the FFmpeg binary.

    D/dalvikvm(13741): Trying to load lib /data/app-lib/&lt;>/liblame.so 0x40ffed08
    D/dalvikvm(13741): Added shared lib /data/app-lib/&lt;>/liblame.so 0x40ffed08
    D/dalvikvm(13741): No JNI_OnLoad found in /data/app-lib/&lt;>/liblame.so 0x40ffed08, skipping init
    D/FfmpegController(13741): Trying to chmod &#39;/data/data/&lt;>/app_bin/ffmpeg&#39; to: 755
    V/FfmpegController(13741): /data/data/&lt;>/app_bin/ffmpeg -y -i /storage/sdcard0/Download/video.webm -vn -acodec copy /storage/sdcard0/Download/audio.ogg
    >>>>>> ---------- &lt;&lt;&lt;&lt;&lt;&lt;
    D/DownloadsService(13741): soinfo_link_image(linker.cpp:1673): could not load library "liblame.so" needed by "/data/data/&lt;>/app_bin/ffmpeg"; caused by load_library(linker.cpp:771): library "liblame.so" not foundCANNOT LINK EXECUTABLE
    >>>>>> ---------- &lt;&lt;&lt;&lt;&lt;&lt;
    I/DownloadsService(13741): FFmpeg process exit value: 255

    I'm not attaching code because it's fairly straightforward :

    • download the FFmpeg binary (it's not shipped with the app) ;
    • copy the binary from the download folder to /data/data/&lt;>/app_bin/ ;
    • chmod 755 ;
    • execute from there and read the output.

    Please comment if something else is required.

  • evrcdec : fix sign error

    4 mai 2013, par Michael Niedermayer
    evrcdec : fix sign error
    

    The specification wants round(abs(x))) * sign(x) which is
    equivakent to round(x)

    Fixes out of array access

    Found-by : Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/evrcdec.c
  • lavf/matroskaenc : return an error for unsupported types.

    29 avril 2013, par Nicolas George
    lavf/matroskaenc : return an error for unsupported types.
    
    • [DH] libavformat/matroskaenc.c