Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (85)

  • À propos des documents

    21 juin 2013, par

    Que faire quand un document ne passe pas en traitement, dont le rendu ne correspond pas aux attentes ?
    Document bloqué en file d’attente ?
    Voici une liste d’actions ordonnée et empirique possible pour tenter de débloquer la situation : Relancer le traitement du document qui ne passe pas Retenter l’insertion du document sur le site MédiaSPIP Dans le cas d’un média de type video ou audio, retravailler le média produit à l’aide d’un éditeur ou un transcodeur. Convertir le document dans un format (...)

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

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

  • FFMpeg outputs empty stream/file in C#

    15 juin 2017, par Dark0Matter

    I’m making a bot for discord, and I’m currently trying to use ffmpeg to stream an audio file through voice chat. (Which, many other people succeeded in doing it)

    So basically, I’m using libsodium.dll + opus.dll + ffmpeg.exe to turn an mp3 file into a stream using ffmpeg, and output it.

    This is my "CreateStream" function which starts ffmpeg and turns the mp3 file into a stream/pipe.

       private Process CreateStream(string path)
       {
           var ffmpeg = new ProcessStartInfo
           {
               FileName = "ffmpeg.exe",
               //Arguments = $"-hide_banner -loglevel panic -i \"{path}\" -ac 2 -f s16le -ar 48000 pipe:1",
               Arguments = $"-i {path} -ac 2 -f s16le -ar 48000 pipe:1",
               //Arguments = $"-i {path} -ac 2 -f s16le -ar 48000 testingtesting.mp3",
               UseShellExecute = false,
               RedirectStandardOutput = true,
           };
           return Process.Start(ffmpeg);
       }

    The commented arguments are the other arguments that I’ve tried. (e.g. the last commented arguments line was an attempt to output it to a file instead of a stream, and the file turned out to be empty)

    So basically, my current arguments are

    Arguments = $"-i {path} -ac 2 -f s16le -ar 48000 pipe:1"

    (where pipe:1 is replaceable by any filename such as test.wav)

    and here’s my problem in case you didn’t catch it :

    ffmpeg always outputs empty streams/files.

    Here’s the output that I got in the console.
    https://pastebin.com/zvGgsZZ6

    So my question is,

    Am I using the wrong arguments ?

    And if so, what other arguments can I try to get it fixed ?

    Tl ;dr : ffmpeg outputs empty data to a stream, and it does the same thing when the pipe is replaced by a .wav/.mp3 file.

    EDIT1 : After some time of waiting, I got this : https://pastebin.com/y8rjnsMb

    EDIT2 : I searched for more argument combinations that worked for other people and stumbled upon Arguments = $"-i \"path\" -ab 48000 -f mp3 test.mp3",
    when I tried writing to test.mp3, it worked, but the quality was low.
    Then I tried replacing test.mp3 with pipe:1, but that didn’t work. Help ?

  • Informations about adding image to a video

    7 juillet 2018, par J.Doe

    I’m trying to add an image to a pre-existing video in python. I haven’t write any code yet, but I’ve done some research. Most of people seem to use OpenCV or ffmpeg to manipulate image and video.
    So my questions are :

    • Can we add images to video with OpenCV or ffmpeg ?
    • Can we do that without OpenCV or ffmpeg
    • If yes, do you have some informations on it
    • If no, should I use OpenCV or ffmpeg ? Maybe another ?
    • Which version of OpenCV should I use ? and why ?
    • I’ve read that they are a problem with OpenCV and Ubuntu, did they correct it ?

    If you have some other informations or advice for me

  • How to export FFMPEG into my Python program ?

    2 janvier, par user11353612

    I wrote a Python program for Windows 10 which converts audio files from any supported format to .flac, and it uses FFMPEG to do the encoding.

    



    FFMPEG is installed on my computer, so there isn't any problem when I run the program on my computer.

    



    I used PyInstaller to export my program in .exe, and now I want to include FFMPEG in the distribution so people don't have to download it separately to run my script.

    



    Can I wrap/include FFMPEG into my program, and automatically install/use it when required ? How ?