Recherche avancée

Médias (91)

Autres articles (28)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

Sur d’autres sites (2851)

  • Correct the FSF address for two avisynth files to ’51 Franklin Street, Fifth Floor...

    6 mars 2014, par Andreas Cadhalpun
    Correct the FSF address for two avisynth files to ’51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA’
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] compat/avisynth/avisynth_c.h
    • [DH] compat/avisynth/avxsynth_c.h
  • 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;

  • download livestream real-time data

    15 juillet 2024, par Chenguang He

    I'm working on a project to design a RTMP server in Java to get livestream data and download to flv file. One requirement is that to capture the real-time data, I need to download the recording for every second instead of downloading entire recording when livestream stop. Is there any way to achieve it ? Thanks

    &#xA;

    tried to download stream into byte array for every second and decode to flv using H.264 but didn't work.

    &#xA;