
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (53)
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...)
Sur d’autres sites (9219)
-
Swift framework project with internal C module - Undefined symbols for architecture arm64
29 mars 2020, par Phạm Phi PhúcI’m creating Swift framework project using FFmpeg module internally.
Steps are :
- Download source of FFmpeg from official website.
- Build it by build script here : https://github.com/kewlbear/FFmpeg-iOS-build-script
- Copy built file to project
- Create file module.modulemap, it’s content is :
module FFmpeg [system][extern_c] {
header "include/libavcodec/avcodec.h"
header "include/libavdevice/avdevice.h"
header "include/libavfilter/avfilter.h"
header "include/libavformat/avformat.h"
header "include/libavutil/avutil.h"
header "include/libswresample/swresample.h"
header "include/libswscale/swscale.h"
export *
}Project tree is :
- Set Import paths for both project settings and target settings to
$(SRCROOT)/MediaToolkit/Libraries/FFmpeg/**
- My source code is :
import Foundation
import FFmpeg
public class MediaToolkit {
public init(){}
public func hello() {
print("AVFMT_NOFILE: \(AVFMT_NOFILE)")
avformat_network_init()
}
}When I build it, I received error
Undefined symbols for architecture arm64:
"_avformat_network_init", referenced from:
MediaToolkit.MediaToolkit.hello(Swift.String) -> () in MediaToolkit.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)If I remove line
avformat_network_init()
, it will printAVFMT_NOFILE: 1
-
ERROR in ./node_modules/fluent-ffmpeg/index.js Module not found : Error : Can't resolve './lib-cov/fluent-ffmpeg'
3 octobre 2023, par yasgur99When I do
yarn add fluent-ffmpeg
i get this issue :


WARNING in ./node_modules/electron-debug/index.js 96:45-58
Critical dependency: the request of a dependency is an expression
 @ dll renderer

WARNING in ./node_modules/electron-debug/index.js 97:61-74
Critical dependency: the request of a dependency is an expression
 @ dll renderer

WARNING in ./node_modules/fluent-ffmpeg/lib/options/misc.js 27:21-40
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js
 @ ./node_modules/fluent-ffmpeg/index.js
 @ dll renderer

ERROR in ./node_modules/fluent-ffmpeg/index.js
Module not found: Error: Can't resolve './lib-cov/fluent-ffmpeg' in '/Users/yasgur99/Documents/desktopapp/node_modules/fluent-ffmpeg'
 @ ./node_modules/fluent-ffmpeg/index.js 1:48-82
 @ dll renderer




They said they fixed it in this GitIssue : here



Anyone have any advice ?



Some notes : Im using babel, I'm building an electron application


-
Why does it say error finding module when I already installed it
13 mai 2020, par MiqhtieLolI am trying to code a discord music bot and this is my code :



const config = require('config.json')
const Discord = require('discord.js');
const ffmpeg = require('ffmpeg-extra')
const client = new Discord.Client();

client.once('ready', () => {
 console.log('Ready!');
});
client.on('message', message => {
 if(message.content.toLocaleLowerCase() === "elevator"){
 if(message.member.voice.channel){
 message.channel.send("Thanks to https://www.bensound.com for supplying us with this music.")
 play(message.member.voice.channel)
 }
 else {
 message.channel.send("Yo, please join a VC first.")
 }
 }
});

async function play(voiceChannel) {
 const connection = await voiceChannel.join();
 connection.play('elevator.mp3');
}

client.login(config.token);




For some reason even though I installed ffmpeg via npm install ffmpeg it says :



Error: Cannot find module 'ffmpeg-extra'




EDIT : When I use const ffmpeg = require("ffmpeg") I get this error :



UnhandledPromiseRejectionWarning: Error: FFmpeg/avconv not found!