
Recherche avancée
Autres articles (48)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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.
Sur d’autres sites (6831)
-
hevc : deobfuscate slice/tile boundary handling for DBF
27 juillet 2014, par Anton Khirnov -
Grep for a number between a certain range - Checking WAV Quality
11 août 2014, par BT643I’m trying to write a regular expression (to be used in conjunction with ffmpeg, which can check that a WAV file is over a certain quality.
The minimum should be :
Audio Channels : 2 (Stereo)
Audio Sample Rate : 44,100 Hz
Audio Bitrate : 1411 Kbps
Audio Bit Depth : 16 bitSo I’ve tried the following commands so far :
/usr/local/bin/ffmpeg -i "/path/to/file.wav" 2>&1 | egrep 'stereo|2 channels'
This works fine to get a stero (2 channel) WAV. I’m getting issues with the next part, searching between a range of numbers.
/usr/local/bin/ffmpeg -i "/path/to/file.wav" 2>&1 | egrep 'stereo|2 channels' | egrep '[41000-196000] Hz'
Obviously this just searches each number individually, so it’s finding results if there’s a 4 OR 1 OR 0 OR 0 OR 0 etc...
The bit rate and bit depth just needs to be OVER 1411 and 16 respectively.
Thanks
EDIT -
Here’s the ffmpeg output for a low quality WAV which should be rejected :ffmpeg version git-2012-05-22-27127eb Copyright (c) 2000-2012 the FFmpeg developers
built on May 22 2012 12:27:21 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
libavutil 51. 53.100 / 51. 53.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 6.100 / 54. 6.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 75.100 / 2. 75.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[wav @ 0x355b140] max_analyze_duration 5000000 reached at 5056000
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from '/path/to/file.wav':
Duration: 00:02:28.47, bitrate: 512 kb/s
Stream #0:0: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 32000 Hz, stereo, u8, 512 kb/s -
Gettting silence level to be used with silencedetect automatically
3 mai 2017, par P. DeeMy goal is to find the average or maximum silent level in dB to use it with
silencedetect
. I foundvolumedetect
and I thought to use thehistogram_
results to find the lowest dB numbers(low as in -40dB, -50dB etc.) with a high number of occurrences.What is a better idea ? Can it be combined with the silencedetect command, so I don’t need to enter the dB-Value at all ?