Recherche avancée

Médias (91)

Autres articles (54)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

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

Sur d’autres sites (6250)

  • doc/formats : clarify meaning of igndts as per definition in avformat.h

    4 février 2024, par Marth64
    doc/formats : clarify meaning of igndts as per definition in avformat.h
    

    Signed-off-by : Marth64 <marth64@proxyid.net>

    • [DH] doc/formats.texi
  • 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;

  • lavc/libxavs2 : fix intra period meaning conflict

    18 octobre 2018, par hwren
    lavc/libxavs2 : fix intra period meaning conflict
    

    Signed-off-by : hwren <hwrenx@126.com>

    • [DH] libavcodec/libxavs2.c