Recherche avancée

Médias (91)

Autres articles (96)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (7276)

  • Does there exist fonts that supprot all languages in the FFmpeg ?

    20 novembre 2024, par phil lx

    I encountered an issue while using FFmpeg to composite a video. After analyzing the user's request, I discovered that the subtitles included Korean text, which caused the process to hang. To address this, I downloaded a Korean font and placed it in the server's fonts directory. This resolved the problem temporarily.

    


    However, this solution is not comprehensive. Another user later requested a video that included traditional Chinese characters, which caused the process to hang again.

    


    成吉思汗,传统蒙古文写作ᠴᠢᠩᠭᠢᠰ ᠬᠠᠭᠠᠨ,拉丁蒙古文写作Činggis Qaγan,西里尔蒙古文写作Чингис Хаан,他是蒙古族乞颜部人

    


    I would like to know if there is a universal font style that supports all languages to prevent such issues in the future.

    


    For reference, I currently use the Alibaba PuHuiTi font, which I downloaded from this link : https://www.zitijia.com/downloadpage?itemid=250417369808129081.

    


    Here is the relevant portion of my code :

    


    filters1 = []
    filters1.append(f"[0:v]crop={int(0.8*width)}:{int(0.8*height)}:{int(0.1*width)}:0,scale={width}:{height}[vout]")
    if add_sub == 1:
        filters1.append(f"[vout]subtitles={srt_path}:force_style='Fontname=Alibaba PuHuiTi,Fontsize={font_size},PrimaryColour={font_color},OutlineColour={font_border_color},MarginV={font_position*(288-font_size)}'[vout]")

    filter_complex1 = ';'.join(filters1)

    command = [
        'ffmpeg',
        '-y',  # 覆盖输出文件
        '-threads', '12',
        # '-loglevel', 'error',
        
        # 第一个输入
        '-f', 'rawvideo',  # 输入为原始视频数据
        '-vcodec', 'rawvideo',
        '-s', f'{width}x{height}',  # 图像尺寸
        '-pix_fmt', 'rgb24',  # 输入像素格式
        '-r', '30',  # 帧率
        '-i', '-',  # 输入从stdin

        # 复杂过滤器
        '-filter_complex', filter_complex1,

        # 映射输出流
        '-map', '[vout]',  # 使用裁剪后的视频
        # '-map', '[audio_out]',  # 使用混合后的音频

        # 输出选项
        '-vcodec', 'h264_nvenc',  # 输出视频编码
        '-pix_fmt', 'yuv420p',  # 输出像素格式
        # '-acodec', 'aac',  # 输出音频编码
        '-strict', 'experimental',  # 兼容性模式

        # 输出文件
        video_withoutspeed_path
    ]


    


    As shown above. hey-hey-hey

    


  • avfilter/showinfo : support Content Light Level information

    9 août 2019, par Limin Wang
    avfilter/showinfo : support Content Light Level information
    

    show real information instead of the unknown side data type message for HDR10 stream

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

    • [DH] libavfilter/vf_showinfo.c
  • avformat/dump : Use intermediate pointer for access to programs array

    30 juin 2020, par Andreas Rheinhardt
    avformat/dump : Use intermediate pointer for access to programs array
    

    Improves readability.

    Reviewed-by : Limin Wang <lance.lmwang@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/dump.c