Recherche avancée

Médias (91)

Autres articles (48)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (10781)

  • OpenCv VideoWriter does no write. ffmpeg library h264 errors

    22 juillet 2012, par ar ar ar

    Hi I am using OpenCv and trying to use the VideoWriter Class.

    But I get an error.

    The error is Could not find encoder for codec id 28 : Encoder not found

    Normally it must be a ffmpeg problem. How can I check which codec is with id 28 and how can I install it ?

    I think it is causing problems to my program and I cannot get the number of frames in videos right.

    update 2: :

    I installed libavcodec-extra-53 ubuntu package and now it gives other errors.

    Any ideas why ??It seems to be pure ffmpeg problem and not OpenCv problem

    libx264 @ 0x1d9bd80] broken ffmpeg default settings detected
    [libx264 @ 0x1d9bd80] use an encoding preset (e.g. -vpre medium)                                                                                                                              
    [libx264 @ 0x1d9bd80] preset usage: -vpre <speed> -vpre <profile>                                                                                                                              
    [libx264 @ 0x1d9bd80] speed presets are listed in x264 --help                                                                                                                                  
    [libx264 @ 0x1d9bd80] profile is optional; x264 defaults to high
    </profile></speed>
  • Pyinstaller does not include ffmpeg.exe and ffprobe.exe

    11 mars 2021, par lorenzotarquini

    I'm making a simple mp3 downloader using youtube-dl. During my tests with python, everything works, I only had a problem when I saw an error that said 'ffprobe/avprobe and ffmpeg/avconv not found, please install one', solved including ffmpeg.exe and ffprobe.exe in Scripts folder but then i wrote the exe file with pyinstaller, and i got the same error i found before, IDK how to solve it, can someone help me ?. this is the spec file generated :

    &#xA;

    # -*- mode: python ; coding: utf-8 -*-&#xA;&#xA;block_cipher = None&#xA;&#xA;&#xA;a = Analysis([&#x27;..\\..\\thedownloader_V1.py&#x27;],&#xA;             pathex=[&#x27;D:\\Archivio\\Projects\\Python\\MP3_downloader\\venv\\Scripts&#x27;],&#xA;             binaries=[],&#xA;             datas=[],&#xA;             hiddenimports=[],&#xA;             hookspath=[],&#xA;             runtime_hooks=[],&#xA;             excludes=[],&#xA;             win_no_prefer_redirects=False,&#xA;             win_private_assemblies=False,&#xA;             cipher=block_cipher,&#xA;             noarchive=False)&#xA;pyz = PYZ(a.pure, a.zipped_data,&#xA;             cipher=block_cipher)&#xA;exe = EXE(pyz,&#xA;          a.scripts,&#xA;          a.binaries,&#xA;          a.zipfiles,&#xA;          a.datas,&#xA;          [],&#xA;          name=&#x27;thedownloader_V1&#x27;,&#xA;          debug=False,&#xA;          bootloader_ignore_signals=False,&#xA;          strip=False,&#xA;          upx=True,&#xA;          upx_exclude=[],&#xA;          runtime_tmpdir=None,&#xA;          console=True )&#xA;

    &#xA;

  • 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