Recherche avancée

Médias (91)

Autres articles (88)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (7834)

  • Merge remote-tracking branch ’mans/dnxhd’

    22 octobre 2011, par Michael Niedermayer

    Merge remote-tracking branch ’mans/dnxhd’

  • 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

    


  • Makefile.lite : Include config.mk from top level build dir

    29 octobre 2015, par Thomas Zander
    Makefile.lite : Include config.mk from top level build dir
    

    Makefile.lite in libs/executables subdirs must include
    top level’s config.mk to allow variables defined there (OS, PROC)
    to be used ; otherwise e.g. EXPLICIT_LIBS is not set and link
    fails on Darwin.

    Signed-off-by : Erik de Castro Lopo <erikd@mega-nerd.com>

    • [DH] examples/c/decode/file/Makefile.lite
    • [DH] examples/c/encode/file/Makefile.lite
    • [DH] examples/cpp/decode/file/Makefile.lite
    • [DH] examples/cpp/encode/file/Makefile.lite
    • [DH] src/flac/Makefile.lite
    • [DH] src/metaflac/Makefile.lite
    • [DH] src/test_grabbag/cuesheet/Makefile.lite
    • [DH] src/test_grabbag/picture/Makefile.lite
    • [DH] src/test_libFLAC++/Makefile.lite
    • [DH] src/test_libFLAC/Makefile.lite
    • [DH] src/test_seeking/Makefile.lite
    • [DH] src/test_streams/Makefile.lite