Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (99)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (9154)

  • Output result of concat demuxer to pipe

    19 mars 2023, par ZPears

    I am trying to output the results of an ffmpeg call that concatenates videos to a pipe. Here's the command :

    


    ffmpeg -protocol_whitelist https,file,tls,tcp -f concat -safe 0 -i <(for f in "/path/to/file1.mp4" "/path/to/file2.mp4"; do echo "file $f"; done) -c copy -


    


    When I run this, I get Unable to find a suitable output format for 'pipe:'.

    


    From other searches, my understanding is that I need to specify an output format via the -f flag, but I'm not sure how to do that given that I already have output as my -f flag value.

    


    Does anyone have any tips for this ?

    


  • Recieving multiple files from ffmpeg via subprocesses.PIPE

    19 août 2014, par Per Plexi

    I am using ffmpeg to convert a video into images. These images are then processed by my Python program. Originally I used ffmpeg to first save the images to disk, then reading them one by one with Python.

    This works fine, but in an effort to speed up the program I am trying to skip the storage step and only work with the images in memory.

    I use the following ffmpeg and Python subproccesses command to pipe the output from ffmpeg to Python :

    command = "ffmpeg.exe -i ADD\\sg1-original.mp4 -r 1 -f image2pipe pipe:1"
    pipe = subprocess.Popen(ffmpeg-command, stdout = subprocess.PIPE, stderr = subprocess.PIPE)
    image = Image.new(pipe.communicate()[0])

    The image variable can then be used by my program. The problem is that if I send more than 1 image from ffmpeg all the data is stored in this variable. I need a way to separate the images. The only way I can think of is splitting on jpeg markers end of file (0xff, 0xd9). This works, but is unreliable.

    What have I missed regarding piping files with subproccesses. Is there a way to only read one file at a time from the pipeline ?

  • Error setting option pix_fmt to value -1 : Pipe a mp4 video with ffmpeg

    14 août 2014, par Lewisou

    I was piping a mp4 file and always got Error setting option pix_fmt to value -1.

    I was trying to put -pix_fmt option in front of ’-i inputfile’, as in the ffmpeg output I found a message : unspecified pixel format but it seems not work

    The ffmpeg outpus is here : http://pastebin.com/8hNdLeQ2

    By the way, the ffmpeg version I was using is the latest one from git repo

    And the mp4 video clip is from a sumsung tablet.

    The command I use :
    $ cat b2.mp4 | ./ffmpeg -i pipe:0 -c:a copy a.mp4

    I also tried :

    The video is at : https://www.dropbox.com/s/oz0e51ggkbpgj0f/b2.mp4

    Anyone can tell me how to pipe this mp4 video, Thanks,

    Lewis