
Recherche avancée
Autres articles (42)
-
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 -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (5575)
-
File created in subprocess.run not found by os.listdir()
13 novembre 2019, par AbitbolI am using subprocess to launch an instance of ffmpeg extracting frames in a folder. Then I do
os.listdir
on that same folder and it returns an empty list ; off course I would except to see the files created by ffmpeg listed.Here is a minimal example
import os
import subprocess
folder = 'generated'
subprocess.run(['ffmpeg', '-i', 'input.mp4', '-vf', 'fps=4', f'{folder}/%05d.png'])
print(os.listdir(folder)) # []I can testify that the files are created while the script is running.
In the full example I am using ffmpeg complex filter to generate two output, I don’t think that is the source of the problem.
-
Reducing latency of FFmpeg audio stream using Opus encoding
28 septembre 2022, par Victor AlmeidaI'm trying to stream my microphone audio using FFmpeg, but there's a delay of about 3 seconds from when the audio is recorded to when it is played.


The snippet below contains the minimal command for which I can reproduce the problem.


ffmpeg -f dshow -i "audio=Microphone (Realtek(R) Audio)" -f opus - | ffplay -



However, I've tried various other flags to no effect. Such as :


- 

-analyzeduration 0
-loglevel 0
-audio_buffer_size 50
-fflags nobuffer
-flags low_delay
-acodec libopus














Is there any way to reduce the latency to less than a second while still using Opus encoding ?


-
SharedArrayBuffer not defined when using Cypress
15 janvier 2023, par unlocoI'm using Vite and Cypress for dev and testing


I'm loading ffmpeg, it loads fine on Chrome but on Cypress, it gives this error


ReferenceError: SharedArrayBuffer is not defined



Apparently, it's caused by cross origin isolation.


I tried disabling web security in
Cypress.json
but it didn't help

Sample code


import { createFFmpeg } from "@ffmpeg/ffmpeg"

const ffmpeg = createFFmpeg({ log: true })
ffmpeg.load()




Is there a workaround ?


Minimal Repro
https://github.com/unlocomqx/cypress-ffmpeg