Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (82)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

Sur d’autres sites (10768)

  • How can I play & sync video playback on a webpage for all ? (even a better/more developed streaming method with full media controls)

    15 juin 2020, par Atmos

    I'll start by explaining what I currently use to accomplish this, to better explain my goal

    



    I use ffmpeg to "re-stream" to a streaming service (angelthump). Of which's player I embedded into my website. I run the ffmpeg cmd, which I need to tweak slightly each time to play various media. It's just me either pointing it to a location on my local drive or to a video URL.

    



    Problem being with this is I don't have full media playback control (to pause, resume etc.), and it doesn't allow anyone beyond me & the friend who taught me this method to play a video.

    




    



    What I am looking for in a new/more refined method :

    



    (I'll explain at the end why I added "refined method")

    



    


    The Main Goal I Want to Achieve :

    


    



    A webpage where where visitors can access and view whatever media is playing, in sync with everyone.

    



    And with this synced video, for there to be a simple way for (allowed) users to submit media to play or queue up next. 
And Playback controls for an appointed admin. A more complex preferrable feature in addition to that ; where the submitter of current playing media to also have control.

    



    Some expanded description on the features :

    



      

    1. Recieve info in a simple way on which media to play :

      



        

      • Be able load media by being provided a direct video URL. Or if possible, load it from the submitter's own device.

      • 


      • Queueing multiple videos :

        



        Multiple people may add their own videos while another is playing, so instead of waiting for it to end it can hold the URL to play next.

      • 


    2. 


    3. Proper media playback controls (pause, rewind, resume etc.)

      



      I'd like to be able to have simple controls on the webpage itself to easily pause, seek to a time of the video. Being able to do this without having to go through the complex steps I used to, to achieve this.

      



      If possible, allow the user who submitted the current media playing, access to the media controls only.

      



      (To lock these controls to select users (depending on the video sync method I find suitable) I do realise I may need to figure out seperately how I want to lock this to select users. Either by adding control buttons which only shows up for them. But if I find a method where an embeddable video player like setup with sync capabilitie, I can just leave it up to that.)

    4. 


    



    


    The "refined" point expanded :

    


    



    The friend once provided some bash scripts which could queue videos while ffmpeg is running. So I didn't need to stop/wait for it to finish to start the next vid. And I think he mentioned media controls can be achieved using this same method. 
But if there are better & simpler ways to achieve the overall answer to my topic, I would like to take that route.

    




    



    There was also mention of webrtc & janus if that helps anyone suggest more methods. I will also try and reach out to others to help implement whatever suggestions I can get.

    


  • avfilter/vf_v360 : use quaternions for rotation

    6 octobre 2020, par Paul B Mahol
    avfilter/vf_v360 : use quaternions for rotation
    

    Fixes gimbal lock issues, and round-off errors.

    • [DH] libavfilter/v360.h
    • [DH] libavfilter/vf_v360.c
  • Problem : av_seek_frame() always returns me the beginning of the video

    3 novembre 2020, par ZWen

    I'm currently trying to making use of FFMpeg to build a player. When I'm using av_seek_frame() to change the timestamp, it always gives me the beginning of the stream.

    


    Here is my code :

    


    bool XDemux::Seek(double pos)
{
    mux.lock();
    if (!ic)
    {
        mux.unlock();
        return false;
    }
    avformat_flush(ic);

    long long seekPos = 0;
    seekPos = ic->streams[videoStream]->duration * pos;
    int re = av_seek_frame(ic, videoStream, seekPos, AVSEEK_FLAG_BACKWARD | AVSEEK_FLAG_FRAME);
    mux.unlock();
    if (re < 0)
    {
        return false;
    }
    return true;
}


    


    Where ic and mux are defined as

    


    AVFormatContext* ic
std::mutex mux;


    


    When I'm trying to call the Seek function and print out the frame index, it will be something like :

    


    //Read() is called:
0 0 21 42 40 ...
//Then Seek(0.9) is called, should have begin with a later frame, but it also returns me:
0 0 21 42 40 ...