Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (37)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (7102)

  • `ffmpeg` `delogo` filter leaving traces at the logo locations

    26 mars 2023, par nlblack323

    I'm using ffmpeg delogo filter to remove these logos

    


    using :

    


    ffmpeg -i vid.mp4 -vf "delogo=x=27:y=158:w=344:h=93, delogo=x=44:y=839:w=531:h=77" out.mp4


    


    but this results in large noticeable marks at both logo locations. Besides, the replaced parts are terribly blurry and barely close to the actual colors. Is there a way to prevent or improve these results ?

    


  • How to properly convert RTL subtitles in ffmpeg ?

    25 octobre 2020, par HTMHell

    I'm using the following command to extract subtitles from a video file, and save it as vtt.

    



    ffmpeg -i video.mkv -map 0:s:0 subs.vtt 2>&1


    



    It's working and outputs the subtitles file. The problem is with RTL (right to left) languages (Hebrew, Arabic etc.)
The punctuation are being misplaced.

    



    I will show you an English example of what's happening, for your convenience :

    



    Input text :

    



    Is he alive?
-I don't know.


    



    Output text :

    



    ?Is he alive
.I don't know-


    



    If you want the original text in Hebrew, there it is :

    



    Input Text :

    



    הוא חי?
-אני לא יודע.


    



    Output text :

    



    ?הוא חי
.אני לא יודע-


    



    As you can see, the punctuation marks at the end are going to the start, and vice versa. How can I avoid this behavior ?

    


  • Pass UTF8 parameter in powershell

    13 juin 2018, par Dev_MC

    I have to use ffmpeg-normalize (https://github.com/slhck/ffmpeg-normalize) in my project.

    Everything works well except that encoding have trouble on Windows :

    $OutputEncoding = [System.Text.Encoding]::Unicode
    $OutputEncoding
    Get-WinSystemLocale
    pause
    Get-ChildItem -path "./" -recurse | foreach ($_) {
       if ($_.Extension -eq ".wav") {
       write $_.FullName
        ffmpeg-normalize $_.FullName -nt peak -t -20 -o $_.FullName -f
        pause
       }
       if ($_.Extension -eq ".mp4") {
        ffmpeg-normalize $_.FullName -c:a aac -nt peak -t -20 -o $_.FullName -f
       }
           if ($_.Extension -eq ".mp3") {
        ffmpeg-normalize $_.FullName -c:a libmp3lame -nt peak -t -20 -o $_.FullName -f
       }
    }

    and here is the display

    BodyName          : utf-16
    EncodingName      : Unicode
    HeaderName        : utf-16
    WebName           : utf-16
    WindowsCodePage   : 1200
    IsBrowserDisplay  : False
    IsBrowserSave     : True
    IsMailNewsDisplay : False
    IsMailNewsSave    : False
    IsSingleByte      : False
    EncoderFallback   : System.Text.EncoderReplacementFallback
    DecoderFallback   : System.Text.DecoderReplacementFallback
    IsReadOnly        : True
    CodePage          : 1200

    Parent                         : en
    LCID                           : 1033
    KeyboardLayoutId               : 1033
    Name                           : en-US
    IetfLanguageTag                : en-US
    DisplayName                    : English (United States)
    NativeName                     : English (United States)
    EnglishName                    : English (United States)
    TwoLetterISOLanguageName       : en
    ThreeLetterISOLanguageName     : eng
    ThreeLetterWindowsLanguageName : ENU
    CompareInfo                    : CompareInfo - en-US
    TextInfo                       : TextInfo - en-US
    IsNeutralCulture               : False
    CultureTypes                   : SpecificCultures, InstalledWin32Cultures, FrameworkCultures
    NumberFormat                   : System.Globalization.NumberFormatInfo
    DateTimeFormat                 : System.Globalization.DateTimeFormatInfo
    Calendar                       : System.Globalization.GregorianCalendar
    OptionalCalendars              : {System.Globalization.GregorianCalendar, System.Globalization.GregorianCalendar}
    UseUserOverride                : True
    IsReadOnly                     : False

    Press Enter to continue...:
    C:\Users\user\Desktop\a\b\d\e\audio - Copy.wav
    WARNING: Output file only supports one stream. Keeping only first audio stream.
    Press Enter to continue...:
    C:\Users\user\Desktop\a\b\d\不\audio - Copy.wav
    ERROR: file C:\Users\user\Desktop\a\b\d\?\audio - Copy.wav does not exist
    Press Enter to continue...:
    C:\Users\user\Desktop\a\c\audio - Copy.wav
    WARNING: Output file only supports one stream. Keeping only first audio stream.
    Press Enter to continue...:

    The program works well on MacOS, so I don’t think it’s a software issue. It looks like PowerShell does not send the parameter to the program correctly.

    Do you have any ideas ?

    Thanks