Recherche avancée

Médias (91)

Autres articles (99)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

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

  • How display video on website using python

    17 mai 2020, par Kylo_Entro

    I do video processing with OpenCV and Python and I want to display it on a website.

    



    I have a website in VueJS and python backend using Flask. When a user want a video, my backend use OpenCV to generate this video and I want the user see the video on the website, but I don't know how to display the video.

    



    I check FFMPEG but I tried many tuto and I can not see the video on my web browser

    



    $ ffmpeg -re -i [INPUT] -c copy -f flv "rtmp://127.0.0.1/app/streamName live=1"
[tcp @ 0x565112abb500] Connection to tcp://127.0.0.1:1935 failed: Connection refused
[rtmp @ 0x565112acc600] Cannot open connection tcp://127.0.0.1:1935
rtmp://127.0.0.1/app/streamName live=1: Connection refused


    



    So how can I display a video on my website ? (I need that the website can be opened on external device on the same network)

    



    Thanks

    


  • Why the output of the ffmpeg-python doesn't match the image shape ?

    9 novembre 2019, par Swi Jason

    I used the ffmpeg-python module to convert video to images. Specifically, I used the code provided by the official git repo of ffmpeg-python, as below

    out, _ = (
       ffmpeg
       .input(in_filename)
       .filter('select', 'gte(n,{})'.format(frame_num))
       .output('pipe:', vframes=1, format='image2', vcodec='mjpeg')
       .run(capture_stdout=True)
    )
    im = np.frombuffer(out, 'uint8')
    print(im.shape[0]/3/1080)
    # 924.907098765432

    The original video is of size (1920, 1080) and pix_fmt ’yuv420p’, but the outputs of the above code is not 1920.

    I have figured out by myself that the output of ffmpeg.run() is not a decoded image array, but a byte string encoded by JPEG format. To restore the image into a numpy array, simply use the cv2.imdecode() function. For example,

    im = cv2.imdecode(im, cv2.IMREAD_COLOR)

    However, I can’t use opencv on my embeded Linux system. So my question now is that, can I get numpy output from ffmpeg-python directly, without the need of converting it by opencv ?

  • Heroku Python Discord music bot no sound [closed]

    15 septembre 2022, par olfis

    I just created python discord bot using youtube_dl and discord.py
I wanted to keep it live 24/7 on Heroku but there is one issue...
My bot is working good on my PC, but when I run it from Heroku bot just joins voice channel, adds songs to queue but I can't hear anything, his audio it's always off...

    


    Here's a screenshot of installe buildpacks on heroku.
Buildpakcs screenshot