Recherche avancée

Médias (91)

Autres articles (55)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (9044)

  • random_seed : Rewrite the generic clock() based seed code

    11 juin 2012, par Michael Niedermayer
    random_seed : Rewrite the generic clock() based seed code
    

    The new code is faster and reuses the previous state in case of
    multiple calls.

    The previous code could easily end up in near-infinite loops,
    if the difference between two clock() calls never was larger than
    1.

    This makes fate-parseutils finish in finite time when run in wine,
    if CryptGenRandom isn’t available (which e.g. isn’t available if
    targeting Windows RT/metro).

    Patch originally by Michael Niedermayer but with some modifications
    by Martin Storsjö.

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

    • [DH] libavutil/random_seed.c
  • How to combine/concatenate videos stored in AWS S3 bucket based on title of the file name

    9 juin 2020, par orangecube

    I am using a service that allows me to record videos that get automatically pushed to a folder (submissions) in an S3 bucket. There are multiple videos however they need to be grouped together and concatenated so the output is one video per group.

    &#xA;&#xA;

    So, basically, any tips on how I can take videos based on the title and stitch them together ?

    &#xA;&#xA;

    Example :

    &#xA;&#xA;

    Submissions folder will have :

    &#xA;&#xA;

    a-100-2.mp4&#xA;a-200-6.mp4&#xA;b-123-5.mp4&#xA;

    &#xA;&#xA;

    Expected output in processed folder :

    &#xA;&#xA;

    a.mp4     - (both &#x27;a&#x27; videos get stitched together)&#xA;b.mp4     - (only &#x27;b&#x27; gets sent over since there is only one video.)&#xA;

    &#xA;&#xA;

    Thanks in advance !

    &#xA;&#xA;

    Edit : Some additional and detailed information below if it helps.

    &#xA;&#xA;

    The files will be labeled with :&#xA;name-location-video_token-stream_token.mp4

    &#xA;&#xA;

    Need help creating a script or process that will concatenate the videos using the procedure outlined below :

    &#xA;&#xA;

    Processing rules (back end) :

    &#xA;&#xA;

      &#xA;
    1. Check if videos have same video_token in ‘submissions folder’. If so, keep the newest one and delete old ones.

    2. &#xA;

    3. Take all videos in ‘submissions folder’ with same name and location in title and concatenate the videos. Save output video to a new folder in the bucket labeled as the location for the folder name. &#xA;Output file name : &#xA;name-location-year.mp4.

    4. &#xA;

    &#xA;&#xA;

    EXAMPLE :

    &#xA;&#xA;

    Submissions folder :&#xA;joey-toronto-001-354.mp4

    &#xA;&#xA;

    joey-toronto-001-241.mp4 - this will be deleted

    &#xA;&#xA;

    joey-toronto-103-452.mp4

    &#xA;&#xA;

    alex-montreal-352-232.mp4

    &#xA;&#xA;

    alex-montreal-452-223.mp4

    &#xA;&#xA;

    Resulting output :

    &#xA;&#xA;

    Toronto folder :

    &#xA;&#xA;

    Joey-toronto-2020.mp4

    &#xA;&#xA;

    Montreal folder :

    &#xA;&#xA;

    Alex-montreal-2020.mp4

    &#xA;

  • Scale watermark in ffmpeg based on video size [duplicate]

    24 octobre 2016, par user3600338

    This question already has an answer here :

    I have a folder with videos, all with different resolutions. The goal is to add a watermark on them, which I’ve successfully been able to done using this batch script :

    for %%I IN ("C:\path\input\*.flv") DO ffmpeg.exe -i "%%I" -i "watermark.png" -filter_complex "overlay=W-w-5:5" -qscale 1 C:\path\output\%%~nI.avi"

    The problem is that the size of the watermark changes a lot based on the video resolution. I’ve understood that I should use one -filter_complex with both scale and overlay, but I don’t get it to work. I want something like this :

    -filter_complex "scale=main_w*0.3:-1 ; overlay=W-w-5:5"

    To clarify, I want the watermark to be 30% of the width of the video. How can I do this ? Thanks in advance