Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (68)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (5816)

  • avutil/parseutils : add qhd(Quad HD) or wqhd(Wide Quad HD) for 1440p

    26 octobre 2021, par Limin Wang
    avutil/parseutils : add qhd(Quad HD) or wqhd(Wide Quad HD) for 1440p
    

    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] libavutil/parseutils.c
  • 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.

    &#xA;

    import ffmpeg&#xA;&#xA;url="https://link_to_s3_video.mp4"&#xA;&#xA;(&#xA;    ffmpeg&#xA;    .input(url, ss=&#x27;00:00:03&#x27;)  &#xA;    .output("frame.png", pix_fmt=&#x27;rgb24&#x27;, frames=&#x27;1&#x27;)  &#xA;    .overwrite_output()&#xA;    .run()&#xA;)&#xA;

    &#xA;

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

    &#xA;

    def file_upload(file, filename):&#xA;    link = f"https://{PUBLIC_BUCKET_NAME}.s3.us-east-2.amazonaws.com/images/{filename}"&#xA;    try:&#xA;        s3.Object(PUBLIC_BUCKET_NAME, f"images/{filename}").load()&#xA;    except ClientError as e:&#xA;        if e.response[&#x27;Error&#x27;][&#x27;Code&#x27;] == "404":&#xA;            try:&#xA;                s3_client.upload_fileobj(&#xA;                    file,&#xA;                    PUBLIC_BUCKET_NAME,&#xA;                    f"images/{filename}",&#xA;                    ExtraArgs={&#x27;ACL&#x27;: &#x27;public-read&#x27;}&#xA;                )&#xA;&#xA;                return 200, link&#xA;            except ClientError as e:&#xA;                logging.error(e)&#xA;                return 500, ""&#xA;        else:&#xA;            return 500, ""&#xA;    else:&#xA;        return 409, link&#xA;

    &#xA;

    Thanks

    &#xA;

  • Revision 90226 : div au lieu de ul/li

    14 juin 2015, par cedric@… — Log

    div au lieu de ul/li