Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (39)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (3681)

  • Frozen video clips when concatenating mp4 videos using ffmpeg via nodje.js fluent-ffmpeg

    21 novembre 2023, par Rasmus Puls

    I'm trying to write a simple js application that takes all video files in a directory and the produce one single video consisting of all the clips combined one after another into one timeline.

    


    To test the application I have download for random short stock video clips from pexels :
enter image description here
Shown in order : clip 1, clip 2, clip 3, clip 4

    


    Each of the clips plays perfectly in vlc on windows (no broken or frozen frames)

    


    I use the following script to concat the clips :

    


      const ffmpeg = require('fluent-ffmpeg');

  ffmpeg()
    .input(concatFilePath)
    .inputOptions(['-f concat', '-safe 0'])
    .outputOptions(['-c copy', '-c:v libx264', '-b:v 5M', '-r 30', '-preset', 'slow'])
    .on('end', () => {
      console.log('Video clips concatenated successfully.');
    })
    .on('error', (err) => {
      console.error('Error concatenating video clips:', err);

      // Cleanup: Delete the output folder
      console.log('Cleaning up...');
      deleteOutputFolder(outputDir);
    })
    .save(outputPath);


    


    The contect of my concatFilePath (concat.txt) file looks like this :

    


    file src\input\d69de4a3-2b72-462c-be70-f8b8287b45e0\pexels-fred-c-19065853 (Original).mp4
file src\input\d69de4a3-2b72-462c-be70-f8b8287b45e0\pexels-imad-clicks-16270463 (2160p).mp4
file src\input\d69de4a3-2b72-462c-be70-f8b8287b45e0\pexels-peter-fowler-9683061 (2160p).mp4
file src\input\d69de4a3-2b72-462c-be70-f8b8287b45e0\pexels-sascha-5799767 (1080p).mp4


    


    The problem

    


    When I run the program it takes about 15 seconds to render the output video.
The first clip looks as the stock clip, but when I get to the 2nd clip it just sits frozen at the first fram of that video, and only runs for 3-4 seconds despite the stock clip is 8 seconds long. It then transitions into the 3rd clip which is renderd correctly but the rest of the video is frozen on the last frame of clip 3 instead of showing clip 4.

    


    I'm assuming that my input options are to blame for the result of the output, I have tried various other input options suggested from github thread and other sources, but none of them have produces a reasonable result.

    


  • How to effectively kill a frozen subprocess in Python ?

    2 janvier 2014, par Konos5

    I am dealing with a rather odd issue.

    I've written a Python wrapper (in Python 2.6.6) for a year old version of ffmpeg. The problem is that given a very particular video, ffmpeg stops working normally (clunky output, full cpu usage, no end stage etc) and takes the python interpreter down with it.

    Now, if I run ffmpeg with my encoding options directly from a terminal and the problematic video as input, ffmpeg won't immediately respond to Ctrl-c. I'll have to wait for a hefty of 10 seconds or more before it exits and gives me back the prompt. However if I use a 'healthy' video instead, it will simply print Received signal 2: terminating. and gracefully exit.

    In the python wrapper I use p.kill() to no effect. The behavior is exactly the same a.k.a I have to wait 10 sec before the program exits. How can I immediately stop ffmpeg when it freezes with some problematic video ?

    Note that if I do a double Ctrl-c I get the prompt back immediately no matter what.

  • Revision ea74c1d78b : usage.dox : fix encoder/decoder subpage list indent use \li to separate the list

    14 mars 2015, par James Zern

    Changed Paths :
     Modify /usage.dox


     Modify /usage_cx.dox



    usage.dox : fix encoder/decoder subpage list indent

    use \li to separate the list items contained in conditionals. this
    avoids the encode page becoming a sub-item of decode ; likely a problem
    in <1.8.3.
    + fix encoder conditional, spelling error
    + correct encode page name to match decode ’Encoding’

    Change-Id : I67890f52bed8e708bad63fb8819a074e0beff2ca