Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (80)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

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

Sur d’autres sites (12983)

  • Problems using Intel Quick Sync H.264 Encoder with FFMPEG (shared) [closed]

    28 mai 2024, par Michael Werner
      

    • OS : Windows 11 Pro
    • 


    • IDE : Visual Studio 2022
    • 


    • PL : C++
    • 


    • Libraries : FFMPEG shared (own x64 Windows build with libmfx)
    • 


    


    I am trying to encode frames from a framegrabber card with Intel Quick Sync Encoder using libmfx in FFMPEG shared / libav but I am getting an error always. The "same" procedure using ffmpeg.exe of same build works fine.

    


    I increased the FFMPEG logging level to the maximum level. The avcodec_send_frame function always returns -22 (which means "Invalid argument"). And I do not get more information from the log output /console. The only thing the encoder is reporting is :

    


    [h264_mp4toannexb @ 0000028e41f42e00] The input looks like it is Annex B already

[h264_qsv @ 0000028e41f46980] Invalid pkt_timebase, passing timestamps as-is.


    


    The frames from the grabber card are 1920x1080 pixel YUV420P. I send them as they are to the encoder setting following FFMPEG video codec context options :

    


      

    • bit_rate : 5000000
    • 


    • width : 1920
    • 


    • height : 1080
    • 


    • framerate : 50, 1
    • 


    • max_b_frames : 3
    • 


    • pix_fmt : AV_PIX_FMT_YUV420P
    • 


    


    Actually I do not set any private encoder options.

    


    Does anyone have an idea what I am doing wrong or what is missing ? Is there a way to increase the debug output of libmfx ? I do not find anything related in the encoders private options.

    


  • avutil/hwcontext_d3d11va : remove check for d3d11 debug layer dll

    14 mars 2024, par Timo Rothenpieler
    avutil/hwcontext_d3d11va : remove check for d3d11 debug layer dll
    

    At least on latest Win 11 and Visual Studio 2022, that DLL does not
    exist anymore and can't be installed via any of the usual means.
    However, debugging works just fine regardless, so this check makes
    debugging impossible.

    D3D11CreateDevice will fail anyway if debugging is not supported, so
    let's rely on that instead.

    • [DH] libavutil/hwcontext_d3d11va.c
  • 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 ?