Recherche avancée

Médias (91)

Autres articles (49)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (5409)

  • Combining Audio and Video file in python [duplicate]

    8 juin 2020, par yso

    I'm trying to understand how to us ffmpeg to combine video and audio files in python. I want to combine a .avi file and a .wav file to create a final .avi file. Is this the right approach ? I'm confused by the ffmpeg syntax.
Any help would be great.

    



    I was looking through this for help :
https://wiki.libav.org/Snippets/avconv#Combine_audio_and_video_file

    



    import ffmpeg
import subprocess

cmd = 'ffmpeg -i inputvideo.avi -i inputaudio.wav -c:v copy -c:a aac output_video_and audio.avi'
subprocess.call(cmd, shell=True)                                     # "Muxing Done
print('Muxing Done')


    


  • Python : call ffmpeg command line with subprocess

    15 janvier 2015, par Jacques le lezard

    I’m trying to call simple ffmpeg command line with subprocess.call.
    (Example : ffmpeg -i input\video.mp4 -r 30 input\video.avi)

    By typing directly the ffmpeg command it works, but when I try to call it with subprocess.call : subprocess.call('ffmpeg -i input\video.mp4 -r 30 input\video.avi', shell=True) there is no error, but it doesn’t produce anything.

    Any idea where can be the problem ?
    (I’m working with python 3.4 or 2.7, I tried both)

  • src FFmpeg Binary from Lambda Layers

    9 mai 2019, par Jay

    How do you point lambda to the FFmpeg static binary

    This is my set up so far

    Input S3 Trigger -> Lambda -> Src Layer -> Output -> S3

    Lambda Code-----This Code works on my local Machine the Goal is to get it working on AWS

    import json
    import subprocess


    def lambda_handler(event, context):
       # TODO implement

       print("I am being Triggered")

       p = subprocess.call(
       'ffmpeg -r 1 -loop 1 -i "./S3_Input.png" -i "./S3_File.mp3" -acodec copy -r 1 -shortest -vf scale=1280:720 ep1.flv', shell=True)


       return {
           'statusCode': 200,
           'body': json.dumps('Hello from Lambda!')
       }