Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (111)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

  • Encode multiple files from the same Folder with Google Colab & FFmpeg

    16 août 2021, par Ptibouc77

    i made a Google colab to encode my videos, but actually i can only do files on by one.
I want to encode all video files from the same folder.

    


    I tried this but didn't seem to works

    


        import os

DIRECTORY= '/content/drive/My Drive/Videos'
for filename in os.listdir(DIRECTORY):
    if (filename.endswith(".mov")): #or .avi, .mpeg, whatever.
        os.system("ffmpeg -i {0} -c:v libx265 -crf 26 -c:a aac -b:a 160k output%d.mp4".format(filename))
        print(filename)


    


    Edit : I edited the FFmpeg command but still not workings on Google Colab.
Edit 2 : Print command only return the name of the files with the extension like "MyMovie.mov" how do i put the full path to the ffmpeg command ? I also want to put the ouput files to a subfolder named x265

    


  • How to preserve color when extracting thumbnail from videos with FFMPEG ?

    7 novembre 2022, par coffee-cat

    I'm using FFMPEG to extract thumbnails from arbitrary user-submitted videos to jpg and the outputs are noticeably darker than the input video.

    


    Here is an image captured of a MP4 input (SMPTE Color Bars) using Mac OS's built in screen capture utility (which seems to have a reasonably accurate color representation. Red value on this image is R : 191, G : 0, B : 1.
    
brighter image of SMPTE color bars

    


    Here is the same image captured using the FFMPEG script below. Red value on this image is R : 176, G : 0, B : 2.
    
diminished brightness image of SMPTE color bars

    


    Here is the ffmpeg options I'm using to extract these images :

    


    ffmpeg -i input-video.mp4 \
    -vframes 1 \
    -filter:v scale=600:-1 \
    -qscale:v 90 \
    -f singlejpeg \
    thumb.jpg 


    


    Any thoughts on how to solve this ?

    


    (Note that while there are related topics on Stack Overflow, all of them are specific to known input video types. I'm looking for a solution that will work across arbitrary inputs.)

    


  • Adding unique RGB color watermark per video frame with FFmpeg

    8 juin 2016, par Dustin Kerstein

    I’d like to add a unique watermark onto each unique video frame in an h264 mp4 video. More specifically, I want the watermark to be a X by X pixel square solid 8-bit RGB color, and each color watermark should be unique across all frames in the video (up to the theoretical 24 bit max of 16.7 million colors/frames).

    Is this possible to do programatically using FFmpeg filters (or another tool) without requiring a photo for each possible color watermark ?

    If not, assuming I already have the full set of 1029 solid color photos downloaded from http://www.solidbackgrounds.com, can anyone think of an easy way to watermark a video with <= 1029 frames using FFmpeg ?