Recherche avancée

Médias (91)

Autres articles (41)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (7904)

  • avfilter/vf_convolve : unbreak non-power of 2 width&height filtering

    23 décembre 2017, par Paul B Mahol
    avfilter/vf_convolve : unbreak non-power of 2 width&height filtering
    

    Signed-off-by : Paul B Mahol <onemda@gmail.com>

    • [DH] libavfilter/vf_convolve.c
  • How to Download YouTube Videos in 1080p with English Subtitles Using yt-dlp with Python 3

    30 juillet 2024, par edge selcuk

    I am trying to download YouTube videos using yt-dlp in Python 3.9. I want to download videos in 1080p quality and if 1080p is not available, it should download the best available quality. The audio and video files should be merged into a single MP4 file, and I have ffmpeg installed to handle the merging process.

    &#xA;

    Here is my script :

    &#xA;

    import os&#xA;import sys&#xA;from yt_dlp import YoutubeDL&#xA;&#xA;def download_video(url):&#xA;    output_dir = r"/path"  # Update this path&#xA;&#xA;    # Ensure the output directory exists&#xA;    if not os.path.exists(output_dir):&#xA;        os.makedirs(output_dir)&#xA;    &#xA;    ydl_opts = {&#xA;        &#x27;format&#x27;: &#x27;(bestvideo[height&lt;=1080][ext=mp4]/bestvideo)&#x2B;bestaudio/best&#x27;,&#xA;        &#x27;merge_output_format&#x27;: &#x27;mp4&#x27;,&#xA;        &#x27;write_auto_sub&#x27;: True,&#xA;        &#x27;writesubtitles&#x27;: True,&#xA;        &#x27;subtitleslangs&#x27;: [&#x27;en&#x27;],&#xA;        &#x27;subtitlesformat&#x27;: &#x27;vtt&#x27;,&#xA;        &#x27;embedsubtitles&#x27;: True,&#xA;        &#x27;outtmpl&#x27;: os.path.join(output_dir, &#x27;%(title)s.%(ext)s&#x27;),&#xA;        &#x27;postprocessors&#x27;: [{&#xA;            &#x27;key&#x27;: &#x27;FFmpegVideoConvertor&#x27;,&#xA;            &#x27;preferedformat&#x27;: &#x27;mp4&#x27;,&#xA;        }],&#xA;    }&#xA;&#xA;    with YoutubeDL(ydl_opts) as ydl:&#xA;        ydl.download([url])&#xA;&#xA;if __name__ == "__main__":&#xA;    if len(sys.argv) != 2:&#xA;        print("Usage: python download_video.py ")&#xA;        sys.exit(1)&#xA;&#xA;    youtube_url = sys.argv[1]&#xA;    download_video(youtube_url)&#xA;

    &#xA;

    This script successfully downloads the video in 1080p quality or the best available quality and merges the audio and video files as intended. However, it does not download the subtitles as intended.

    &#xA;

    I have ffmpeg installed for merging the video and audio files. How can I modify this script to ensure that English subtitles are downloaded and embedded in the video file ?

    &#xA;

  • Anomalie #2109 : Utiliser bcrypt au lieu de SHA256 pour les mots de passe

    26 janvier 2014, par b b

    À ce sujet voir la discussion suivante :

    http://seenthis.net/messages/219027

    Dans les commentaires de l’article cité, on peut lire :

    Donc voilà, utilisez dorénavant l’api password. ça fait du blowfish etc. Et pour ceux qui ne sont pas encore en 5.5, il y a une lib pure PHP qui fait la même chose.

    http://linuxfr.org/users/elyotna/journaux/l-art-de-stocker-des-mots-de-passe#comment-1513979

    http://fr2.php.net/manual/en/ref.password.php

    https://github.com/ircmaxell/password_compat