Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (78)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

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

Sur d’autres sites (7677)

  • How Many Default Languages ?

    26 janvier 2012, par Multimedia Mike — Programming

    I was thinking back to my childhood, when my family first owned a computer. It was an MS-DOS-powered IBM PC. The default OS came with 2 programming environments, such as they were : GW-BASIC and batch files. It was a start, I suppose. I guess most any microcomputer you can name from that era came with some kind of BASIC interpreter. That defined the computer’s “out of the box” programmability.

    Then I started wondering how this compares to computers (operating systems/distributions, really) these days. So I installed a fresh version of the latest Ubuntu Linux version (11.10 as of this writing ; x86_32) and looked for programmability (without installing anything else). This is what I came up with :

    1. gcc/C (only the C compiler ; other components of the GNU compiler collection are installed separately)
    2. Perl
    3. Python
    4. C#, as furnished by Mono
    5. Bash — can’t forget about the shell as a full-featured programming language (sh is also present, but not t/csh)
    6. JavaScript — since Firefox is installed per default, JS counts
    7. GNU Assember — thanks to Reimar for the reminder that if gcc is present, gas necessarily needs to be there as well

    I checked on C++, Objective C, Java, Ada, Fortran, Go, Lua, Ruby, Tcl, PHP, R and other languages I could think of, but the above items were the only ones present by default. At the same time, I checked my Mac OS X (10.6) box and it also has Ruby and PHP installed. It has a bunch of other languages, courtesy of Xcode, so I can’t certify anything about its out of the box programmability.

    Still, I think “embarrassment of riches” pretty well sums it up. I try not to be crotchety old fogey complaining that kids these days don’t know how good they have it ; rather, I’m genuinely excited for anyone who wants to leap into computer programming in this day and age.

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

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