Recherche avancée

Médias (91)

Autres articles (49)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6365)

  • ffmpeg : Dynamically set output duration based on sliding text width

    18 janvier 2016, par John Whiteman

    I need to create a smooth ’news ticker’ on a low powered android device. Unfortunately this is impossible at runtime using HTML or native code as there is always some stutter or glitch.

    I’ve created a solution that gives me a smooth result by encoding an mp4 for each message and displaying one video after the other. This is the code I’m using :

    ffmpeg -f lavfi -i color=c=black:s=1280x100 -vf "drawtext=BebasNeue.otf:fontsize=60:fontcolor=white:y=h-line_h-30:x=-(4*n)+1280:text='Hello world'" -t 10 output.mp4

    Problem :
    I need to set the video’s duration dynamically so that the video stops when the text has completed it’s journey from right to left. The messages will be of varying lengths and I need each message to scroll at a constant speed (ie. an mp4 with a longer message would have a longer duration).

    Is this possible via an expression ? If not is there some clever way I can calculate this outside of ffmpeg and pass it to the ’-t’ (duration) parameter ?

    ** Edit **
    To calculate outside of ffmpeg I can do a calculation like video_width + text_width / video_fps (ie. 1280 + 262 / 25) to give me the duration. So now I’m just looking to see if this is possible within the ffmpeg command line itself. t

    Many thanks

  • lavfi/vf_libplacebo : simplify SAR normalization

    20 juin 2023, par Niklas Haas
    lavfi/vf_libplacebo : simplify SAR normalization
    

    The old logic was trying to be excessively clever in "deducing" that the
    user wanted to stretch/scale the image when ow/oh differed from iw/ih
    aspect ratio. But this is almost surely unintended except in
    pathological cases, and in those cases users should simply disable
    normalize_sar and do all the stretching/scaling logic themselves. This
    is especially important in multi-input mode, where the canvas may be
    vastly different from the input dimensions of any stream. Also, passing
    through input 0 SAR in multi-input mode is arbitrary and nearly useless,
    so again force output SAR to 1:1 here.

    • [DH] libavfilter/vf_libplacebo.c
  • hwcontext_vulkan : require storage properties to claim formats as supported

    24 novembre 2024, par Lynne
    hwcontext_vulkan : require storage properties to claim formats as supported
    

    This function dates back a long time ago, before vkfmt_from_pixfmt2.
    When it was converted over, the thought was that this was far too
    restrictive to demand storage images for each format.
    With the new clever function, it makes sure to check that the compatible
    subformats a format can be used as support storage capabilities.

    This gets rid of fake support for RGB48/RGB96 which some implementations
    offer but don't support using as storage images.

    • [DH] libavutil/hwcontext_vulkan.c