Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (10)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (4577)

  • Using ffmpeg via Popen running extremely slow in python

    30 décembre 2016, par law

    I’m writing a script that batch processes video in python. Basically, it takes a .dv file turns it into .avi and the captures only the audio in .wav format. Command line use of ffmpeg on a mac terminal executes on the order of a second or so. But when I use Popen to run the same code from within python, each file takes multiple minutes. Not sure why...I think I may be using Popen inappropriately. Code listed below :

    command1 = ['ffmpeg', '-i', input_name, '-y', '-vcodec', 'h264', 'temp.avi']
    command2 = ['ffmpeg', '-i', 'temp.avi', '-ab', '160k', '-ac', '44100', '-vn', outfile]

    proc1 = subprocess.Popen(command1, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
    proc1.communicate()
    print "Converted to avi"

    proc2 = subprocess.Popen(command2, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
    proc2.communicate()
    print "Wavefile extracted"
  • FFMPEG in Python Returns Corrupted Video

    11 décembre 2020, par user14210589

    In Python, I run ffmpeg to convert a video to a .mp4 file. However, for some reason, the video it creates is not compatible with anything (I'm pretty sure it's corrupted). The code looks like this :

    


    import os

os.system("ffmpeg -i Images/i1.mov Images/edited.mp4 -loglevel quiet")
os.remove("Images/i1.mov")
os.rename("Images/edited.mp4", "Images/i1.mp4")


    


    However, the video file created doesn't play.
I am getting an error that just says killed. What am I doing wrong ?

    


    Edit : I also tried converting to .WebM rather than .mp4, and it had no effect. (it still gave the same error)

    


  • good and simple way to record audio and video from logitech webcam with python

    21 mars 2021, par dahan raz

    I am looking for a good and simple solution to record both audio and video from my Logitech webcam using python.
    
I tried using ffmpeg but I can't get it to work well.
    
also, I am using this on windows so the solution should work on windows.