Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (53)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5699)

  • AddictedCS SoundFingerprinting FFmpeg.AutoGen System.NullReferenceException

    16 novembre 2023, par J D

    How can I troubleshoot below issue ? Seems to be a class override of FFmpeg.

    


    I am attempting to use AddictedCS SoundFingerprinting (https://github.com/AddictedCS/soundfingerprinting).
https://github.com/Ruslan-B/FFmpeg.AutoGen

    


    After downloading the packages with nuget, I downloaded & compiled from source to debug :

    


    For some reason FFmpeg.AutoGen.Abstractions keep crashing.
Visual Studio 2022, project set to X64

    


    The exception :

    


    FFmpeg.AutoGen.Abstractions
Code line 2906 :

    


    public static AVFormatContext avformat_alloc_context() => vectors.avformat_alloc_context() ;*

    


    System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object
  Source=FFmpeg.AutoGen.Abstractions
  StackTrace:
   at FFmpeg.AutoGen.Abstractions.ffmpeg.avformat_alloc_context() in C:\FFmpeg.AutoGen-master\FFmpeg.AutoGen.Abstractions\generated\ffmpeg.functions.facade.g.cs:line 2906


    


    ffmpeg.exe as recommended on the correct location

    


    C:\fingerPrint\ConsoleApp1\ConsoleApp1\bin\x64\Debug\FFmpeg\bin\x64>ffmpeg.exe ffmpeg version 4.4.1-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11.2.0 (Rev1, Built by MSYS2 project)

    


    Sourcecode

    


    
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SoundFingerprinting;
using SoundFingerprinting.Builder;
using SoundFingerprinting.Emy;
using FFmpeg.AutoGen.Bindings.DynamicallyLoaded;
using System.IO;

namespace ConsoleApp1
{
    internal class Program
    {
        private readonly IFingerprintCommandBuilder fingerprintCommandBuilder = new FingerprintCommandBuilder();
        static async Task Main(string[] args)
        {
            var current = Environment.CurrentDirectory;
            var probe = Path.Combine("FFmpeg", "bin", Environment.Is64BitProcess ? "x64" : "x86");
            var ffmpegBinaryPath = Path.Combine(current, probe);
            Console.WriteLine(Environment.CurrentDirectory);
            Console.WriteLine($"FFmpeg binaries found in: {ffmpegBinaryPath}");
            DynamicallyLoadedBindings.LibrariesPath = ffmpegBinaryPath;
  
            var audioService = new FFmpegAudioService();
            var hashedFingerprints = await FingerprintCommandBuilder.Instance
                                             .BuildFingerprintCommand()
                                             .From("c:\\temp\\chopin_short2.wav")
                                             .UsingServices(audioService)
                                             .Hash();
        }
    }
}



    


    Where do I need to look next ? Doesn't this work with a console C# project ?

    


  • aac : Add support for Enhanced AAC Low Delay (ER AAC ELD).

    14 octobre 2013, par Alex Converse
    aac : Add support for Enhanced AAC Low Delay (ER AAC ELD).
    

    This does not include support for LD SBR, epTool, data resilience, nor
    the 960 transform family.

    • [DH] Changelog
    • [DH] libavcodec/aac.h
    • [DH] libavcodec/aacdec.c
    • [DH] libavcodec/aactab.c
    • [DH] libavcodec/aactab.h
    • [DH] libavcodec/version.h
  • What is the "Error initializing filter 'drawtext' with args..." error in using of ffmpeg at c# process class ?

    7 novembre 2016, par parsa

    I used this below code for create a resolution of a video and write text on it.

       var proc = new System.Diagnostics.Process();
       strin OrginalResolution="nhd";
       proc.EnableRaisingEvents = false;
       proc.StartInfo.FileName = ffmpegPath;
       proc.StartInfo.Arguments = "-i \"" + fileIn +
                                  "\" -f mp4 -s " + OrginalResolution + " -vf drawtext=fontfile=/OtherProjects/ConvertProj/ff‌​mpeg/OpenSans-Reg‌​ular.ttf:text=Parsa" \"" + fileOut.Split('.')[0] +
                                  ".mp4";
       proc.StartInfo.UseShellExecute = false;
       proc.StartInfo.CreateNoWindow = false;
       proc.StartInfo.RedirectStandardOutput = true;
       proc.StartInfo.RedirectStandardError = true;

       proc.Start();
       proc.WaitForExit();
       string sdsd = proc.StandardError.ReadToEnd();
       proc.Close();

    I faced with this problem(some string output of StandardError is in below) :

    Fontconfig error: Cannot load default config file\r\n[Parsed_drawtext_0      
    @0000000002fd8c20] Cannot find a valid font for the family
    Sans\r\n[AVFilterGraph @ 0000000000511660] Error initializing
    filter'drawtext' with args
    'fontfile=/OtherProjects/ConvertProj/ffmpeg/OpenSans-
    Regular.ttf:text=parsa'\r\nError opening
    filters!\r\n

    In cmd the same argument value of process works fine.
    I read that this issue related to how to using quotation mark at using
    of text property of drawtext in ffmpeg.but I can’t find any
    solution for solving this issue.
    Can anyone help me ?

    Can anyone help me still ?Is this a bug ?
    I used any solutions for escape from : in my code,but can’t solve this problem.
    It can’t find font.I delete other filters of drawtext to findout that any of filters don’t mistake, but still error exists yet.

    expansion=none property of drawtext doesn’t influence on this case, for escape :.