
Recherche avancée
Autres articles (67)
-
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 ;
-
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (10432)
-
Drawing text on video with avconv only at the start of the video
21 juillet 2013, par GaelI want to embed the creation date of personnal videos, but only at their start (let say the 10 first seconds).
I'm using the drawtext of avconv :
avconv -i input.avi -vf
"drawtext=fontcolor=white:fontsize=30:fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf:text='$date':x=30:y=h-text_h-30"
test.mpgbut I do not find any option to tell to just write the date on only a portion of the video. I could split the start of the video, or make an srt file, but there is probably an easier solution.
-
Looking for video libraries for editing video on windwos/ios/azure service
15 juillet 2015, par sanyamWhich library would be a good bet in terms of ...
1. Richness in features (I want to create a video from short clips and images with effects and filters). Think auto videos created from Google Photos.
2. Extensibility - I would prefer using similar tech on IOS and Windows apps. Might have to offload some processing to a web service on Azure (windows or linux).
3. Programmability - An API is preferred over command line as it gives more flexibility and better error handling.Given all these options, what is my best bet ? I’ve only looked at ffmpeg till now, is there a better alternative ?
-
ffmpeg video rendering command adding empty audio to end of video
13 janvier 2020, par MartinI have an ffmpeg command which is supposed to take an mp3 file and image file as inputs, and render a music video with the image as the background and the video length is the exact length of the mp3 audio file input.
I was using this command :
ffmpeg -loop 1 -framerate 2 -i "front.jpg" -i "audioInput.mp3" -vf "scale=2*trunc(iw/2):2*trunc(ih/2),setsar=1,format=yuv420p" -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a aac -b:a 320k -shortest -vf scale=1920:1080 -pix_fmt yuv420p "videoOutput.mp4"
But the problem was that my audioInput.mp3 file is 1 minute 12 seconds long, and my output video was 1 minute 39 seconds, with an added couple seconds of silence at the end of the video.
I asked a question on stackoverflow and it was closed/linked to this question. The accepted answer says that this command would not add extra seconds onto the end of the video :
ffmpeg -y -loop 1 -framerate 2 -i "front.jpg" -i "maintheme.mp3" -c:v libx264 -tune stillimage -c:a aac -b:a 320k -pix_fmt yuv420p -shortest -fflags +shortest -max_interleave_delta 100M "result2.mp4"
I tried using this command, and my output video was still 1.14 seconds long.
I tried the command again with a different audio file (flac) and the video output had again 2 seconds of blank audio at the end. Is one of my flags causing extra space to be appended ? Can I cut the video’s length to be that of the audio file ?