Recherche avancée

Médias (91)

Autres articles (49)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9286)

  • C# (discord music bot) Youtube to mp3 api with ffmpeg

    4 octobre 2017, par Greg Varadi

    Ok, so i have made a discord music bot before with youtube-dl in C#. But I don’t like it because it’s very slow. It has to download the song and then stream it using ffmpeg to discord. I don’t know but I think there is a quicker way.

    So, i decided to use a youtube to mp3 api to get a mp3 as quick as possible, but it won’t work. I mean I found an api that worked, but it’s the worst api I ever seen. This is the api : http://www.convertmp3.io/api/ . Sometimes doesn’t give the mp3, just a link to a download page that doesn’t work.

    I’m still searching for an api. Last time I found this :
    http://www.yt-mp3.com/fetch?v=VIDEO-ID&apikey=1234567
    This is for me the best. But ffmpeg doesn’t recognize the mp3. And I don’t know why because I can’t see any difference beetween them. Of course it’s probably something different but I can’t see what. And I don’t even know that ffmpeg will recognize any of these api’s mp3 files, but it’s working with this convertmp3.io api.

    So, my question is, is there someone who did something like this or someone who can give me advice ?

    By the way, I want something that is as quick as oxyl- or hime bot. And I know that using apis for getting mp3 from youtube videos is not by all means the most legal thing, because the copyright and stuff, but yeah... This is the only way, I think.

  • ffmpeg metadata

    7 février 2012, par integra753

    I am encoding MPEG4/H264 to an mp4 file using libavformat (i.e. C libraries) I would like to add some metadata to the MP4 file such as date/time. Can someone give me some indication of how this can be done ?

    Thanks.

  • MPEG DASH SRD : How to properly re-assemble multiple tiles into a single tile [closed]

    21 juin 2024, par ATrashInTheWorld

    I am trying to build a web player that is able to stream MPEG DASH, but with SRD information in the manifest. I have a problem at the "gluing" of the tiles part.

    


    How the data is set :

    


    I have a video of a resolution of XxY, which I've divided in tiles of NxM, meaning that I now have the NxM videos of the same duration as the original one, but which is reduced to a smaller resolution, a portion from the original (seeing only the upper left corner for example).

    


    I have fragmented those tiles for the MPEG DASH streaming format, meaning an init.mp4 and the m4s fragments for each tile. To note that I have the tiles in multiple bitrate, in order to imitate some adaptive streaming.

    


    The "gluing" part :

    


    The gluing part consists of gluing the tile togheter into 1 big tile, aka the original video. The SRD information allows me to know where each tile should be position to reconstruct the original video shape. Once I have the spatial information from the manifest, I use this command to glue the tiles togheter :

    


    ffmpeg.exe -i v1 -i v2 -i v3 -i .v4 -i v5 -i v6 -i v7 -i v8 -i v9 -filter_complex "[0:v][1:v][2:v][3:v][4:v][5:v][6:v][7:v][8:v]xstack=inputs=9:layout=0_0|w0_0|w0+w1_0|0_h0|w3_h0|w3+w4_h0|0_h0+h3|w6_h0+h3|w6+w7_h0+h3" out.mp4


    


    The command above allows me to "glue" together tiles from a grid of 3x3 tiles, into 1 big tile.

    


    The web streaming method :

    


    To stream, I use JavaScript MediaSource, and I am appending the fragments to the buffer continuously, like this reference

    


    The issue :

    


    The issue is that the FFMPEG gluing command only works on proper mp4 videos, not with fragments (m4s). I cannot glue the wanted m4s tiles back into a bigger one. However, the JavaScript player only takes fragments, meaning that I cannot just send continuous mp4 video.

    


    I have tried many things with fragments and full videos, but the only solution I found for this chicken-egg problem is to :

    


      

    1. Create video clips with smaller duration for each tile, at each bitrate.
    2. 


    3. Glue the desired video clips tiles together with the FFMpeg command.
    4. 


    5. Convert that glued video in one big fragment, and send it.
    6. 


    


    However, I feel that it is not a clean method and I fear that I am missing something.
Is there a better solution that I am not aware of ?
Any idea suggestions are welcome.

    


    Thank you for your time.