
Recherche avancée
Autres articles (104)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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" (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (10696)
-
Xvfb and pulse audio not sync
14 décembre 2023, par Matrix 404I'm excited to introduce my new JavaScript server-side library called XFP Streamer, designed to handle recording and streaming Puppeteer window content. However, I'm currently facing an issue with audio synchronization, and I could really use some help from someone experienced with ffmpeg and recording in general.


The library's repository is available on GitHub, and I warmly welcome any contributions or assistance. Feel free to check it out at https://github.com/mboussaid/xfp-streamer.


Below is a simple example demonstrating how to record the Google website into a file.flv video file using XFP :


const XFP = require('./index');
XFP.onReady().then(async ()=>{
 // create new xfp instance
 const xfp = new XFP({
 debug:1
 });
 await xfp.onStart();
 // record everyting inside the file file.flv
 xfp.pipeToFile('file.flv',{
 debug:1
 })
 // xfp.pipeToRtmp('file.flv','RTMP LINK HERE')
 await xfp.onUseUrl('https://www.google.com') // navigate to google
 setTimeout(async ()=>{
 await xfp.onStop();
 },5000) // stop everyting after 5 seconds
},(missing)=>{
 // missing tools
 console.log('Missing tools',missing)
})



Please note that to ensure proper functionality, you will need to have the following tools installed :


pulseaudio
xvfb
ffmpeg
pactl
pacmd
Currently, I'm facing an issue with audio and video synchronization not working as expected. If you have experience with ffmpeg and recording, I would greatly appreciate your help in resolving this issue.


Thank you all for your support, and I look forward to your contributions !


Best regards,


-
How to change python runtime in firebase functions
1er août 2023, par MrBomI currently have python311, but it seems that it doesnt include ffmpeg. So I'm looking for ways to either change to python39 or figure out how to install and use ffmpeg.


When I try


import subprocess
print(subprocess.run(shlex.split("ffmpeg -version")))



inside a firebase function, all I get is
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

I've tried a few different places like /opt/bin/ffmpeg or ffmpeg/ffmpeg since I have have ffmpeg inside the folder functions, but it always the same error.

Recommendation to use python39 for ffmpeg


Edit : Things I found but couldnt get it to work :


gcloud functions deploy <my function="function"> --runtime python39</my>




-
How to scale video in front of image using ffmpeg ? [closed]
29 juillet 2022, par NigrimmistWhat i have :


png picture dem.png (not transparent) and video cat.mp4


Current result :




by executing :


ffmpeg -i cat.mp4 -framerate 30 -i dem.png -filter_complex "[1][0]overlay=x=100:y=100" -c:a copy -movflags +faststart out2.mp4



How can i scale mp4 in case i know paddings/required height/width of scaled mp4 here ?


Very beginner in ffmpeg. I know, i need to use
scale
param, but can't understand how to do it with my current ffmpeg command.

Maybe someone know how to do it ?


Files are here if you need : https://drive.google.com/drive/folders/1gKJCyVU0IgJ8g3zWFhCA-L93lDOWyOS-?usp=sharing