
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (81)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (3541)
-
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 Rothenpieleravutil/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. -
AddictedCS SoundFingerprinting FFmpeg.AutoGen System.NullReferenceException
16 novembre 2023, par J DHow 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 ?