Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (58)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10545)

  • fate : Don’t use files from SRC_PATH in the actual tests

    20 mai 2013, par Martin Storsjö
    fate : Don’t use files from SRC_PATH in the actual tests
    

    If building out of tree, make sure the filter scripts are copied
    into the build tree before running tests. This makes sure that
    SRC_PATH doesn’t need to exist on the remote system (or doesn’t
    need to exist at the same path).

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] tests/Makefile
    • [DBH] tests/fate/filter-audio.mak
    • [DBH] tests/fate/filter-video.mak
  • JavaFX : ffmpeg process finishes writing the file only after closing the program

    16 juin 2024, par The Engineer

    My JavaFX application uses ffmpeg to extract the first frame from a video file. The ffmpeg command is run in a separate thread, and the process ends with a wait. However, despite the fact that the image is saved to a temporary directory (temp/video_preview.jpg ), it becomes available only after the forced termination of the entire program, and not immediately after the completion of the ffmpeg process. I need the image to be available for display in ImageView immediately after the ffmpeg process is completed.
    &#xA;https://github.com/Memory420/GifConverter/tree/master

    &#xA;

    I expected the ffmpeg process to quickly create a picture and I would apply it where I need it.

    &#xA;

    @FXML&#xA;    private void onDragOver(DragEvent event) {&#xA;        if (event.getDragboard().hasFiles()) {&#xA;            event.acceptTransferModes(TransferMode.ANY);&#xA;        }&#xA;    }&#xA;&#xA;    @FXML&#xA;    private void onDragDropped(DragEvent event) {&#xA;        Dragboard db = event.getDragboard();&#xA;        boolean success = false;&#xA;        if (db.hasFiles()) {&#xA;            List<file> files = db.getFiles();&#xA;            File videoFile = files.get(0);&#xA;            Image image = extractFirstFrameFromVideo(videoFile.getAbsolutePath());&#xA;            mainImage.setImage(image);&#xA;            success = true;&#xA;        }&#xA;        event.setDropCompleted(success);&#xA;        event.consume();&#xA;    }&#xA;</file>

    &#xA;

    private Image extractFirstFrameFromVideo(String pathToVideo) {&#xA;        try {&#xA;            ProcessBuilder processBuilder = new ProcessBuilder(&#xA;                    ffmpegPath,&#xA;                    "-y",&#xA;                    "-ss", "00:00:00",&#xA;                    "-i", pathToVideo,&#xA;                    "-frames:v", "1",&#xA;                    outputFilePath  // "temp/video_preview.jpg"&#xA;            );&#xA;&#xA;            Process process = processBuilder.start();&#xA;&#xA;            int exitCode = process.exitValue();&#xA;            if (exitCode != 0) {&#xA;                throw new IOException("ffmpeg process exited with error code: " &#x2B; exitCode);&#xA;            }&#xA;&#xA;            return new Image(new File(outputFilePath).toURI().toString());&#xA;&#xA;        } catch (IOException e) {&#xA;            throw new RuntimeException(e);&#xA;        }&#xA;    }&#xA;

    &#xA;

  • Remove obsolete version.h inclusions

    11 juin 2021, par Andreas Rheinhardt
    Remove obsolete version.h inclusions
    

    These have mostly been added because of FF_API_* ; yet when these were
    removed, removing the header has been forgotten.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/blockdsp.c
    • [DH] libavcodec/blockdsp.h
    • [DH] libavcodec/codec_desc.c
    • [DH] libavcodec/error_resilience.c
    • [DH] libavcodec/mpegutils.h
    • [DH] libavcodec/utils.c
    • [DH] libavfilter/formats.h
    • [DH] libavformat/hlsproto.c
    • [DH] libavutil/aes.h
    • [DH] libavutil/aes_ctr.h
    • [DH] libavutil/buffer.h
    • [DH] libavutil/crc.h
    • [DH] libavutil/dict.h
    • [DH] libavutil/hash.h
    • [DH] libavutil/hmac.c
    • [DH] libavutil/hmac.h
    • [DH] libavutil/lls.c
    • [DH] libavutil/lls.h
    • [DH] libavutil/log.h
    • [DH] libavutil/mathematics.c
    • [DH] libavutil/md5.h
    • [DH] libavutil/murmur3.h
    • [DH] libavutil/opt.h
    • [DH] libavutil/pixdesc.c
    • [DH] libavutil/pixdesc.h
    • [DH] libavutil/ripemd.h
    • [DH] libavutil/sha.h
    • [DH] libavutil/sha512.h
    • [DH] libavutil/tree.h