Recherche avancée

Médias (0)

Mot : - Tags -/configuration

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (62)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Les images

    15 mai 2013
  • 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 (5909)

  • Solid FFmpeg wrapper for C#/.NET

    21 mars 2018, par Jacob Poul Richardt

    I have been searching the web for some time for a solid FFmpeg wrapper for C#/.NET. But I have yet to come up with something useful. I have found the following three projects, but all of them apears to be dead in early alpha stage.

    FFmpeg.NET
    ffmpeg-sharp
    FFLIB.NET

    So my question is if anyone knows of a wrapper project that is more mature ?
    I am not looking for a full transcoding engine with job queues and more.
    Just a simple wrapper so I do not have to make a command line call and then parse the console output, but can make method calls and use eventlisteners for progress.

    And please feel free to mention any active projects, even if they are stil in the early stages.

  • Add metadata while converting MKV to MP3 with FFMPEG

    17 août 2020, par Elderhoard

    I am trying to convert MKV files to MP3, while adding metadata and album artwork through a batch file. I am generating a PNG through FFMPEG, then converting to MP3 while adding metadata, and finally adding the album artwork i got initially.

    


    I have tried adding the metadata while converting to MP3 and while adding the artwork to no avail. I read something about it flushing the buffer too quickly but thought I might be able to get around it by adding it while converting it.

    


    Individually, all parts work, but I can't get it to add the title and artist to the metadata, or at least in a place where VLC can read it. any suggestions ?

    


    @echo off
::Extracts a PNG thumbnail 
for %%A in ("*.mkv") do (ffmpeg -ss 30 -i "%%A" -qscale:v 4 -frames:v 1 "%%~nA.png")

::Convert from MKV to MP3 and adds title and artist based on file name delimited by "-" eg Metallica - Enter Sandman.mkv
SETLOCAL ENABLEDELAYEDEXPANSION
for %%A in ("*.mkv") do (
    set filename=%%~nA
    set artist=
    set song=
    echo "!filename!"

    for /F "tokens=1,2 delims=-" %%G in ("!filename!") do (
        set artist="%%G"
        set song="%%H"
        echo !artist!
        echo !song!
    )

    echo !song! by !artist!

    ffmpeg -i "%%A" -b:a 192K -id3v2_version 4 -write_id3v2 1 -metadata title="%song%" -metadata artist="%artist%" -flush_packets 0 -vn "%%~nA.mp3"
)

::Add Artwork to MP3
for %%A in ("*.mp3") do (ffmpeg -i "%%A" -i "%%~nA.png" -map 0:0 -map 1:0 -c copy -id3v2_version 3 "UPDATED%%~nA.mp3")


    


  • Pass options containing spaces to ffmpeg using fluent-ffmpeg

    10 janvier 2019, par dansumption

    I am writing a Node script which copies and re-tags some of my MP4 files using fluent-ffmpeg

    It doesn’t work with any metadata that contains spaces. The code that does the copying/tagging looks something like this :

    const ffmpeg = require('fluent-ffmpeg');

    const inputFilename = 'path/to/original.m4a';
    const outputFilename = 'path/to/new.m4a';

    const options = [
       '-metadata', 'artist=Someone',
       '-metadata', 'album=Some title',
       // ...etc
    ];

    ffmpeg(inputFilename)
     .outputOptions(options)
     .saveToFile(outputFilename);

    This results in an error :

    events.js:183
         throw er; // Unhandled 'error' event

    An error occurred: ffmpeg exited with code 1: title: Invalid argument

    I have tried putting Some title in single quotes, double quotes and no quotes. I have tried escaping the spaces in it. I have tried passing the options array as single options rather than tuples, for example : '-metadata album="Some title"' - but whatever I try, it still throws an error when there are spaces.

    (It may be relevant to note that this is on Windows)

    Can anyone suggest a way of getting it to work ?