Recherche avancée

Médias (91)

Autres articles (73)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (6168)

  • FFMpeg giving invalid argument error with python subprocess

    23 janvier 2020, par Emre Erol

    I am trying to convert a file or microphone stream to 22050 sample rate and change tempo to double. I can do it using terminal with below code ;

    #ffmpeg -i test.mp3 -af asetrate=44100*0.5,aresample=44100,atempo=2 output.mp3

    But i can not run this terminal code with python subprocess. I try many things but every time fail. Generaly i am taking Requested output format ’asetrate’ or ’aresample’ or ’atempo’ is not suitable output format errors. Invalid argument. How can i run it and take a stream with pipe ?

    song = subprocess.Popen(["ffmpeg.exe", "-i", sys.argv[1], "-f", "asetrate", "22050", "wav", "pipe:1"],
                           stdout=subprocess.PIPE)
  • ffmpeg normalization waveform

    29 octobre 2020, par user3633178

    Im creating waveform's to my audio player by code :

    



    ffmpeg -i source.wav -filter_complex "aformat=channel_layouts=mono,showwavespic=s=1280x90:colors=#000000" -frames:v 1 output.png


    



    Sometimes waveform looking so bad like here :

    



    enter image description here

    



    Sometime in other song looking good like here :

    



    enter image description here

    



    So first waveform is tiny.. How can I normalize scale output waveform to size of output image 90px height ?

    


  • FFmpeg combine Stream Loop and Filter into one command

    5 juin 2022, par Ace

    I'm currently running two FFmpeg commends :

    


    [1] Looping a video for the entire duration of an audio file.

    


    ffmpeg  -stream_loop -1 -i 1min-loop.mp4 -i 2min-song.mp3 -shortest -map 0:v:0 -map 1:a:0 -y looped-video.mp4


    


    [2] Taking the resulting file add overlaying image files.

    


    ffmpeg -i looped-video.mp4 -i overlay.png -i art.jpeg -filter_complex "\
  [2:v]scale=400:400[resized-artwork];\
  [0][resized-artwork]overlay=100:100[vid-and-artwork];\
  [vid-and-artwork][1:v]overlay=0:0" final-video.mp4


    


    Is it possible to combine these into one command ? Thx