
Recherche avancée
Autres articles (59)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (5881)
-
How to monitor volume level during ffmpeg capture
7 septembre 2018, par VirkomI capture sound from soundcard, convert it to mp3 and stream to multicast IP.
Command looks like :ffmpeg -f alsa -i hw:0 -async 1 -vn -acodec libmp3lame -ac 1 -ar 44100 -b:a 128k -flush_packets 0 -f mpegts -pes_payload_size 426 -mpegts_start_pid 0x44 udp://233.21.215.101:1234?pkt_size=1316
But I need to monitor volume level of capturing. If there is no sound (or noise only) I need to switch to another (reserve) channel.
Can I get volume level in ffmpeg output ? How I can do it ?
P.S : I can get volume level by "volumedetect" filter but it’s not in realtime. I need realtime monitoring.
P.P.S : I run ffmpeg programmatically from my application and can’t monitor additional windows (like video frame when I use showvolume filter).
-
advanced ffmpeg compression control
18 juillet 2017, par Daniel MahlerI am using very aggressive video compression, eg
-crf 51
. I am using this for ’artistic’ effect, so what I am doing may not make sense from a normal video compression point of view.So far I have only been using very basic compression control using only the
-crf
or-b:v
flags. The results look like ffmpeg divides images into square patches and the makes smooth approximations within the patches. This gives 2 control dimensions to the process : the patch size and the aggressiveness of the smoothing within the patches.It have found that ffmpeg uses both parameters to some extent, but there appears to be an absolute maximum patch size in pixels beyond which it will not go regardless of the frame size.
After that it will only increase compression by reducing the detail within the patches.This is suboptimal for high resolution video, where this becomes equivalent to reducing the resolution. The problem is particularly noticeable on fractal like images which have large featureless region as well as regions of high detail.
How can I tell ffmpeg to increase the maximum patch size and retain more detail within the patches ?
-
How to detect two identical audio/video files with different volume level ?
3 juillet 2017, par Marina RappoportI’m working on program that could compare 2 video files and show difference.
I compare audio track of files using SOX and FFMPEG :- invert one of the files (sox)
- merge other file and invert version of first (sox)
- detect silence (ffmpeg)
But if two file differs only by volume level - all audio track will be detected as non-silent ranges.
How to understand that 2 files have the same audio track, but with different volume level ?
I tried to change sound level via sox :
sox -v 1.1 input.wav output.wav
And then compare statistical information (-n stat).
It works fine. Result of division parameters audio2/audio1 :Samples read 1.00;
Length (seconds) 1.00;
Scaled by 1.00;
Maximum amplitude 1.10;
Minimum amplitude 1.10;
Midline amplitude 1.10;
Mean norm 1.10;
Mean amplitude 1.00;
RMS amplitude 1.10;
Maximum delta 1.10;
Mean delta 1.10;
RMS delta 1.10;
Rough frequency 1.00;
Volume adjustment 1/1.10;BUT ! When I tried ffmpeg to change volume of video :
ffmpeg -i input.mp4 -vcodec copy -af "volume=10dB" output.mp4
(orvolume=volume=0.5
) and than compared sox audio statistic : I can’t find any patterns...Samples read 1.00
Length (seconds) 1.00
Scaled by 1.00
Maximum amplitude 0.71
Minimum amplitude 0.64
Midline amplitude -2401.73
Mean norm 0.34
Mean amplitude 0.50
RMS amplitude 0.36
Maximum delta 0.37
Mean delta 0.34
RMS delta 0.36
Rough frequency 0.99
Volume adjustment 0.71I will be grateful for any ideas and help.