Recherche avancée

Médias (91)

Autres articles (49)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5588)

  • FFMPEG multi livestream - recorded stream send to different services like YT and Twitch at different time (on different button clicks )

    4 octobre 2022, par Ganesh

    Trying for the last 10 days and still no success, I am creating a python application that will accept the URL and visit that URL using chromium, capture that screen and send that real-time screen recording to different live stream acceptors as youtube live, twitch Twitter, Facebook live or some other sources and many of these could be multiple.

    


    There are two challenges (both challenges depend on a user action like different button clicks) -

    


      

    • The time of starting the Livestream we know only one Livestream acceptor and other acceptors could be sent via another API at any time or may not be sent on the whole live stream.
    • 


    • Any of the streams could be stopped at any moment including the first one which started the original live streaming service
    • 


    


    To Solve these challenges I am trying the following process (i took mp4 as a source for simplifying)

    


      

    • create a stream and store it into PIPE.stdout
    • 


    


    ffmpeg_Command_get_stream = 'ffmpeg -re -i test.mp4 -f flv pipe:1'
ffmpeg_Command_get_stream=ffmpeg_Command_get_stream.split()
pipe = sp.Popen(ffmpeg_Command_get_stream,
            stdout=sp.PIPE,
            stderr=sp.PIPE,
            bufsize=8000000,
            shell=True,
            universal_newlines=True
            )
out,err = pipe.communicate()


    


      

    • and send that stream with the help of FFMPEG to the Livestream acceptor with the click of the youtube Livestream button

      


      ffmpeg_Command_send_stream = ['ffmpeg','-i',pipe.stdout,'-f','flv',RTMPURL_YOUTUBE]

      


    • 


    


    Update Trying to Explain it a little more :

    


    step 1 - I need a real-time stream from the first command, so I used -re in FFMPEG

    


    step 2 - Use above stream as an input for other command and send that as an output as a Livestream to youtube (or twitch/Facebook), But the second step would happen only when the user click on the button "YT LiveStream", Here the tricky thing is there are multiple buttons (YT LiveStream, Twitch LiveStream, Facebook LiveStream) and user can click any time on any of button, also can click on all button one by one.

    


    enter image description here

    


    sorry for bad explaination

    


    what I am doing wrong ? , Is this Possible ? or need to go with another process,

    


    any help would be greatly appreciated

    


  • avcodec/magicyuv : Don't waste stack space

    23 septembre 2020, par Andreas Rheinhardt
    avcodec/magicyuv : Don't waste stack space
    

    Now that the HuffEntries are no longer sorted by the MagicYUV decoder,
    their symbols are trivial : The symbol of the element with index i is i.
    They can therefore be removed. Furthermore, despite the length of the
    codes being in the range 1..32 bits, the actual value of the codes is
    <= 4096 (for 12 bit content). The reason for this is that the longer
    codes are on the left side of the tree, so that the higher bits of
    these codes are simply zero. By using an uint16_t for the codes and
    removing the symbols entry, the size of each HuffEntry is decreased from
    eight to four, saving 16KB of stack space.

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/magicyuv.c
  • Convert horizontal video to mobile screen by FFmpeg

    12 mars 2023, par Dopicsi

    I use FFMEG to convert the videos. Currently, if a horizontal video is uploaded, I see it enlarged on mobile. I want the horizontal videos to be vertically centered with black at the top and bottom.

    &#xA;

    The application only works in vertical mobile view, all videos are played this way.

    &#xA;