Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (85)

Sur d’autres sites (10097)

  • ffmpeg drawtext support for Tibetan fonts

    19 juin 2020, par A-Circle Zhang

    I'm trying to use ffmpeg drawtext filter to render Tibetan text to videos. But some characters aren't rendered correctly.

    



    for example :

    



    


    སྤྱི་སྟེགས

    


    



    Expected render output

    



    some characters which is.. vertically too long, are not rendered correctly :

    



    Actual render output

    



    and this is my command line for generating the output :

    



    ffmpeg -i input.mp4 -filter_complex "drawtext=fontsize=80:fontcolor=black:fontfile=himalaya.ttf:shadowx=1:shadowy=1:text='སྤྱི་སྟེགས':x=0:y=0" -c:v libx264 -b:v 400k -c:a copy output.mp4


    



    The font himalaya.ttf (Microsoft Himalaya) is the default built-in font for Tibetan on Windows 10. (See https://docs.microsoft.com/en-us/typography/font-list/microsoft-himalaya )

    



    I tried text_shaping=1 and text_shaping=0, neither one is working.

    



    I've also tried other Tibetan fonts, problem is the same.

    



    But all of those fonts are rendered correctly in other places such as web browser.

    


  • fate : Make sure a corner-case for ASF is covered

    14 août 2015, par Alexandra Hájková
    fate : Make sure a corner-case for ASF is covered
    

    Test the demuxer for the case when the replicated data length in
    a sample is 0.

    Sample-ID : https://samples.libav.org/mplayer-bugs/bug821/bug821-2.asf

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DBH] tests/fate/microsoft.mak
    • [DBH] tests/ref/fate/asf-repldata
  • Ffmpeg : switching audio tracks in cartoon for language learning

    18 novembre 2020, par almachuar
      &#xA;
    1. Need to convert multiple-(audio)-language-video to single-audio-stream-video where 2 languages alternate repeatedly.&#xA;(10sec Lang2) + (15sec Lang3) + (10sec Lang2) + (15sec Lang3) + ... and so on till the end.&#xA;I assume it should be done whith piping in and on-the-fly changing audio streams by scripting.
    2. &#xA;

    &#xA;

    I've done audio switching task (with scripting) by lively changing audio languages in video player but need better and crossplatform solution for little kid - preprepared video.

    &#xA;

      &#xA;
    1. Need to adjust loudness on one of the input audio streams, to match overall voice loudness. Level of adjustment determined by myself not automaticly.
    2. &#xA;

    &#xA;