
Recherche avancée
Autres articles (39)
-
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 ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (8040)
-
Creating video from audio and resized image using FFMPEG
26 septembre 2018, par nemeskeriorsIm trying to create an mp4 video from an mp3 and an image with ffmpeg. The video should be the size of 640x360 with black background and the image should be resized to fit in this dimensions and centred in the middle. The video’s length must match the mp3’s length.
Its basically a video creation for youtube from a song and an artwork.
For now i was able to achieve this with 3 steps :
- resize image :
-i %image% -vf scale='if(gt(a,4/3),640,-1)':'if(gt(a,4/3),-1,360)' %resized_image%
- create a music video with black background :
-f lavfi -i color=s=640x360 -i %audio_file% -c:v libx264 -s:v 640x360 -c:a aac -strict experimental -b:a 320k -shortest -pix_fmt yuv420p %video%
- put the resized image centred in the video :
-i %video% -i %resized_image% -filter_complex "overlay=(W-w)/2:(H-h)/2" -codec:a copy %final_video%
Is it possible to achieve all this with one ffmpeg command ?
-
FFMpeg : Convert image + audio to MP4 60FPS including FadeIn / FadeOut and overlay
6 juillet 2022, par Dev01Here is what I'm trying to achieve :


- 

- Inputs are an MP3 or WAV, and an image (JPG or PNG)
- The output should be an MP4 video with the MP3 audio with the image, at 60FPS for a very smooth fade in/fade out (black) on the video (1s each)






I strugguling to make this fade in / fade out.
Here is what I have :


ffmpeg -r 1 -loop 1 -i image.jpg -i audio.mp3 -acodec copy -r 60 -shortest -vf fade=in:0:01 -pix_fmt yuv420p output.mp4



My fadein is static, so black image and then my video, not smooth.
How do I get a smooth 60FPS fade ?


I also have another request, let's say I have an overlay video that I want to concatenate to my video. If I concatenate a video to the existing video, the overlay will also be on top of the fades which is not right, how can I achieve this ? Thank you so much.


-
Using ffmpeg to stream to Facebook Live Video : can preview, but not go live
17 novembre 2016, par Einar MagnússonI am trying to stream a webpage to Facebook Live video using ffmpeg. I know I can use OBS, but I’m trying to do it from a server, so I can’t go with OBS. It works fine when I’m previewing, but as soon as I press ’Go live’, at first it seems like it’s starting, but then when it takes me to the live view it just says that the video has ended. I even checked the error of the video log using Graph API, nothing. I’m using PhantomJS to pipe screenshots to ffmpeg :
phantomjs phantom.js | ffmpeg -y -c:v mjpeg \
-f image2pipe \
-r 5 -i \
- -c:v libx264 \
-x264-params keyint=5 \
-b:v 1000k -minrate 1000k -maxrate 1000k -bufsize 500k \
-f flv 'rtmp://rtmp-api.facebook.com:80/rtmp/xxxxxxxxxxxxxxxx'As I said, it’s working fine in the preview of the live stream on Facebook, but just ends immediately when I go live. I added the bitrate options to try to keep a constant bitrate as mandated by Facebook (https://developers.facebook.com/docs/videos/live-video/production-broadcasts), and I have a keyframe every 5 frames (rather low frame rate at 5fps) so that requirement is fulfilled as well.
I’m not sending any audio, could that cause a problem ?