
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (59)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (...)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (6593)
-
How to resolve the issue of FFmpeg.wasm not working about SharedArrayBuffer error properly when using Nginx as a server and use Vite no error ?
18 décembre 2023, par bullyI am using FFmpeg.wasm for some frontend transcoding work. I know that due to certain browser policies, I need to configure some response headers in the Vite server options :

server: { headers: { 'Cross-Origin-Opener-Policy': 'same-origin', 'Cross-Origin-Embedder-Policy': 'require-corp' } },


This works fine and doesn't throw the SharedArrayBuffer error.


Then, I ran yarn run build to generate the dist directory and copied it to my Nginx proxy server. I also configured similar response headers in Nginx as follows :


server {
 listen 80;
 server_name ...My IP;
 add_header 'Cross-Origin-Embedder-Policy' 'require-corp';
 add_header 'Cross-Origin-Opener-Policy' 'same-origin';
 add_header 'Cross-Origin-Resource-Policy' "cross-origin";
 add_header 'Access-Control-Allow-Origin' '*';
 
 location / {
 add_header 'Cross-Origin-Embedder-Policy' 'require-corp';
 add_header 'Cross-Origin-Opener-Policy' 'same-origin';
 }

 root /www/audioserver/dist;
 ...
 }



However, it doesn't work in this setup. I have been trying for a while but haven't been able to solve it.


Here is my code for loading ffmpeg.wasm. It works fine in the development environment. The blob is the cached file of the wasm saved in IndexedDB :


`const blob = await getWasmCoreWasm();
await this.ffmpegInstance.load({
 coreURL: await toBlobURL(`${baseURL}/ffmpeg-core.js`, 'text/javascript'),
 wasmURL: await toBlobURL(URL.createObjectURL(blob), 'application/wasm'),
 workerURL: await toBlobURL(`${baseURL}/ffmpeg-core.worker.js`, 'text/javascript'),
});
`



I have tried checking the response headers of the links, updating Nginx, and even modifying the version of FFmpeg. They all seem to be fine, but I don't know how to resolve this issue. I would really appreciate it if someone could help me out. Thank you very much !


-
Unity FFmpeg plugin gives "incomplete return type timespec" on xcode build
22 septembre 2023, par Burak I.I am using this plugin in one of my unity project. Android build is working without an error but when I try build it on Ios, it gives errors :




I couldn't find much information about this issue. I think the problem is caused by FFmpeg library on ios.


How can I fix these errors ?


I tried to delete libavutil library since I am not using it (I think). But resulted in much more errors in other packages.


I found a suggestion to recompile the ffmpeg library but I don't know how to compile it for Unity.


Edit : I found the solution. I know it is caused by libavutil library but I shouldn't delete libavutil from lib folder. I deleted libavutil folder from include. So if anybody encounter with this problem only delete "Assets\FFmpegUnityBind2\Plugins\IOS\include\libavutil" folder. DO NOT DELETE libavutil.a from "IOS\lib\libavutil". I only used FFmpeg for turning jpg sequence to mp4 so be aware if you are doing another process that uses libavutil library.


-
Nix package : Pass build flag —extra-cflags to ffmpeg at compile time
13 mai 2024, par catleeballI'm a little inexperienced with Nix and NixOS and am struggling a bit with this ffmpeg source build. Any advice is appreciated !


Goal


Build ffmpeg from source with
--extra-cflags="-pipe -O3 -march=znver3 -ffat-lto-objects"
, ideally using a flake or overlay or similar so that I can build off the existing ffmpeg nix package and maybe even reproducible builds.

Attempts


I've been trying to follow different advice I've seen online, but looking at ffmpeg in nixpkgs, I'm not sure what I could patch or override. Since
configureFlags
happens inside thestdenv.mkderivation
block, when I try to override it, it doesn't seem to have scope into this variable (and since the derivation explicitly setsonfigurePlatforms = [];
, I'm not sure if that would clobber the override changes unless I tried to override the whole long derivation).

Looking at the ffmpeg configure script, it seemed like environment variable cflags / cxxflags won't be respected, but it will take them from the
--extra-cflags
argument, but I could be missing something.

Flake attempt


Here's an example
flake.nix
I forked from an example I saw at this github repo

{
 description = "A full build of ffmpeg, including the proprietary stuff";

 inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
 inputs.flake-utils.url = "github:numtide/flake-utils";

 outputs = { self, nixpkgs, flake-utils }:
 flake-utils.lib.eachDefaultSystem (system:
 let
 pkgs = import nixpkgs {
 inherit system;
 config.allowUnfree = true;
 };

 overrides = {
 ffmpeg = pkgs.ffmpeg-full;
 # If this did work, I'm not sure how it would combine with the derivation in the existing package, e.g. if it would get overridden
 configureFlags = [ "--extra-cflags -march=znver3 -O3 -pipe -ffat-lto-objects" ];
 withHeadlessDeps = true;
 nonfreeLicensing = true;
 # more options here once things are working above
 };
 in
 rec {
 packages.ffmpeg-custom = pkgs.ffmpeg-full.override overrides;
 defaultPackage = packages.ffmpeg-custom;
 }
 );
}



when building with
nix profile install
, I encounter the error :

error: function 'anonymous lambda' called with unexpected argument 'configureFlags'

 at /nix/store/d9wpzgyjlpw1424kw2lyilah6690fnk3-source/pkgs/development/libraries/ffmpeg-full/default.nix:1:1:

 1| { lib, stdenv, buildPackages, ffmpeg, addOpenGLRunpath, pkg-config, perl, texinfo, yasm
 | ^
 2| /*



presumably since configureFlags is defined in the derivation in the original package.


Overlay in configuration.nix attempt


I tried adding this to my /etc/nixos/configuration.nix also without success :


nixpkgs.overlays = [
 (self: super: {
 ffmpeg-full = super.ffmpeg-full.override {
 configureFlags = [
 "--enable-hardcoded-tables"
 "--extra-cflags -march=znver3 -O3 -pipe -ffat-lto-objects"
 ] ++ super.ffmpeg-full.configureFlags;
 };
 })
];



when building with
nixos-rebuild switch
I get the same error :

error: function 'anonymous lambda' called with unexpected argument 'configureFlags'

 at /nix/store/amxbqlhq11xfrbs4vdsyi04fap0abx0v-nixos-23.11/nixos/pkgs/development/libraries/ffmpeg/generic.nix:3:1:

 2|
 3| { lib, stdenv, buildPackages, removeReferencesTo, addOpenGLRunpath, pkg-config, perl, texinfo, yasm
 | ^
 4|



Context


I have a NixOS machine that does very long-running ffmpeg encodes nearly all the time. I was hoping to rebuild headless ffmpeg with more aggressive cflags and maybe some extra options. I hope to benchmark performance differences between different builds.


I'll probably use this as an excuse to also build ffmpeg with some extra nonfree dependencies too.