Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (35)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (5539)

  • FFmpeg process finishes writing the file only after closing the program

    20 juin 2024, par The Engineer

    My JavaFX application uses FFmpeg to extract the first frame from a video file in a separate thread and the process ends with a wait. The image is saved to a temporary directory (temp/video_preview.jpg) but becomes available only after the forced termination of the entire program. I need the image for display in ImageView immediately after the FFmpeg process is completed.

    


    @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;

  • How to record a video conference (e.g skype, oovoo, ...) with a program written in C#

    13 août 2014, par Matin Lotfaliee

    I want to record screen (a video conference e.g skype, oovoo, ...) with a program written in C#. I searched a lot about how to do this :

    • Here suggests Windows Media Encoder, but none of their samples work correctly on my Win7. I installed the SDK but even the links to Microsoft are somehow broken or old.
    • Here suggests creating a video stream from a series of screenshots using ffmpeg. but it is probably impossible to keep the audio,mic and screenshots synced.
    • Here suggests creating a GIF file, but it does not support audio which is important to me.
    • Here suggess using Gallio framework, but I was unable to find where the usable DLL for recording is.
    • Here seems to be a great solution but it is not free...

    Compression is not important to me because a video conference uses CPU a lot.

    Can you help me find a good and easy solution with references ?

  • Why does console output "illegal aspect ratio" when program reads a flv file?

    11 décembre 2015, par xiaolan

    I use program to read a flv file. After it executed the avformat_find_stream_info() function, the console outputs some error information. Here is detailed error information.I want to know reasons. In fact, the file with flv format is made by myself. The producing process is : I encode a H.264 packet, then write it into a flv file, including the process of avformat_write_header(flv_ofmt_ctx, NULL),av_interleaved_write_frame(flv_ofmt_ctx, &p->pkt),av_write_trailer(flv_ofmt_ctx)……