Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (50)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

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

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

  • To all Matomo plugin developers : Matomo 4 is coming, make your plugin compatible now

    6 août 2020, par Matomo Core Team — Development

    We’re planning to release the first beta of Matomo 4 in a few weeks. For making it easy for Matomo users to be able to upgrade to this beta, it would be great if as many plugins on the Marketplace as possible would be already updated and compatible with Matomo 4. Then many users would be able to upgrade to the first beta without any issues.

    Presumably, as you put your plugin on our Marketplace, you want people to use it. Making your plugin compatible with Matomo 4 helps ensure that people will be able to find and keep using your plugin. If your plugin is not compatible with Matomo 4, your plugin will be automatically deactivated. We’ll be happy to help you achieve compatibility should there be any issue.

    How do I upgrade my Matomo to Matomo 4 ?

    If you have installed your Matomo development environment through git you can simply checkout the Matomo 4 branch “4.x-dev” by executing these commands :

    • git checkout 4.x-dev 
    • composer install

    Alternatively, you can also download the latest version directly from GitHub as a zip file and run composer install afterwards. 

    How do I upgrade my plugin to Matomo 4 ?

    While there were many breaking changes in Matomo 4, most of our Platform APIs remain unchanged, and almost all changes are for rarely used APIs. Often to make your plugin compatible it will just be a matter of adjusting the “plugin.json” file (as mentioned in the migration guide).

    You can find all developer documentation on our developer zone which has already been updated for Matomo 4.

    How do I know my plugin changes were released successfully ?

    If you have configured an email address within your “plugin.json” file, then you will receive a confirmation or an error email within a few minutes. Alternatively, you can also check out your plugin page on the Marketplace directly. If the plugin release was successful, you will see additional links below the download button showing which versions your plugin is compatible with.

    What it looks like when your plugin is compatible with multiple Matomo versions

    How can I downgrade to Matomo 3 or switch between Matomo 3 and Matomo 4 ?

    To downgrade from Matomo 4 to Matomo 3 :

    When will the final Matomo 4 release be available ?

    We estimate the final stable Matomo 4.0.0 release will be released in approx. 3 months.

    What’s new in Matomo 4 ?

    We don’t have a summary of the changes available just yet but you can see all closed issues within this release here.

    Any questions or need help ? 

    If you have any questions, or experience any problems during the migration don’t hesitate to get in touch with us. We’ll be happy to help get your plugin compatible and the update published. If you find any undocumented breaking change or find any step during the migration process not clear, please let us know as well.

    Thank you for contributing a plugin to the Marketplace and making Matomo better. We really appreciate your work !

  • configure : Add additional glslang libraries to make linking work

    18 août 2020, par Philip Langdale
    configure : Add additional glslang libraries to make linking work
    

    The latest builds of glslang introduce new libraries that need to be
    linked for all symbols to be fully resolved.

    This change will break building against older installations of glslang
    and it's very hard to tell them apart as the library change upstream
    was not accompanied by any version bump and no official release has
    been made with this change it - just lots of people packaging up git
    snapshots. So, apologies in advance.

    • [DH] configure
  • Unable to find a suitable output format for 'is' is : Invalid argument in fmmpeg

    26 janvier 2023, par Test000

    I want to make a python script to make a video in FFmpeg. I try a lot of solutions for example but I do not know Why I do not have permission to write. I have not any idea because ffmpeg errors are a little bit tricky

    


    my code :

    


    import os
import cv2

def calculate_quote_position(quote, max_length, video_width, video_height):
    if len(quote) > max_length:
        print("Quote is too long for the video.")
        return
    
    # Determine font size and alignment
    font = cv2.FONT_HERSHEY_SIMPLEX
    font_scale = 1.0
    thickness = 2
    (text_width, text_height), _ = cv2.getTextSize(quote, font, font_scale, thickness)
    
    # Calculate position for the quote
    x = int((video_width - text_width) / 2)
    y = int((video_height + text_height) / 2)
    
    return (x, y, text_width, text_height)

def create_video_from_audio_quote_picture(music_file, quote, font, font_size, font_color, background_picture, output_file, video_duration, video_width, video_height, max_length):
    quote_position = calculate_quote_position(quote, max_length, video_width, video_height)
    if not quote_position:
        print("The quote is too long for the video.")
        return
    # Create the FFmpeg command
    command = f"ffmpeg -loop 1 -t {video_duration} -i {background_picture} -i {music_file} -vf drawtext='fontfile={font}':text={quote}:fontcolor={font_color}:fontsize={font_size}:x={quote_position[0]}:y={quote_position[1]}' -shortest -c:v libx264 -c:a aac {output_file}"

    # Execute the command
    os.system(command)

music_file = "music.mp3"
quote = "This is a quote"
font = "Raleway-Bold.ttf"
font_size = 20
font_color = "white"
background_picture = "nature.png"
output_file = r"C:\Users\Lukas\Dokumenty\python_scripts\Billionare livestyle\output.mp4"
video_duration = 30
video_width = 1920
video_height = 1080
max_length = 30

create_video_from_audio_quote_picture(music_file, quote, font, font_size, font_color, background_picture, output_file, video_duration, video_width, video_height, max_length)


    


    my error :

    


    Input #0, image2, from 'nature.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 569438 kb/s
  Stream #0:0: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 1920x1080 [SAR 72:72 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
Input #1, mp3, from 'music.mp3':
  Metadata:
    date            : 2020:12:15 01:00:00
    title           : Otnicka - Peaky Blinder (lyrics) | i am not outsider i'm a peaky blinder
    artist          : Jigzaw
    encoder         : Lavf58.29.100
  Duration: 00:02:31.78, start: 0.023021, bitrate: 128 kb/s
  Stream #1:0: Audio: mp3, 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavf
  Stream #1:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 320x240 [SAR 1:1 DAR 4:3], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      comment         : Other
[NULL @ 000001575c0b0100] Unable to find a suitable output format for 'is'
is: Invalid argument