Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (39)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (5720)

  • I can't understand how to use ffmpeg in javascript (if it's even possible)

    27 février, par Laimonas Rupeika

    Straight to the problem, I want to use ffmpeg in my javascript project for video editing. So I found cdn : <code class="echappe-js">&lt;script src=&quot;https://cdn.jsdelivr.net/npm/@salomvary/ffmpeg.js-umd@3.1.9001/ffmpeg-mp4.min.js&quot;&gt;&lt;/script&gt; which references to "https://github.com/Kagami/ffmpeg.js", which is ffmpeg port to javascript as I understand ?&#xA;I don't get any errors on import, but if I try loading ffmpeg :

    &#xA;

    // Initialize FFmpeg after the GAPI client is loaded&#xA;  const ffmpeg = createFFmpeg({ log: true });&#xA;&#xA;  // // Load the FFmpeg library&#xA;  await ffmpeg.load();&#xA;

    &#xA;

    I get error : Uncaught (in promise) ReferenceError: createFFmpeg is not defined at initializeGapiClient (index:89:18) and it also messes my whole project. So if possible, how can I use ffmpeg in pure javascript, not Node.js. Should I download ffmpeg library files and then include them in project, I'm totally lost at this.

    &#xA;

  • Inconsistent behavior when placing adjacent video overlays

    24 juillet 2023, par abingham

    This script uses ffmpeg to overlay a red [1] and blue [2] stream atop a yellow [0] stream. The intent is that the red stream will be exactly adjacent to the blue stream ; at frame 1731 the output video should transition immediately from pure red to pure blue :

    &#xA;

    # These values result in a blank frame where the videos join at around 58s&#xA;LENGTH=1800&#xA;SPLIT_AT=1731&#xA;&#xA;# These values work just fine.&#xA;# LENGTH=1800&#xA;# SPLIT_AT=2&#xA;&#xA;ffmpeg \&#xA;-f lavfi -r 30 -i "color=c=yellow:s=1920x1080" \&#xA;-f lavfi -r 30 -i "color=c=990000:s=1920x1080" \&#xA;-f lavfi -r 30 -i "color=c=000099:s=1920x1080" \&#xA;-filter_complex \&#xA;"[1]concat=n=1[red_concat];"\&#xA;"[red_concat]tpad=start=0[red_pad];"\&#xA;"[0][red_pad]overlay=enable=between(n\,0\,$SPLIT_AT):eof_action=repeat[red_overlay];"\&#xA;"[2]concat=n=1[blue_concat];"\&#xA;"[blue_concat]tpad=start=$SPLIT_AT[blue_pad];"\&#xA;"[red_overlay][blue_pad]overlay=enable=between(n\,$SPLIT_AT\,$LENGTH):eof_action=repeat[blue_overlay];"\&#xA;"[blue_overlay]trim=end_frame=$LENGTH[full];" \&#xA; -map "[full]" video.mp4 -y&#xA;

    &#xA;

    However, what I see is that there is a single black frame between the pure red and pure blue. This black seems to be coming from the frames that tpad adds.

    &#xA;

    What I don't understand is why I'm seeing that black frame. As far as I can tell, my uses of tpad and overlay/enable-between should produce a seamless transition from red to blue. And indeed, if I change the SPLIT_AT value to almost anything else I get exactly that ; the value 1731 is "special" in some way.

    &#xA;

    Can anyone explain what's going on ? Maybe more importantly, can anyone reproduce this problem ?

    &#xA;

    My first thought was that I've got some form of fencepost error in how I'm using tpad or enable-between. However, that doesn't explain why the script works for most values but not 1731. This difference in results feels like there's a rounding error somewhere, but since I'm dealing purely in terms of integer frame numbers, I don't see how I could be introducing them.

    &#xA;

    A few notes :

    &#xA;

      &#xA;
    • This is a drastically reduced example from a larger video compositing system. Things like the use of concat may appear unnecessary, but they're representative of what the larger system is doing.

      &#xA;

    • &#xA;

    • I'm using ffmpeg-6.0 installed via homebrew on an M1 macbook

      &#xA;

    • &#xA;

    &#xA;

  • avformat/matroskaenc : Support rotations

    6 août 2023, par Andreas Rheinhardt
    avformat/matroskaenc : Support rotations
    

    Matroska supports orthogonal transformations (both pure rotations
    as well as reflections) via its 3D-projection elements, namely
    ProjectionPoseYaw (for a horizontal reflection) as well as
    ProjectionPoseRoll (for rotations). This commit adds support
    for this.

    Support for this in the demuxer has been added in
    937bb6bbc1e8654633737e69e403e95a37113058 and
    the sample used in the matroska-dovi-write-config8 FATE-test
    includes a displaymatrix indicating a rotation which is now
    properly written and read, thereby providing coverage for
    the relevant code in the muxer as well as the demuxer.

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

    • [DH] libavformat/matroskaenc.c
    • [DH] tests/ref/fate/matroska-dovi-write-config8