Recherche avancée

Médias (91)

Autres articles (16)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (3486)

  • Extract thumbnail from video in amazon s3 and store it in amazon s3 [closed]

    24 juin 2021, par Kanav Raina

    I want to extract thumbnail from video and store it on s3.

    


    import ffmpeg

url="https://link_to_s3_video.mp4"

(
    ffmpeg
    .input(url, ss='00:00:03')  
    .output("frame.png", pix_fmt='rgb24', frames='1')  
    .overwrite_output()
    .run()
)


    


    I am able to extract image but now how should I pass this image to file_upload function and store it on s3

    


    def file_upload(file, filename):
    link = f"https://{PUBLIC_BUCKET_NAME}.s3.us-east-2.amazonaws.com/images/{filename}"
    try:
        s3.Object(PUBLIC_BUCKET_NAME, f"images/{filename}").load()
    except ClientError as e:
        if e.response['Error']['Code'] == "404":
            try:
                s3_client.upload_fileobj(
                    file,
                    PUBLIC_BUCKET_NAME,
                    f"images/{filename}",
                    ExtraArgs={'ACL': 'public-read'}
                )

                return 200, link
            except ClientError as e:
                logging.error(e)
                return 500, ""
        else:
            return 500, ""
    else:
        return 409, link


    


    Thanks

    


  • 3 hidden Piwik features you likely don’t know, that will make you more productive

    17 janvier 2017, par InnoCraft — Community

    At Piwik and at InnoCraft, we always aim to make features as intuitive as possible. Having thousands of features in Piwik and having to find a balance between beginners and advanced users can sometimes be a challenge. Sometimes this even leads to building hidden features that are mainly targeted for power users. The list below shows three of them, did you know any of them yet ?

    BTW : If you don’t have Piwik yet, you can try them on our Piwik Demo.

    1. Search

    When you press the letter “f”, it will activate the search bar in the top left. Once you start typing something, it will show matching reports. Say you want to view reports about “devices” but don’t remember exactly which category it is in, simply start typing “devices” and the matching entry will show up without even having to move the mouse.

    The search bar also searches for matching websites and segments. Use the arrow up and down keys to select the entry you want and press enter to confirm the selection.

    Say you don’t remember the name of a report but you know it is listed under the category “Visitor”, then start typing the name of the category and it will show all related reports.

    2. Zen Mode

    When you press the letter “z”, it will activate the Zen Mode which lets you focus on the reports and content by removing the header and left menu. To disable the Zen Mode, simply press “z” again.

    This is especially useful in combination with the search bar mentioned above, as it enables you to quickly switch between reports, websites and segments even while menu and header are hidden.

    3. Faster period change

    Changing the displayed period is a task you likely perform quite often when analyzing reports. Usually, you would first select the period and then press the button “Apply” in the date selector. Instead, you can simply double click the name of the period and it will immediately load the selected period without having to click on the “Apply” button.

    What are your hidden features in Piwik ?

    Let us know by getting in touch with us or share it with us on Facebook or Twitter.

  • android ffmpeg .so download [closed]

    19 janvier 2015, par Jas

    Anybody knows from where to get compiled .so FFMPEG library for Android ?

    I tried thousand of times to compile the FFMPEG manually on windows-7 using Android NDK
    but never succeeded.

    So I think it’s better to use precompiled lib as I’m already using the same same technolgy that used in :
    https://github.com/guardianproject/SSCVideoProto

    But the ffmpeg lib in this project is very old.

    Any help is much appreciated.......