Recherche avancée

Médias (91)

Autres articles (55)

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

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (3822)

  • Serve media collection to an old iphone 3gs [on hold]

    25 février 2019, par Ale

    I’d like to serve a media collection, hosted in a home network, to an old iphone. I’m pretty much able to do this using apache web server, html, javascript, and jwplayer. But most of the media is in a format that the iphone doesn’t support and so I run into the problem of transcoding each movie I want to play but I would like it to happen on the fly to save time as well as be able to seek or fast forward to different parts of the movie. How can I go about doing this using the tools I already mention ? Php and ffmpeg are also welcome. Other tools are fine but please suggest open source if posible. I’m on a windows pc at this time. I’m sorry for not being too specific. I’m looking for a method or a different set of tools to point me in the right direction.

    Thanks in advance.

  • How to create a video out of frames without saving it to disk using python ?

    6 septembre 2022, par brenodacosta

    I have a function that returns a frame as result. I wanted to know how to make a video out of a for-loop with this function without saving every frame and then creating the video.

    


    What I have from now is something similar to :

    


    import cv2
out = cv2.VideoWriter('video.mp4',cv2.VideoWriter_fourcc(*'DIVX'), 14.25,(500,258))
for frame in frames:
    img_result = MyImageTreatmentFunction(frame) # returns a numpy array image
    out.write(img_result)
out.release()


    


    Then the video will be created as video.mp4 and I can access it on memory. I'm asking myself if there's a way to have this video in a variable that I can easily convert to bytes later. My purpose for that is to send the video via HTTP post.

    


    I've looked on ffmpeg-python and opencv but I didn't find anything that applies to my case.

    


  • ffmpeg How to get PCM floats from AVFrame with AV_SAMPLE_FMT_FLT

    26 novembre 2020, par cs guy

    I have an AVFrame obtained through a decoder that has a format of AVSampleFormat::AV_SAMPLE_FMT_FLT. My issue is I want to convert the data stored inside

    


    avFrame->data; // returns uint8_t *


    


    to Array of floats that are between [-1, +1]. I see that avFrame->data; returns uint8_t * how may I use this to obtain the float pcm data for each channel of the audio ?

    


    I tried the following :

    


    auto *floatArrPtr = (float *)(avResampledDecFrame->data[0]);

    for (int i = 0; i < avResampledDecFrame->nb_samples; i++) {
        // TODO: store interleaved floats somewhere
        floatArrPtr++;
    }


    


    but I am not sure if this is the right way to get data