
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (16)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...)
Sur d’autres sites (4184)
-
ffmpeg [10 random images] + [1 random .mp3] = [1 video]
13 octobre 2015, par BrooksGiven :
1 Folder with .jpg files
1 Folder with .mp3 files
1 .txt with a list of file namesWhat I want (and hope someone can help me) to achieve is make a cmd command to tell ffmpeg to :
get 10 random .jpg files
get 1 random .mp3 file
create .mp4 video with the same length as the .mp3
give to the .mp4 file a name from the list in the .txt
Loop above actions for each item in the .txt listI started to test with
"FullPathToFFmpeg.exe" -r 1 -loop 1 -i "FullPathTo.jpg" -i "FullPathTo.mp3" -acodec copy -r 1 -shortest "FullPathTo.mp4"
and it works but if I change the .jpg input to
"FullPathTo\*.jpg"
Can someone please help me with a command or point me in the right direction ?
-
Evolution #3553 : Autorisations pour tous les items du menu de l’espace privé.
27 septembre 2015, par Ybbet SPIPSalut Bruno,
En fait, après investigation les pages interdites sont dues au plugin autorité. Mais cela soulève un autre soucis. J’ai configuré par autorité l’accès aux pages uniquement aux webmestres. Un administrateur (de toutes les rubriques) n’a plus accès aux pages un peu techniques. Le soucis est que SPIP n’enlève pas les items correspondants. Il faudrait avoir une autorisation sur chaque item des sous-menus (avec autoriser_nomitem_menu_dist).
Soit quelque chose comme ça :
function autoriser_configurerinteractions_menu_dist($faire, $type, $id, $qui, $opt) return autoriser(’configurer’, $type, $id, $qui, $opt) ;
function autoriser_configurerlangue_menu_dist($faire, $type, $id, $qui, $opt)
return autoriser(’configurer’, $type, $id, $qui, $opt) ;
function autoriser_configurermultilinguisme_menu_dist($faire, $type, $id, $qui, $opt)
return autoriser(’configurer’, $type, $id, $qui, $opt) ;
function autoriser_configurercontenu_menu_dist($faire, $type, $id, $qui, $opt)
return autoriser(’configurer’, $type, $id, $qui, $opt) ;
function autoriser_configureravancees_menu_dist($faire, $type, $id, $qui, $opt)
return autoriser(’configurer’, $type, $id, $qui, $opt) ;
function autoriser_adminplugin_menu_dist($faire, $type, $id, $qui, $opt)
return autoriser(’configurer’, $type, $id, $qui, $opt) ;
function autoriser_configurerforum_menu_dist($faire, $type, $id, $qui, $opt)
return autoriser(’configurer’, $type, $id, $qui, $opt) ;
function autoriser_configurerrevisions_menu_dist($faire, $type, $id, $qui, $opt)
return autoriser(’configurer’, $type, $id, $qui, $opt) ;
function autoriser_configurerurls_menu_dist($faire, $type, $id, $qui, $opt)
return autoriser(’configurer’, $type, $id, $qui, $opt) ;
function autoriser_restaurer_menu_dist($faire, $type, $id, $qui, $opt)
return autoriser(’configurer’, $type, $id, $qui, $opt) ;
function autoriser_admintech_menu_dist($faire, $type, $id, $qui, $opt)
return autoriser(’detruire’, $type, $id, $qui, $opt) ;
Pour la page prive/squelettes/contenu/configurer_urls.html on n’a pas
(#AUTORISERconfigurer,_urls
. Il n’y a rien de renseigné.
Voilà pour le topo.
-
Getting this error in next js 13 app router “Module not found : Can't resolve './lib-cov/fluent-ffmpeg'”
14 novembre 2023, par Aamir KhanI want to convert mp4 to mp3 using the npm package 'fluent-ffmpeg’, in the express application it is working fine but not in NextJS 13, And even after removing the node_modules folder, package-lock.js and doing "npm install" again, it still didn't work. Does anyone have a solution for this ?


This error is coming in the console.


> my-app@0.1.0 dev
> next dev

 ▲ Next.js 14.0.2
 - Local: http://localhost:3000
 - Environments: .env.local

<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/next isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/next isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
 ✓ Ready in 2.2s
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-win32-ia32-msvc isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-win32-x64-msvc isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-x64-gnu isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-arm64-musl isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-win32-arm64-msvc isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-x64-musl isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-darwin-x64 isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-arm64-gnu isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
 ⨯ ./node_modules/fluent-ffmpeg/index.js:1:48
Module not found: Can't resolve './lib-cov/fluent-ffmpeg'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./src/app/api/new/route.js
 ○ Compiling /not-found ...
(node:3236) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
 ⨯ ./node_modules/fluent-ffmpeg/index.js:1:48
Module not found: Can't resolve './lib-cov/fluent-ffmpeg'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./src/app/api/new/route.js
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/next isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
 ⨯ ./node_modules/fluent-ffmpeg/index.js:1:48
Module not found: Can't resolve './lib-cov/fluent-ffmpeg'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./src/app/api/new/route.js
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-x64-musl isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-win32-ia32-msvc isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-x64-gnu isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-darwin-x64 isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-arm64-musl isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-arm64-gnu isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-win32-arm64-msvc isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-win32-x64-msvc isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-win32-ia32-msvc isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-win32-arm64-msvc isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-win32-x64-msvc isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-x64-musl isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-arm64-musl isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-darwin-x64 isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-x64-gnu isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /Users/creative_aamir/Documents/My Website Projects /nextjs apps/testing-fluent-ffmpeg/node_modules/@next/swc-linux-arm64-gnu isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
</w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w></w>


I also tried creating the webpack.config.js file in the root directory of the project but it did not work


<


import webpack from 'webpack'

module.exports = {
 plugins: [
 new webpack.DefinePlugin({
 'process.env.FLUENTFFMPEG_COV': JSON.stringify(false),
 }),
 ],
};



>


This is my src/app/api/new/route.js file code


import { NextResponse, NextRequest } from "next/server";
import ffmpeg from 'fluent-ffmpeg'
var command = ffmpeg()

export function GET(){

 command.input('mp4/video.mp4')
 
 .save('converted/audio.mp3')

 return NextResponse.json('Done')
}



This is next.config.js file


/** @type {import('next').NextConfig} */

const nextConfig = {}

module.exports = nextConfig



This is package.js file


{
 "name": "my-app",
 "version": "0.1.0",
 "private": true,
 "scripts": {
 "dev": "next dev",
 "build": "next build",
 "start": "next start",
 "lint": "next lint"
 },
 "dependencies": {
 "ffmpeg": "^0.0.4",
 "fluent-ffmpeg": "^2.1.2",
 "next": "14.0.2",
 "react": "^18",
 "react-dom": "^18",
 "webpack": "^5.89.0"
 }
}



How to fix this error ?