Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (37)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (6371)

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

    


  • FFMPEG - Adding a full-frame image to the beginning of a video

    17 janvier 2020, par lyinawake

    I have tried many different ways to try to create a 10 second video file out of an image file and have used all the same switches and codecs as I used to encode my video file. However, when I concat the two using anything but complex_filter (which forces the video through another round of transcoding), the resulting video file is corrupt. I believe this is due to the inherent differences of the 10 second clip that ffmpeg created from the image, but there must be some way to get it to encode the exact same way as my video file.

    Here is the command I am using to turn the image into a 10s video clip (I added a silent mp3 because I thought that an audio stream starting partway through the video was messing things up) :

    ffmpeg -loop 1 -i splash.jpg -i silence.mp3 -c:v libx264 -preset slow -g 60 -r 29.97 -crf 16 -c:a libfdk_aac -b:a 256k -cutoff 18000 -t 5 tmpoutput1.mp4

    Here is the command I am using to encode my video :

    ffmpeg -i input.f4v -c:v libx264 -preset slow -g 60 -r 29.97 -crf 16 -c:a libfdk_aac -b:a 256k -cutoff 18000 tmpoutput2.mp4

    Here is the command I use to convert both of them to .ts to get ready for concat :

    ffmpeg -i tmpoutput1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts tmpoutput1.ts

    And finally the concat (which is where I get crazy video corruption, everything along the way looks fine) :

    ffmpeg -i "concat:tmpoutput1.ts|tmpoutput2.ts" -c copy output.mp4

    Again, the issue is that I’m already transcoding everything once and I should be able to get it to transcode in a similar enough structure so that it can be concatenated without another transcode tacked onto the end.

    Has anyone successfully added a full-frame splash graphic to the front of a video with ffmpeg before ? I am using a brand new cross-compile of ffmpeg as I thought that might be the issue, but alas, the issue persists after the update.

    Thanks !

  • pod mobile-ffmpeg-full (4.2.2) : installation issues, does anyone know how to fix this error ?

    11 janvier 2020, par João Paulo

    COMMAND USED
    $ pod install

    ERROR RESULT
    Analyzing dependencies
    Downloading dependencies
    Installing mobile-ffmpeg-full (4.2.2)

    [!] Error installing mobile-ffmpeg-full
    [!] /usr/bin/curl -f -L -o /var/folders/vn/r7ghkzmn67114_hn0knf3jt30000rs/T/d20200111-2077-qf6xcl/file.zip https://github.com/tanersener/mobile-ffmpeg/releases/download/v4.2.2/mobile-ffmpeg-full-4.2.2-ios-framework.zip —create-dirs —netrc-optional —retry 2

    % Total % Received % Xferd AverageDload SpeedUpload TimeTotal TimeSpent TimeLeft CurrentSpeed

    100 633 0 633 0 0 1063 0 — :— :— — :— :— — :— :— 1063

    3 143M 3 5380k 0 0 14074 0 2:57:36 0:06:31 2:51:05 0

    curl : (56) LibreSSL SSL_read : SSL_ERROR_SYSCALL, errno 54

    FORM THAT WAS WRITTEN IN THE PODFILE
    pod ’mobile-ffmpeg-full’, ’ > 4.2.2’