
Recherche avancée
Autres articles (29)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (5953)
-
Module not found : Can't resolve './lib-cov/fluent-ffmpeg'
29 mars 2021, par anInputNameI created this project using
npx create-react-app
, and I'm trying to useffmpeg-concat
, but I get the error in the title. Node versionv14.15.1
, npm version7.7.5
. I haveffmpeg
installed and in my PATH.

Error :


./node_modules/fluent-ffmpeg/index.js
Module not found: Can't resolve './lib-cov/fluent-ffmpeg' in 'C:\Users\XXX\Desktop\test\node_modules\fluent-ffmpeg'



My code :


function App() {
 //this is taken from ffmpeg-concat documentation page
 const concat = require('ffmpeg-concat')
 await concat({
 output: 'test.mp4',
 videos: ["videos/a.mp4", "videos/b.mp4", "videos/c.mp4"],
 transition: {
 name: 'directionalWipe',
 duration: 500
 }
 })

 return (
 <div classname="App">
 <header classname="App-header">
 <video input="{"test.mp4"}"></video>
 </header>
 </div>
 );
}

class Video extends Component {
 render() {
 return (
 
 )
 }
}

export default App;



index.js
innode_modules\fluent-ffmpeg\
:

module.exports = process.env.FLUENTFFMPEG_COV ? require('./lib-cov/fluent-ffmpeg') : require('./lib/fluent-ffmpeg');



-
How to handle FFMPEG module missing probe inside docker ?
2 avril 2021, par DarkFantasyI am AWARE of how to solve this problem of missing problem module with spleeter on WINDOWS. Here is the solution
https://github.com/deezer/spleeter/issues/101


How can I achieve the same inside my docker container ? In my docker file, the FFMPEG is being installed but it is missing the probe module. This is a common problem but one that I don't know how to solve inside of Docker.


I tried doing


RUN apt-get install -y ffmpeg
RUN pip uninstall ffmpeg-python
RUN pip install -r requirements.txt



in my docker file but didn't work. The thing is, it was all working until last night. Today morning, I am getting this error when I rebuilt my docker image. Any help is appreciated.


-
Why does this python ffmpeg module output h.264 instead of h.265 when downloading a video ?
16 mars 2021, par pythondealerI'm trying to use this python module to download a video and transcode it to h.265


For some reason whenever I run my script it outputs h.264, no matter which format I specify.


Here is my code :


import ffmpeg_streaming as ffmpeg

video = ffmpeg.input(vid_url)
stream = video.stream2file(ffmpeg.Formats.hevc())
stream.output('test.mp4')



This should output 'test.mp4' encoded using h.265, however it is always h.264


Any ideas how I can fix this ?