Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (50)

  • 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 (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (5435)

  • Correcting color cast with ffmpeg

    16 mai 2018, par Henry H

    I have two videos that have a pretty significant blue cast to them. I took some stills at the same time and I’m happy enough with the colors on those and I’d like to re-encode the videos, adjusting the colors to something similar to the stills.

    I understand I could either create a large collection of jpg images from the video and color correct them before reassembling them into a new video or I could use ffmpeg’s color level’s filter to do it directly. What I don’t know is how to get the numbers to pass to the filter. I’m assuming I want to do something like this :

    ffmpeg -i video.mov -vf "colorlevels=rimin=##/255:gimin=##/255:bimin=#/255:rimax=###/255:gimax=###/255:bimax=###/255, eq=gamma=#.##" -y out.mov

    How do I get the values to use for each of the r, g, and b min and max settings and gamma to use in place of the ###s ? Assuming this is the right approach, of course.

    Update : Perhaps this question would be better asked in a forum for gimp or photoshop. But I know how to adjust the color in those. What I need to know is how I translate those changes to what ffmpeg is expecting.

  • cliping a webm file using moviepy and ffmpeg parameters

    19 février 2015, par headdetective

    Using moviepy, I am trying to trim a section of a webm file like this :

    my_file.write_videofile(name, codec = 'libvpx')

    Of course, I have already defined the beginning and end of the clip, etc. The code is returning the segment I want, however, I am noticed a decrease in the quality of the file.
    I am not resizing or constraiing the file size anywhere, so I don’t understand why the clip has an inferior quality compared to the original.

    There are some parameters that I could play with, which I suspect are set as defaults in moviepy to speed of video manipulation, but the documentation of moviepy does not say anything about them :

    ffmpeg_params :

    Any additional ffmpeg parameters you would like to pass, as a list of
    terms, like [‘-option1’, ‘value1’, ‘-option2’, ‘value2’]

    Anybody outhere is familiar with the right parameters to keep the quality of the original file ? As an alternative, is anybody is familiar with any other library to trim webm files ?

    Below are two pics showing the difference in quality. The first one is a frame of the trimmed file, the second one is approximately the same frame, for the original file.

    enter image description here

    enter image description here

    Thank you

  • How to map ffmpeg formats to MIME types and file extensions ?

    12 août 2020, par odigity

    Anyone know of a reference for mapping ffmpeg format values to MIME types and recommended file extension ? My google attempt failed to turn up anything.

    



    I did manually put together a small list with guess-work and clues from Wikipedia, IANA, and the Mozilla Developer Network for the subset of formats that I encountered in my video input test collection :

    



    ffmpeg Format             Extension  MIME Type
───────────────────────   ─────────  ────────────────────── 
asf                       asf        application/vnd.ms-asf
avi                       avi        video/x-msvideo
flv                       flv        video/x-flv
matroska,webm             webm       video/webm
m4v                       m4v        video/x-m4v
mov,mp4,m4a,3gp,3g2,mj2   mp4        video/mp4
mpeg                      mpeg       video/mpeg
mpegts                    mpeg       video/mpeg
mpegvideo                 mpeg       video/mpeg
ogg                       ogv        video/ogg
matroska                  mkv        video/x-matroska
webm                      webm       video/webm


    



    No idea if I've made the right calls, though.

    



    (The test files already have file extensions, but I'm operating on the assumption that the extension of a file a user uploads is irrelevant, and that the file should be renamed based on ffprobe and intelligent mapping...)