Recherche avancée

Médias (91)

Autres articles (39)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (5161)

  • FFMpeg : Convert image + audio to MP4 60FPS including FadeIn / FadeOut and overlay

    6 juillet 2022, par Dev01

    Here is what I'm trying to achieve :

    


      

    1. Inputs are an MP3 or WAV, and an image (JPG or PNG)
    2. 


    3. 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)
    4. 


    


    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.

    


  • Creating video from audio and resized image using FFMPEG

    26 septembre 2018, par nemeskeriors

    Im 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 :

    1. resize image :

    -i %image% -vf scale='if(gt(a,4/3),640,-1)':'if(gt(a,4/3),-1,360)' %resized_image%

    1. 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%

    1. 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 ?

  • How do I blackout a video for various time periods

    17 janvier 2018, par Tim Clemans

    I want to say black out the video, keep audio, from minute 1 to 1:30 and 5 to 5:45 how would I do that ?