Recherche avancée

Médias (91)

Autres articles (104)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11473)

  • ffmpeg with a python wrapper— need help avoiding multiple passes on a file

    19 octobre 2018, par Dean D D

    I would like some help refactoring this code to reduce the amount of passes ffmpeg must make on the file. I figure creating a single compounded ffmpeg command would do the trick, but I am kind of lost.

    def processVideo(videoFile, venueWatermarkFile, companyWatermarkFile, mp3File=None, m4vFile=None, cropH, cropW, resizeH, resizeW):
       if mp3File != "" :
           subprocess.call('ffmpeg -y -i ' + videoFile + ' -i ' + audio + ' -filter_complex "[0:v]scale=480:ih*480/iw, crop=480:480, loop=loop=3:size=210, trim=duration=15[video]" -shortest -map "[video]" -map "1:a?" -c:a aac new1.mp4', shell=True)
       else :
           subprocess.call('ffmpeg -y -i ' + videoFile + ' -i ' + audio + ' -vf "scale=480:ih*480/iw, crop=480:480" new1.mp4', shell=True)

       if m4vFile != "":  
           subprocess.call('ffmpeg -i ' + videoFile + ' -i ' + m4v + ' -filter_complex " [0:v] scale=480:ih*480/iw, crop=480:480 [bg]; [1:v] chromakey=00FF00:similarity=0.2:blend=0.3 [fg]; [bg][fg] overlay=shortest=1 [v] " -map "[v]" -map "0:a?" -f mp4 new1.mp4', shell=True)

       subprocess.call('ffmpeg -y -i new1.mp4 -i ' + venueWatermarkFile + ' -filter_complex "overlay=0:0" -codec:a copy new2.mp4', shell=True)
       subprocess.call('ffmpeg -y -i new2.mp4 -i ' + companyWatermarkFile + ' -filter_complex "overlay=0:0" -codec:a copy new.mp4', shell=True)

       subprocess.call('ffmpeg -y -i new.mp4 new.gif -hide_banner', shell=True)
       subprocess.call('ffmpeg -y -i new.mp4 -ss 00:00:00.000 -vframes 1 new.jpg', shell=True)

       os.remove("new1.mp4")
       os.remove("new2.mp4")


    processVideo("video-standard.mp4", "venue-standard.png", "company-standard.png", "clip.mp3", "animation.m4v")
  • How to change Apple prores video track ID [on hold]

    14 janvier 2019, par user3173632

    I have a bunch of apple prores videos with video track ID is set to 2 instead of 1. Is there a quick way of updating the video header instead of ffmpeg copy command ?

  • ffmpeg conversion for apple tv

    24 janvier 2013, par Sam

    I have one particular movie file that is giving me grief while I am trying to convert my movie library to be able to be viewed on my Apple TV. I have been using iFlicks to convert all of my files and have only had one issue. The original of this particular movie file plays fine but after it has been converted the video freezes after a few minutes but the audio keeps playing. I tried using ffmpeg to convert the file but now the file is very choppy. The first time it is played the video will be choppy, the next time the audio will be choppy... but it plays fine in VLC for some reason. So I was thinking that maybe I have chosen the wrong codecs to suit Quicktime/Apple TV. Below is the command I used for ffmpeg. Have I chosen the right codecs and actually written the command correctly ? (I haven't really used ffmpeg before...)

    ffmpeg -i input.avi -vcodec libx264 -acodec libfaac output.m4v