
Recherche avancée
Autres articles (19)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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.
Sur d’autres sites (5148)
-
ffmpeg to normalize loudness of a video
16 décembre 2022, par A PersonI wanted to know if there was a way for me to normalised the sound from a video to EBU R128 standard.


Current I am trying to do the 2 step bypass but I am unsure where I am going wrong.


these are the command I did :


ffmpeg -i D:\Person\Documents\Projects\IngestQC\ABN_.mxf -af loudnorm=I=-23:dual_mono=true:TP=-2:LRA=7:print_format=summary -f null -


The result is this :


"
[Parsed_loudnorm_0 @ 000002107bee2dc0]
Input Integrated: -17.4 LUFS
Input True Peak: +0.0 dBTP
Input LRA: 8.4 LU
Input Threshold: -27.9 LUFS

Output Integrated: -22.9 LUFS
Output True Peak: -4.2 dBTP
Output LRA: 6.4 LU
Output Threshold: -33.2 LUFS

Normalization Type: Dynamic
Target Offset: -0.1 LU
"



After that, I am doing this


ffmpeg -i D:\Person\Documents\Projects\IngestQC\abn.mxf -c:v copy -c:a pcm_s24le -ac 2 -af loudnorm=I=-23:TP=-2:LRA=7:measured_I=-17.4:measured_TP=0:measured_LRA=8.4:measured_thresh=-27.9:offset=-0.1:linear=true:print_format=summary -ar 48000 D:\Person\Documents\Projects\IngestQC\abn_done.mxf


However, when testing this against eFF to see if it is EBU R128 compliant (-23), it says that it's not compliant.


eFF says its value was :


Channel Group Information
Number of Groups: 2
Channel Group Layout: Mono_Mono
Channel Group Name: MonoOne
Loudness Specification: EBU R128
Loudness Units: LUFS
Program Loudness Target: -23.0 LUFS
Program Loudness: -26.0 LUFS
Loudness Range: 6
PPM Scale: BBC
PPM Threshold: 8.00
Max PPM: 6.62
True Peak Threshold: -3.00 dBTP
Maximum True Peak: -5.00 dBTP
Attenuation required for file to meet target: 3.0
Channel Group Name: MonoTwo
Loudness Specification: EBU R128
Loudness Units: LUFS
Program Loudness Target: -23.0 LUFS
Program Loudness: -26.0 LUFS
Loudness Range: 6
PPM Scale: BBC
PPM Threshold: 8.00
Max PPM: 6.62
True Peak Threshold: -3.00 dBTP
Maximum True Peak: -5.00 dBTP
Attenuation required for file to meet target: 3.0
1



I am not sure what i am doing wrong


I want to know if there is a way to get it to give the correct audio loudness while keeping it the same format of mxf


-
Revision 49516 : Le constructeur de formulaire peut prendre des options en troisième ...
8 juillet 2011, par rastapopoulos@… — LogLe constructeur de formulaire peut prendre des options en troisième argument. La première option possible est la possibilité de modifier le nom des champs (modifier_nom=true). Avec une autre option (nom_unique=true) on peut vérifier que le nom fournit par l’utilisateur n’existe pas déjà dans le (...)
-
ffmpeg writing the output of the command to a text file doesn't work with C#
5 février 2021, par LifshitzI am using ffmpeg commands with C# processes. I used a command to change the audio of a video and it was working but I also wanted to write the output to a text file. The new command works from cmd but apparently, it does not work while using a C# process.
The command that does not work with the Process is :


ffmpeg -i videoPath -i audioPath -c:v copy -map 0:v:0 -map 1:a:0 -shortest newVideoPath > textFilePath 2>&1



And the working command is the same without the last part :


ffmpeg -i videoPath -i audioPath -c:v copy -map 0:v:0 -map 1:a:0 -shortest newVideoPath



Here is the C# code :


Process proc = new Process();
 proc.StartInfo.FileName = ffmpegPath;
 proc.StartInfo.RedirectStandardError = true;
 proc.StartInfo.RedirectStandardOutput = true;
 proc.StartInfo.UseShellExecute = false;
 proc.StartInfo.CreateNoWindow = true;
 proc.StartInfo.Arguments = "-i " + videoPath + " -i " + newAudioPath + " -c:v copy" + " -map" + " 0:v:0 " + "-map 1:a:0 " + "-shortest " + newVideoPath + " > " + @"F:\Videos\log.txt"+ " 2>&1";
 proc.EnableRaisingEvents = true;
 proc.Exited += UpdateVideoSource;
 proc.Start();



I checked the arguments over and over again, and looked for missing spaces but nothing worked.
What can be the problem ?