
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (93)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (6403)
-
Adding subtitles with FFMpegCore in C# is not working on Azure Function
1er février 2024, par Skerdi BerberiI have deployed a C# azure function with ffmpeg.exe (using FFMpegCore nuget). The function adds audio and srt/ass subtitles to a video.
When I test locally this code works (running on azurite). But, when I deploy the azure function, the audio is added to the video but the subtitles don't show up.


At the begining I thought it was an issue with the Fonts because I was using ASS File for subtitles but then I switched to SRT and still is not working.


I've tried with both SRT and ASS but they both don't work using this code :


await FFMpegArguments
 .FromFileInput(videoInputPath, true, options =>
 {
 options.WithCustomArgument("-stream_loop -1");
 })
 .AddFileInput(audioPath, true)
 .OutputToFile(videoOutputPath, true, (options) =>
 {
 options.WithDuration(thread.AudioData.TotalAudioDuration);

 options.WithVideoCodec(VideoCodec.LibX264); // Re-encode video using x264 codec
 options.WithAudioCodec(AudioCodec.Aac); // Re-encode audio to AAC
 options.WithSpeedPreset(Speed.VeryFast);
 options.UsingShortest(true);

 options.WithVideoFilters((videoOptions) =>
 {
 videoOptions.HardBurnSubtitle(SubtitleHardBurnOptions.Create(subtitlesFile));
 });
 }).ProcessAsynchronously();



Here's the command it creates on Azure function :


ffmpeg -stream_loop -1 -i "C:\local\Temp\videoTempPath.mp4" -i "C:\local\Temp\audioTempPath.mp3" -t 00:00:22.8160000 -c:v libx264 -c:a aac -preset veryfast -shortest -vf "subtitles='C\:\\local\\Temp\\subtitles.srt'" "C:\local\Temp\output.mp4" -y



-
Revision 0312c3d6d9 : Make get_eob() function static. Change-Id : Idde3ab97960eda7022367c1f91a873a479b
23 novembre 2012, par Ronald S. BultjeChanged Paths : Modify /vp9/decoder/detokenize.c Make get_eob() function static. Change-Id : Idde3ab97960eda7022367c1f91a873a479bc9d7b
-
Revision 5b87240230 : Remove unused function vp9_build_inter4x4_predictors_mbuv(). Change-Id : Ibfd2de
3 juillet 2013, par Ronald S. BultjeChanged Paths :
Modify /vp9/common/vp9_reconinter.c
Remove unused function vp9_build_inter4x4_predictors_mbuv().Change-Id : Ibfd2def2c088f4bc541a1de25990d73480b53d4b