Recherche avancée

Médias (91)

Autres articles (100)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

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

  • Why after rendering with ffmpeg, file size did not decrease ?

    15 avril 2021, par ptrra

    PROBLEM : After rendering a certain video with ffmpeg file size increased from 4GB to 6GB.
    
ORIGINAL VIDEO : EE1.mkv
    
FFMPEG COMMAND : ffmpeg -i EE1.mkv -c:a copy -c:v libx264 -crf 23 -preset medium -profile:v high out.mp4
    
QUESTIONS : Why did the file size increase ? What am I doing wrong ?

    


     !DETAILS !
    
After a few years I made about 30 gaming videos (130GB) and with the current covid-19 situation I started recording my online classes (about 40 videos or 150GB). Now because I'm lacking space on my 1TB external HDD I started getting into ffmpeg. Before I was only using obs-studio and not good parameters for recording.

    


    I was using CBR mode for recording, either 5000KB or 15000KB bit rate with varying x264 presets and profiles because I was also experimenting with them. Usually superfast preset with high profile. So I wanted to convert all those videos with ffmpeg using CRF 23, medium preset and high profile. A note that when I'm recording with obs-studio it's set to record in matroska format (.mkv).

    


    When I was rendering my online classes videos with these settings I managed to achieve 10x better compression with the same quality. And when rendering my gaming videos I managed to achieve up to 3x better compression with the same quality. However there is this one video that when rendered with the same parameters the file size increases.

    


    The EE1.mkv should be recorded with CBR 15000KB bit rate, with superfast preset and high profile. Also the game that is recorded in this video is Empire Earth which needs around 8000KB for it to look good. Everything more than 8000KB is not needed.

    


    Thank you all for your help.

    


  • Why after rendering with ffmpeg, file size did not decrease ?

    15 avril 2021, par ptrra

    PROBLEM : After rendering a certain video with ffmpeg file size increased from 4GB to 6GB.
    
ORIGINAL VIDEO : EE1.mkv
    
FFMPEG COMMAND : ffmpeg -i EE1.mkv -c:a copy -c:v libx264 -crf 23 -preset medium -profile:v high out.mp4
    
QUESTIONS : Why did the file size increase ? What am I doing wrong ?

    


     !DETAILS !
    
After a few years I made about 30 gaming videos (130GB) and with the current covid-19 situation I started recording my online classes (about 40 videos or 150GB). Now because I'm lacking space on my 1TB external HDD I started getting into ffmpeg. Before I was only using obs-studio and not good parameters for recording.

    


    I was using CBR mode for recording, either 5000KB or 15000KB bit rate with varying x264 presets and profiles because I was also experimenting with them. Usually superfast preset with high profile. So I wanted to convert all those videos with ffmpeg using CRF 23, medium preset and high profile. A note that when I'm recording with obs-studio it's set to record in matroska format (.mkv).

    


    When I was rendering my online classes videos with these settings I managed to achieve 10x better compression with the same quality. And when rendering my gaming videos I managed to achieve up to 3x better compression with the same quality. However there is this one video that when rendered with the same parameters the file size increases.

    


    The EE1.mkv should be recorded with CBR 15000KB bit rate, with superfast preset and high profile. Also the game that is recorded in this video is Empire Earth which needs around 8000KB for it to look good. Everything more than 8000KB is not needed.

    


    Thank you all for your help.

    


  • Overlay text on video with ffmpeg

    7 avril 2017, par ACIDSTEALTH

    I have some short mp4 video clips. Each one represents a response to a question or prompt. I would like to overlay the question/prompt text atop a grey semi-opaque banner. I need to be able to control the size, position, color, and opacity of the grey banner as well as the size, color, font family, justification, etc of the text that is overlaid atop it.

    I’ll prepend my question by stating that my experience with ffmpeg is limited to applying watermarks to videos via it’s Ruby wrapper streamio-ffmpeg. I know what I want to do is possible, I just don’t know where to begin. What I would like to know is how I can do this with ffmpeg. Specifically I am hoping for some sample code that I can learn from and adapt to my specific need, as well as how I can execute that code on a video within the context of a Rails app.