
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (26)
-
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
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 (6057)
-
ffmpeg on Intel Edison cannot find pkg-config
4 février 2016, par Joel GallantI’ve had a surprisingly difficult time finding documentation for what I’m seeing. I’m cross-compiling ffmpeg for the Intel Edison using the poky linux sdk. I’ve set up an upper level makefile to do the following :
ffmpeg_DIR=$(shell realpath libs/ffmpeg)
EdisonSDK_DIR=/opt/poky-edison/1.7.2
EdisonSysroot=$(EdisonSDK_DIR)/sysroots/core2-32-poky-linux
PATH:=$(EdisonSysroot)/usr/bin/:$(EdisonSysroot)/usr/bin/i586-poky-linux:$(PATH)
ffmpeg-config: FORCE
mkdir -p $(ffmpeg_DIR)/build; \
cd $(ffmpeg_DIR); \
PATH=$(PATH) ./configure \
--prefix=$(ffmpeg_DIR)/build \
--enable-shared \
--disable-static \
--disable-doc \
--arch=i686 \
--enable-cross-compile \
--cross-prefix=i586-poky-linux- \
--sysinclude=$(EdisonSysroot)/include \
--pkg-config=$(EdisonSysroot)/usr/bin/pkg-config \
--target-os=linux
ifeq (,$(wildcard $(ffmpeg_DIR)/build))
ffmpeg: ffmpeg-config FORCE
else
ffmpeg: FORCE
endif
+make -C$(ffmpeg_DIR)So as far as I understand it, it’s using the PATH correctly, sysroot is being inserted in cc and ld calls, and sysinclude is working.
I’m seeing this in the output of the main makefile :
tput: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
And seeing this in the config.log
i586-poky-linux-gcc -O2 -pipe -g -feliminate-unused-debug-types -c -o /tmp/ffconf.T3Y8Tm6G.o /tmp/ffconf.t8bOuCO2.c
/opt/poky-edison/1.7.2/sysroots/core2-32-poky-linux/usr/bin/../lib/gcc/gcc/i586-poky-linux/4.9.1/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory
/opt/poky-edison/1.7.2/sysroots/core2-32-poky-linux/usr/bin/../lib/gcc/i586-poky-linux/4.9.1/../../../../i586-poky-linux/bin/as: error while loading shared libraries: libopcodes-2.24.so: cannot open shared object file: No such file or directory
C compiler test failed.So to me, that seems like a linker error. And in the config.log, I also see that pkg-config isn’t working.
WARNING: /opt/poky-edison/1.7.2/sysroots/core2-32-poky-linux/usr/bin/pkg-config not found, library detection may fail.
So I’m not sure what I’m doing wrong exactly. I’ve tried seeing sysroot or not, and not specifying the pkg-config.
https://ffmpeg.org/pipermail/ffmpeg-devel/2012-June/126683.html
This seems related but is fixed now. So not sure.
-
Capture Windows screen with ffmpeg
26 juin 2015, par kamaeThe ffmpeg is cross-platform and very powerful software to handle video/audio or to stream it.
On Linux ffmpeg can capture X11 screen with a command below :ffmpeg -f x11grab -r 25 -s cif -i :0.0 out.mpeg
But is it possible to grab Windows Desktop with ffmpeg ?
-
SharedArrayBuffer is not defined & SyntheticBaseEvent
3 juin 2024, par Dain Parkthank you for your help with my problem.


I am using FFmpeg.wasm on Next.js to compress videos when users upload them. I then send the videos to a server and save them on AWS S3. For the client side, I'm using Next.js.


To solve the error "SharedArrayBuffer is not defined", I added the following code to next.config.mjs :


/** @type {import('next').NextConfig} */
const nextConfig = {
 reactStrictMode: false,
 async headers() {
 return [
 {
 source: '/(.*)',
 headers: [
 {
 key: 'Cross-Origin-Opener-Policy',
 value: 'same-origin',
 },
 {
 key: 'Cross-Origin-Embedder-Policy',
 value: 'require-corp',
 },
 ],
 },
 ];
 },
};
export default nextConfig;



Here is the code I'm using for video compression :


import { createFFmpeg, fetchFile } from '@ffmpeg/ffmpeg';
const ffmpeg = createFFmpeg({ log: true });

export const compressVideo = async (file: File): Promise<blob> => {
 if (!ffmpeg.isLoaded()) {
 await ffmpeg.load();
 }

 // Write the file to FFmpeg's filesystem
 ffmpeg.FS('writeFile', 'input.mp4', await fetchFile(file));

 // Run the ffmpeg command to compress the video
 await ffmpeg.run('-i', 'input.mp4', '-vf', 'scale=1280:720', '-b:v', '1M', '-c:v', 'libx264', '-preset', 'fast', '-crf', '28', 'output.mp4');

 // Read the output file from FFmpeg's filesystem
 const data = ffmpeg.FS('readFile', 'output.mp4');

 // Convert the output to a Blob
 const compressedVideo = new Blob([data.buffer], { type: 'video/mp4' });

 return compressedVideo;
};

</blob>


This works well, but after that, I got this error : SyntheticBaseEvent on the video tag.


Can anyone help me resolve this issue ?