Recherche avancée

Médias (1)

Mot : - Tags -/livre électronique

Autres articles (51)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (4359)

  • ffmpeg : overlay video on top of a cropped video, map the overlay audio, cut the base video to the overlays length

    14 mars 2023, par roku

    I'm trying to overlay a video on top of a base video which is cropped to a shorts video format (standing phone). The overlayed video should be centered on top of the base layer. The base video's length should be reduced to the overlay's length. And I want to save only the overlay's audio.

    


    I've tried a bunch of stuff without much success. The current state of my ffmpeg command is this :

    


    ffmpeg -i overlay.mp4 -ss 00:00:00 -to <insert base="base"> -i base.mp4 -map 1:v:0 -map 1:a -vf "crop=ih*(9/16):ih" -crf 21 output.mp4&#xA;</insert>

    &#xA;

    But this only gives me the cropped version of the base video. So my questions are :

    &#xA;

      &#xA;
    1. How can I figure out the base video's length ?
    2. &#xA;

    3. How can I actually overlay (not map) other video on top of the base video ?
    4. &#xA;

    5. How can I map the overlay's audio ? Since -map 1:a the base's audio and -map 0:a says : "Stream map '0:a' matches no streams. To ignore this, add a trailing ' ?' to the map."
    6. &#xA;

    &#xA;

    Any help is appreciated.

    &#xA;

  • How to extract video clip from larger video based on specific time and duration

    26 juillet 2022, par user19019404

    I have video clips that get created. Each video is recorded for 5 minutes and starts at a time e.g. 10:01:20 to 10:06:19 then the next video from 10:06:20 etc. These videos are recorded at a specific frame rate, be it 5 frames or 30 frames (its dependent on the platform making the recording). The net result is NOT a 5 minute video clip but might be a 2 minute video clip (where everyone moves very quickly in the view as a result of the frame rates). I cannot restrict a 1 to 1 recording as these are generated by external systems.

    &#xA;

    I need to extract specific portions out of the video. For example I need to extract from 10:03:10 to 10:03:35 (25 seconds). This would equate to 10 seconds into the video up to 14 seconds into the video, in those 4 seconds of video, 25 real world seconds are displayed.

    &#xA;

    My question is do you have any guidance as to how I can calculate that each second of recording actually means 10 or 12 seconds in real life, therefore go to this frame and record to this frame for example.

    &#xA;

    I have been looking at cv2.CAP_PROP_FPS to get the video frame rates, CAP_PROP_POS_MSEC and CAP_PROP_FRAME_COUNT and believe the answer might lie there, but not sure.

    &#xA;

    The thinking being if I work out the frame rate of the video, the total frames then I can divide the one by the other to get to how many frames make up real world seconds (this is where I fail). This way I can run from frame to frame as a result.

    &#xA;

    Thank you

    &#xA;

  • Anomalie #2307 : md5_boutons_plugins()

    21 juillet 2014, par marcimat ☺☮☯♫

    Et les traces pour voir plus clairement les 2 créations du même define (_UPDATED_boutons_plugins) :

    Premier passage (constante non définie)

    array (size=5)
      0 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 636
          ’function’ => string ’plugin_ongletbouton’ (length=19)
      1 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 530
          ’function’ => string ’plugins_precompile_xxxtions’ (length=27)
      2 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 431
          ’function’ => string ’ecrire_plugin_actifs’ (length=20)
      3 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc_version.php’ (length=58)
          ’line’ => int 391
          ’function’ => string ’actualise_plugins_actifs’ (length=24)
      4 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/index.php’ (length=52)
          ’line’ => int 21
          ’function’ => string ’include’ (length=7)
    

    Second passage (constante déjà définie)

    array (size=5)
      0 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 636
          ’function’ => string ’plugin_ongletbouton’ (length=19)
      1 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 530
          ’function’ => string ’plugins_precompile_xxxtions’ (length=27)
      2 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/inc/plugin.php’ (length=57)
          ’line’ => int 431
          ’function’ => string ’ecrire_plugin_actifs’ (length=20)
      3 => 
        array (size=4)
          ’file’ => string ’[...]spip/plugins-dist/svp/exec/admin_plugin.php’ (length=74)
          ’line’ => int 52
          ’function’ => string ’actualise_plugins_actifs’ (length=24)
      4 => 
        array (size=4)
          ’file’ => string ’[...]spip/ecrire/index.php’ (length=52)
          ’line’ => int 151
          ’function’ => string ’exec_admin_plugin_dist’ (length=22)