
Recherche avancée
Autres articles (43)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
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" (...)
Sur d’autres sites (5655)
-
Introducing Matomo SEO Web Vitals
-
FFMPEG : audio unsynchronized, losing framerate and strange behavior when pavucontrol is open
10 mars 2021, par Rik FerreiraI'm trying to record my desktop screen with internal audio and mic, but I'm noticing some issues with the output, according to this empirical scale :


- 

- If I record only the desktop, the output is GOOD.
- If I record the desktop + mic, the output is GOOD.
- If I record the desktop + internal audio only, the output is BAD.
- If I record the desktop + mic + internal audio, the output is BAD.
- If I record the desktop + mic + internal audio + open pavucontrol, the output is GOOD.












Good means the two audio sources and the video are acceptably synchronized and bad means not synchronized at all.


I recorded some samples to show what is going on :


- 

- Screen + Mic + Internal audio
- Screen + Mic
- Screen + Mic + Internal audio + pavucontrol








I'm snapping my fingers near the microphone when the
Beep!
message appears along with the sound.

I'm using a simple script to play a sound and show a message in the terminal instead of using pavucontrol because it masks the problem.


FFMPEG call


Although the entire script is visible in the videos, here is the ffmpeg call in plain text :


Dual audio


ffmpeg -y \
 -f x11grab -s 1920x1080 -i :0.0 \
 -f pulse -i 0 \
 -f pulse -i 1 \
 -filter_complex amix=inputs=2 \
 output.mp4



Only microphone


ffmpeg -y \
 -f x11grab -s 1920x1080 -i :0.0 \
 -f pulse -i 1 \
 output.mp4



Other info


SO : Arch Linux


When pavucontrol isn't open,
pacmd list-source-outputs
returns :0 source output(s) available.
, but when pavucontrol is open :

pacmd list-source-outputs | grep source

2 source output(s) available.
 source: 0 
 module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
 source: 1 
 module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"



What am I missing ? Why the ffmpeg works fine when pavucontrol is open ?


-
Revision f5d3be7e96 : Merge "thumb : Adjust the conversion of the position independent switch"
22 mai 2013, par JohannMerge "thumb : Adjust the conversion of the position independent switch"