Recherche avancée

Médias (91)

Autres articles (51)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (9569)

  • ffmpeg crop and watermark in a single step

    11 juin 2018, par rbarab

    We are processing short videos. Most of them are 640x480, recorded by mobile. Many of them have a black frame on left and right.
    I would like to watermark the videos and currently using this command.

    ffmpeg -i IN.mp4 -i WATERMARK.png -filter_complex "overlay=main_w-overlay_w-10:main_h-overlay_h-10" OUT.mp4

    The problem is that if there is a frame, part of the watermark goes on the frame and only a part is on the actual content. Would like to place the watermark on the bottom right of the actual content.

    Are any of these possible, or any other ideas ?

    a, Dynamically detect the black frames and adjust the watermark position accordingly.

    b, Crop the black frame and watermark the content correctly in the same step.

    Thanks a lot for your help !

    EDIT :

    I have found that it won’t be possible in one step.

    1, I can get the crop size

    ffmpeg -i INPUT.mp4 -t 2 -vf cropdetect -f null - 2>&1 | awk '/crop/ { print $NF }' | tail -1

    2, Then crop the video

    ffmpeg -i INPUT.mp4 -filter:v "crop=352:480:144:0" -c:a copy OUTPUT.mp4

    3, Then watermark it

    ffmpeg -i INPUT VIDEO.mp4 -i INPUT IMAGE.png -filter_complex "overlay=main_w-overlay_w-10:main_h-overlay_h-10" OUTPUT VIDEO.mp4

    Is there a way to merge 2, and 3, into a single step ?

  • avformat/mxfenc : Add Product Version, Toolkit version and Platform

    17 mars 2018, par Michael Niedermayer
    avformat/mxfenc : Add Product Version, Toolkit version and Platform
    

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/mxfenc.c
    • [DH] tests/ref/fate/copy-trac4914
    • [DH] tests/ref/fate/mxf-reel_name
    • [DH] tests/ref/fate/time_base
    • [DH] tests/ref/lavf/mxf
    • [DH] tests/ref/lavf/mxf_d10
    • [DH] tests/ref/lavf/mxf_dv25
    • [DH] tests/ref/lavf/mxf_dvcpro50
    • [DH] tests/ref/lavf/mxf_opatom
    • [DH] tests/ref/lavf/mxf_opatom_audio
  • ffmpeg on iOS using Swift : init' is unavailable : use 'withMemoryRebound(to:capacity:_)'

    28 mars 2018, par Law Gimenez

    I am having trouble understanding with the compile error below

    ’init’ is unavailable : use ’withMemoryRebound(to:capacity:_)’ to temporarily view memory as another layout-compatible type.

    in this method

    av_image_fill_arrays(UnsafeMutablePointer(frameRGB?.pointee.data.0),
                                                            &amp;lineSize,
                                                            &amp;dataSize,
                                                            AVPixelFormat(rawValue: (frameRGB?.pointee.format)!),
                                                            (frameRGB?.pointee.width)!,
                                                            (frameRGB?.pointee.height)!,
                                                            1)

    particularly in the UnsafeMutablePointer(frameRGB?.pointee.data.0) part.
    I am trying to migrate ffmpeg pointers, variables and methods to Swift but the resources are very limited. Thank you for the help.