
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 (87)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (9994)
-
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 convert cctv footage to h265 for streaming and recording in nginx-rtmp module ?
6 avril 2021, par JoramI am using the
nginx-rtmp-module
here to pull anrtsp
stream from a camera on local network and convert it tortmp
. Thisrtmp
stream is then converted tohls
and made available for livestreaming. It is also being recorded in 5 min segments. (these things can all be seen in thenginx.conf
below).

I want to change the video codec to
h265
to save storage space, since each 5 min video is~230mb
, and usingopencv
andpython
, I was able to get<100mb
per 5 min video usingh265
, so I know there is a lot of space for storage saving.

How can I change the codec of the stream to
h265
?

I have tried installing
libx265-dev
and setting-vcodec libx265
, however this tells meflv
is an invalid container and I'm getting nowhere with finding a valid container for streaming + recording.

My
nginx.conf
:

rtmp {
 server {
 listen 1935; # Listen on standard RTMP port

 application relay {
 
 live on;

 hls on;
 hls_path /tmp/hls;
 hls_fragment 15s;


 exec_static /usr/bin/ffmpeg -i rtsp://test:test@192.168.100.10:8554/fhd -vcodec copy -f flv rtmp://localhost:1935/relay/fhd; 

 # record block 
 record video;
 record_path /tmp/hls;
 record_unique on;
 record_interval 5m;
 }
 }
}



-
node ffmpeg module stuck more than one file
29 mai 2021, par Muhammad Hamzawhen I read more than one file it will be stuck and also hang my pc. I need to restart my pc


on one file or 5 files it will work perfectly but not more than 5 files


if anyone know this issue let me know


const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path
const ffmpeg = require('fluent-ffmpeg')
ffmpeg.setFfmpegPath(ffmpegPath)


const testFolder = './videos/';
const fs = require('fs');

 


fs.readdir(testFolder, async(err, files) => {
 try {
 for(let i = 0; i < 10; i++){
 if(files[i] != '1 Surah Fatiha Dr Israr Ahmed Urdu - 81of81.mp4'){
 
 let converter = await ffmpeg(`./videos/${files[i]}`)
 await converter.setStartTime('00:00:00').setDuration('30').output(`./outputfolder/${files[i]}`).on('end', function(err) {
 if(err) { 
 console.log(`err durinng conversation \n ${err}`) 
 }
 else{
 console.log(`Done ${files[i]}`);
 }
 }).on('error', function(err){
 console.log(`error: ${files[i]}`, err)
 }).run()
 }
 }
 } catch (error) {
 console.log(error)
 }
});