Recherche avancée

Médias (0)

Mot : - Tags -/api

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (58)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (14049)

  • Merge Audio and Video using ffmpeg - Python Lib [duplicate]

    15 janvier 2021, par badr

    i have tried

    


    import ffmpeg
video = ffmpeg.input('video.mp4')
audio = ffmpeg.input('audio.mp3')
ffmpeg.merge_outputs(video, audio).run()


    


    and it returns

    


    TypeError: Expected incoming stream(s) to be of one of the following types: ffmpeg.nodes.OutputStream; got <class>&#xA;</class>

    &#xA;

    and i have tried

    &#xA;

    import ffmpeg&#xA;video = ffmpeg.input(&#x27;video.mp4&#x27;)&#xA;audio = ffmpeg.input(&#x27;audio.mp3&#x27;)&#xA;ffmpeg.concat(video, audio, v=1, a=1).output(&#x27;finished_video.mp4&#x27;).run()&#xA;

    &#xA;

    and it returns

    &#xA;

    FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;

    &#xA;

    also i did try

    &#xA;

    import subprocess    &#xA;subprocess.run("ffmpeg -i video.mp4 -i audio.mp3 -c copy output.mp4")&#xA;

    &#xA;

    and it returns

    &#xA;

    &#x27;ffmpeg&#x27; is not recognized as an internal or external command&#xA;

    &#xA;

    how can i do it right ?

    &#xA;

  • PHP and FFMPEG - Performing intelligent video conversion

    24 décembre 2012, par Andrew

    I have an oddly difficult task to perform. I thought it would be easy, but all my efforts have been fruitless.

    I'm converting videos uploaded to a php script from various formats (.avi, .mpg, .wmv, .mov, etc.) to a single .flv format. The conversion is working great but what I'm having trouble with is the resolution of the videos.

    This is the command I'm currently running (with PHP vars) :

    ffmpeg -i $original -ab 96k -b 700k -ar 44100 -s 640x480 -acodec mp3 $converted

    Both $original and $converted contain the full paths to those files. My problem is that this always converts to 640x480 (like I'm telling it to) even when the source is smaller. Obviously, this is a waste of disk space and bandwidth when the video is downloaded. Also, this doesn't account for input videos being in any aspect ratio other than 4:3, resulting in a "squished" conversion if I upload a 16:9 video.

    There are 3 things I need to do :

    1. Determine the aspect ratio of the original video.
    2. If not 4:3, pad top and bottom with black bars.
    3. Convert to 640x480 if either dimension of the original is larger or a 4:3 aspect ratio relating to the width/height of the original (whichever is closer to 640x480).

    I've run ffmpeg -i on a few videos, but I don't see a consistent format or location to find the original's resolution from. Once I'm able to figure that out, I know I can "do the math" to figure out the right size and specify padding to fix the aspect ratio with -padttop, -padbottom, etc.

  • Video conversion online - transloadit http upload

    20 janvier 2015, par user1765661

    So basically I need to watermark a video (with user info) whenever a user requests a download.

    I want to have only the original file on a folder of my website/server, "videos/original.mp4" for example.

    Then if my hosting service provided FFMPEG, I could use it to process all of this.

    The problem is that i cant use ffmpeg on my current hosting provider. So I came acroos transloadit . But can I use this service to host the original video online and send a request of conversion/watermarking without having to upload the same video over and over ?

    I will have to watermark the video for each user that download the video. Of course those will be temp videos, because I will give like 48 hours to download and then delete it, just mantaining the original file.

    Thank you