Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (55)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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, par

    Pré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 ) (...)

Sur d’autres sites (7434)

  • Trying to combine 2 FFmpeg commands

    21 août 2019, par user11588722

    I have 2 FFmpeg commands which I need t combine, for the sake of speed.

    This one builds a simple slideshow using a list of images located on my remote server.

    ffmpeg -y -f concat -safe 0 -protocol_whitelist "file,http,https,tcp,tls" -i "Temp/images.txt" -filter_complex "[0]scale=7680x4320,zoompan=z='if(lte(zoom,1.0),1.2,max(1.001,zoom-0.0006))':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':fps=30:d=300" -c:v libx264 -preset veryfast -shortest "Temp/video.mp4"

    This one overlays the video we just created aswel as another video (marquee.mp4) and a showwaves effect ontop of a background image, then adds audio. (showwaves effect is tied to said audio)

    ffmpeg -y -framerate 30 -i "Assets/Screens/background.png" -i "Temp/audio.mp3" -filter_complex "movie=Temp/video.mp4[a];movie=Temp/marquee.mp4:loop=0,setpts=N/FRAME_RATE/TB[b];[0][a]overlay=570:70[c];[c][b]overlay=570:880[d];[1:a]showwaves=mode=cline:s=254x81:scale=sqrt:colors=0x222222,colorkey=0x000000:0.01:0.1,format=yuva420p[w];[d][w]overlay=148:375,scale=1920:1080[outv]" -map "[outv]" -map 1:a -movflags +faststart -c:v libx264 -c:a aac -preset veryfast -shortest done.mp4

    Would it be possible to combine all of this into one command ? So that rather than taking the created slideshow video and overlaying, it just generates the slideshow in-place.

    Thank you for your time.

  • How can I merge these 2 FFmpeg commands ?

    7 juin 2019, par WebDev

    I have two commands which are part of a larger set of commands. Basically I need to merge these two into one command to speed things up.

    ffmpeg -y -f concat -safe 0 -protocol_whitelist "file,http,https,tcp,tls" -i "photos.txt" -i "mainscreen.png" -i "audio.mp3" -filter_complex "scale=3840x2160,zoompan=z='if(lte(zoom,1.0),1.2,max(1.001,zoom-0.0015))':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':s=1280x720:fps=15:d=120, overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2, drawtext=fontfile=font.otf:text='%%~ni':fontcolor=black:fontsize=32:x=90:y=582" -preset veryfast -tune stillimage -shortest -pix_fmt yuv420p "slideshow.mp4"

    ffmpeg -y -i "slideshow.mp4" -filter_complex "[0:a]showwaves=mode=cline:s=110x36:r=15:scale=sqrt:colors=0x222222,colorkey=0x000000:0.01:0.1,format=yuva420p[v];[0:v][v]overlay=77:444,scale=1280:720[outv]" -map "[outv]" -map 0:a -preset veryfast "done.mp4"

    Firstly creates a slideshow and adds text, then draws a showwaves effect onto the video.

    Update

    From Gyan’s response, and after tinkering for a while, it kind of works how I needed it to. It does what I wanted, but keeps throwing "depreciated pixel format" error. Here’s the updated command once I finished. What is the problem, and is the command written properly ?

    ffmpeg -y -f concat -safe 0 -protocol_whitelist "file,http,https,tcp,tls" -i "images.txt" -i "screen.png" -i "audio.mp3" -filter_complex "scale=3840x2160,zoompan=z='if(lte(zoom,1.0),1.2,max(1.001,zoom-0.0015))':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':s=1280x720:fps=15:d=120, overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2, drawtext=fontfile=Assets/Fonts/font.otf:text='%%~ni':fontcolor=black:fontsize=32:x=90:y=582[v];[2:a]showwaves=mode=cline:s=110x36:r=15:scale=sqrt:colors=0x222222,colorkey=0x000000:0.01:0.1,format=yuva420p[w];[v][w]overlay=77:444,scale=1280:720[outv]" -map "[outv]" -map 2:a -c:v libx264 -c:a aac -preset veryfast -shortest -pix_fmt yuv420p "done.mp4"

    Second update

    Thanks to Gyan for helping me better understand the command. Here is the final code which does what I need :

    ffmpeg -y -f concat -safe 0 -protocol_whitelist "file,http,https,tcp,tls" -i "images.txt" -i "screen.png" -i "tmp.audio.mp3" -filter_complex "[0]scale=3840x2160,zoompan=z='if(lte(zoom,1.0),1.2,max(1.001,zoom-0.0015))':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':s=1280x720:fps=15:d=120, overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2, drawtext=fontfile=font.otf:text='%%~ni':fontcolor=black:fontsize=32:x=90:y=582[v];[2:a]showwaves=mode=cline:s=110x36:r=15:scale=sqrt:colors=0x222222,colorkey=0x000000:0.01:0.1,format=yuva420p[w];[v][w]overlay=77:444,scale=1280:720[outv]" -map "[outv]" -map 2:a -preset veryfast -shortest -pix_fmt yuv420p "done.mp4"

    Only change from Gyan’s code is I removed [p] ;[1][p] and replaced with a comma to achieve what I needed. Seems to work perfect now, ignoring the depreciated pixels warning.

  • Missing ffmpeg https protocol : How to add https protocol in ffmpeg installed in Elastic beanstalk ?

    24 novembre 2023, par threeFatCat

    I installed ffmpeg latest static build in my Elastic Beanstalk instance following this answer.

    


    When I run my code in the server I got this message :

    


    https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.


    


    I checked the buildinfo in https://johnvansickle.com/ffmpeg and https protocol is listed as supported, but when I run :

    


    ffmpeg -protocols


    


    https is missing.

    


    How do I proceed ?