
Recherche avancée
Autres articles (108)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
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 (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (9793)
-
ffmpeg : How does one designate what parts of an overlay video stream let the underlay video stream show through ?
21 février 2023, par Walt HowardStream 0 is a rotating planet created using povray. (https://www.povray.org/)


Stream 1 is just a static jpeg of stars.


I'm using overlay like this :


nice ffmpeg -i protoplanet.mp4 -i stars.jpg \
 -filter_complex "[0:v]scale=1024:768[scaled];[1:v][scaled]overlay=0:0" \
 -movflags faststart -pix_fmt yuv420p -r 10 planet.mp4



I had it working when I used the output from povray directly. I didn't have to know why that worked, because it just did. However, after adding some post processing to the planet video, the entire video has no alpha channel (educated guess) so the background stream (Stream 1) cannot show through.


The post processing I did was this (which works great) : https://www.reddit.com/r/ffmpeg/comments/im2mkp/creating_a_retro_glow_effect_with_ffmpeg/


But that made the video unable to have an overlay background possibly due to it destroying the alpha channel and turning many of the blacks to dark grey.


I can merge the pure POVRAY output and the background and then add the glow effect, but it adds the effect to the background stars and captions also which ruins the effect to some degree. I want to glo-ify the planet first, then stick it on a pure starfield background.


In thinking this over I may have to recreate the alpha channel after adding the glow effect, using a nearest match to black and dark grey to alpha.


Hmmm. It might be a codec issue as I didn't specify any -c:v in any of my commands....


-
How to show subtitle on video in ffmpeg
19 février 2023, par AmmaraI am working with ffmpeg. I use below code to show subtitle on video. I create video but subtitle did not show. Please help me
Here is my code. here is my abc.srt file. I store this to my download folder of mobile


1
00:00:00,000 --> 00:00:01,500
This an example subtitle

2
00:00:01,600 --> 00:00:02,500
<i>Italic style</i>

3 
00:00:03,000 --> 00:00:15,000
 Video by Tiger Lily on pexels.com



here is ffmpeg command


String srt=BASE_PATH+'abc.srt';
 String CommandOverlay=' -i ${video1} -i "$srt" -c:v copy -c:a copy -c:s mov_text ${OUTPUT_PATH}';
 await FFmpegKit.execute(CommandOverlay).then((session) async {
 final returnCode = await session.getReturnCode();
 if (ReturnCode.isSuccess(returnCode)) {print("Task Completed");}
 else if (ReturnCode.isCancel(returnCode)) {print("cancel");}
 else {print("error ");}
 });
}else if (await Permission.storage.isPermanentlyDenied) {
 openAppSettings();
}



It generates video without any subtitle


-
Show video length in HLS player before all TS files are created
14 novembre 2022, par WilliamTacoI have a spring-boot backend which on request (on demand) uses ffmpeg to create a m3u8 playlist with its ts files from a mp4 file. So basically my react frontend requests the index.m3u8 from the backend and if it doesnt already exist it creates it and then start serving it with its ts files. This causes the frontend HLS player to show the length of the video to the combined length of the generated chunks which gets longer as time goes on until its fully there. It totally makes sense but was wondering what the correct way of showing the full length in the player even though its not fully created yet ?


Im using react-hls-player for playing the stream and spring-boot + a java ffmpeg wrapper to transcode the video.


Might be thinking about this the wrong way so feel free to correct me if im in the wrong path !