
Recherche avancée
Autres articles (95)
-
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 ) (...) -
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 (...)
Sur d’autres sites (25732)
-
Timing breaks concatenating two identical videos after one has ATEMP/SETPTS altered
25 mai 2019, par user3144514Video (B)
Copy pasted and then doubled speed with Setpts and Atempo as Video (A)Concatenating them results in a video with the (A) portion playing at the expected 2x speed, but the (B) portion playing back at 1/2 speed.
I am simply trying to speed up sections of video that are repetative and merge them back in.
I have tried doing another round of SETPTS/ATEMPO with 1.0 values, but it doesn’t alter the outcome.
I have also tried forcibly re-encoding A and B to ensure they match in formats, still no change.
Speed Change
ffmpeg -i source.mp4 -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" A.mp4
Concatenation
ffmpeg -i A.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts x1.ts
ffmpeg -i B.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts x2.ts
ffmpeg -i "concat:x1.ts|x2.ts" -c copy -bsf:a aac_adtstoasc C.mp4Do I need to use some other method to alter the playback rate without changing some internal timing value ?
Or is there some way to fix the rates after adjusting SETPTS and ATEMPO so that the timing is restored ?
-
combine specific mpeg-dash segments (ex int.mp4 + seg_1.m4s +seg_3.m4s) into one single mp4 file
16 avril 2019, par LiquidI am working one video transcoding in FFmpeg and MP4Box. Currently I am trying to combine/merge/concatenate specific MPEG-DASH video segments(m4s ex:int.mp4, seg_1.m4s, seg2,m4s,sge5.m4s) into one mp4 file.
This the example of what I am trying to do.
I have followed this thread ("Combine MPEG-DASH segments (ex, init.mp4 + segments.m4s) back to a full source.mp4 ?") but there is a problem while combining the specific m4s segments, while doing that it frames feazed in after seg2 and in seg5 it played again.
Reference : FFmpeg example
-
Adding watermark to video
27 avril 2018, par equallyheroI am able to use the moviepy library to add a watermark to a section of video. However when I do this it is taking the watermarked segment, and creating a new file with it. I am trying to figure out if it is possible to simply splice in the edited part back into the original video, as moviepy is EXTREMELY slow writing to the disk, so the smaller the segment the better.
I was thinking maybe using shutil ?
video = mp.VideoFileClip("C:\\Users\\admin\\Desktop\\Test\\demovideo.mp4").subclip(10,20)
logo = (mp.ImageClip("C:\\Users\\admin\\Desktop\\Watermark\\watermarkpic.png")
.set_duration(20)
.resize(height=20) # if you need to resize...
.margin(right=8, bottom=8, opacity=0) # (optional) logo-border padding
.set_pos(("right","bottom")))
final = mp.CompositeVideoClip([video, logo])
final.write_videofile("C:\\Users\\admin\\Desktop\\output\\demovideo(watermarked).mp4", audio = True, progress_bar = False)Is there a way to copy the 10 second watermarked snippet back into the original video file ? Or is there another library that allows me to do this ?