
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (71)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (9356)
-
lavfi/loudnorm : add an internal libebur128 library
15 octobre 2016, par Marton Balintlavfi/loudnorm : add an internal libebur128 library
Also contains the following changes to the library :
add ff_ prefix to functions
remove cplusplus defines.
add FF_ prefix to contants and some structs
remove true peak calculation feature, since it uses its own resampler, and
af_loudnorm does not need it.remove version info and some fprintf(stderr) functions
convert to use av_malloc
always use histogram mode for LRA calculation, otherwise LRA data is slowly
consuming memory making af_loudnorm unfit for 24/7 operation. It also uses a
BSD style linked list implementation which is probably not available on all
platforms. So let’s just remove the classic mode which not uses histogram.add ff_thread_once for calculating static histogram tables
convert some functions to void which cannot fail
remove intrinsics and some unused headers
add support for planar audio
remove channel / sample rate changer function, in ffmpeg usually we simply
alloc a new contextconvert some static variables to defines
declare static histogram variables as aligned
convert some initalizations to mallocz
add window size parameter to init function and remove window size setter
functionconvert return codes to AVERROR
fix indentation
Signed-off-by : Marton Balint <cus@passwd.hu>
-
PSNR calculated with ffmpeg behaviours unexpected
16 mars 2017, par muuhI’m trying to calculated the PSNR (Peak Signal to Noise Ratio) between to videos with ffmpeg.
The basic command is :ffmpeg -i reference.avi -candidate.avi -filter_complex "psnr" out.avi
.
If I swap reference.avi and candidate.avi in the command, ffmpeg returns me a different PSNR value. The PSNR is utilizing the mean squared error between the frames, so the order should be irrelevant.According to this answer, this could be caused by different frame rates (or other mismatches in the video).
The suggested code
ffmpeg -i file1 -i file2 \
-lavfi '[0:v]setpts=N[out0];[1:v]setpts=N[out1];[out0][out1]psnr' \
-f null -v info -does not solve the issue.
Further, in my case, candidate.avi are recoded copies of reference.avi(*). They have identical framerates and exactly same runtime. I also validated this withavprobe
.Another possibility I think I can exclude are rounding errors. The results sometimes change from 49dB to 64dB [sic !] dependent on the order of input.
How do I calculate the PRNU correctly with ffmpeg, and what is the reason for this behaviour ?
(*) Recoding done for example with :
ffmpeg -i reference.avi -c:v huffyuv candidate.avi
-
Get waveform data from audio file using FFMPEG
28 janvier 2017, par LutandoI am writing an application that needs to get the raw waveform data of an audio file so I can render it in an application (C#/.NET). I am using ffmpeg to offload this task but it looks like ffmpeg can only output the waveform data as a png or as a stream to gnuplot.
I have looked at other libraries to do this (NAudio/CSCore) however they require windows/microsoft media foundation and since this app is going to be deployed to azure as a web app I can not use them.
My strategy was to just read the waveform data from the png itself but this seems hacky and over the top. The ideal output would be a fix sampled series of peaks in an array where each value in the array is the peak value (ranging from 1-100 or something, like this for example).