Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (16302)

  • Programmatically creating mpd stream using Python

    3 février 2021, par mifol68042

    I have a live feed using RTSP from an IP camera that is captured using OpenCV in my python code. I capture every frame run some object detection on it and then need to show this in my angular front end.

    


    Initially I had thought to create an RTMP stream in my code and then use that in angular app but then realised that RTMP support is EOL on browsers. Now the alternative to this is that I am planning to create a stream using MPEG Dash. When researching about this, found this link to create a manifest mpd file however the examples there have no mention of the frames or video file. On researching more, I realised we could do something like this :

    


    ffmpeg -i $INPUT.mp4 \
-map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 \
-b:v:0 250k -filter:v:0 "scale=-2:240" -profile:v:0 baseline \ 
-b:v:1 750k -filter:v:1 "scale=-2:480" -profile:v:1 main \    
-use_timeline 1 -use_template 1 -window_size 5 \
-adaptation_sets "id=0,streams=v id=1,streams=a" -f dash $OUTPUT.mpd


    


    This is from command line but how can I achieve this programmatically ??? Also how do I keep updating the mp4 to get a live stream ??

    


    In short, I want to understand how to create live feed using frames via MPEG Dash.

    


  • I cannot play a mp3 file on Discord's voice channel using discord.py

    1er décembre 2024, par ra1ned

    I am creating a discord bot that plays lofi for me. It does not play a song for me even though it shows a green indicator on a voice channel.

    


    Here's what I've written :

    


    if message.content == "!join":
    await message.author.voice.channel.connect()
    await message.channel.send("Successfully connected")

if message.content == "!play":
    if message.guild.voice_client is None: 
        await message.channel.send("use !join")
        return
    
    await message.channel.send("playing a song rn")
    print('*** playing a song rn')
    
    message.guild.voice_client.play(discord.FFmpegPCMAudio('lofi.mp3'))


    


    I put FFmpeg.exe and lofi.mp3 in the same directory as this script.
Also, it is strange that FFmpeg does not return any exception nor output on console although it seems to have failed to load the file. I have seen people who had the same problem, but it seems like that they get some error messages, unlike me.

    


    Here's the output on console after using !join

    


    2024-12-01 16:59:39 INFO     discord.voice_state Connecting to voice...
2024-12-01 16:59:39 INFO     discord.voice_state Starting voice handshake... (connection attempt 1)
2024-12-01 16:59:40 INFO     discord.voice_state Voice handshake complete. Endpoint found: japan8946.discord.media
2024-12-01 16:59:40 INFO     discord.voice_state Voice connection complete.


    


    after using !play, it only displays the message I wrote :

    


    *** playing a song rn


    


    Can someone help me with this ?

    


  • Revision c3378771b3 : third_party/libwebm : pull from upstream Pulling libwebm from upstream Changes

    2 mai 2014, par Vignesh Venkatasubramanian

    Changed Paths :
     Modify /third_party/libwebm/README.libvpx


     Modify /third_party/libwebm/mkvmuxer.cpp


     Modify /third_party/libwebm/mkvmuxer.hpp


     Modify /third_party/libwebm/mkvmuxertypes.hpp


     Modify /third_party/libwebm/mkvmuxerutil.cpp


     Modify /third_party/libwebm/mkvmuxerutil.hpp


     Modify /third_party/libwebm/mkvparser.cpp


     Modify /third_party/libwebm/mkvparser.hpp


     Modify /third_party/libwebm/mkvreader.cpp


     Modify /third_party/libwebm/mkvreader.hpp


     Modify /third_party/libwebm/mkvwriter.cpp


     Modify /third_party/libwebm/mkvwriter.hpp


     Modify /third_party/libwebm/webmids.hpp



    third_party/libwebm : pull from upstream

    Pulling libwebm from upstream

    Changes from upstream :
    249629d make Mkv(Reader|Writer)(FILE*) explicit
    7f3cda4 mkvparser : fix a bunch of windows warnings
    5c06178 Merge "clang-format on mkvparser.[ch]pp"
    4df111e clang-format on mkvparser.[ch]pp
    7b24501 clang-format re-run.
    c6767b9 Change AlignTrailingComments to false in .clang-format
    9097a06 Merge "muxer : Reject file if TrackType is never specified"
    eddf974 Merge "clang-format on mkvmuxertypes.hpp and webmids.hpp"
    def325c muxer : Reject file if TrackType is never specified
    41f869c Merge "clang-format on webvttparser.(cc|h)"
    fd0be37 clang-format on webvttparser.(cc|h)
    207d8a1 Merge "clang-format on mkvmuxerutil.[ch]pp"
    02429eb Merge "clang-format on mkvwriter.[ch]pp"
    0cf7b1b Merge "clang-format on mkvreader.[ch]pp"
    2e80fed Merge "clang-format on sample.cpp"
    3402e12 Merge "clang-format on sample_muxer.cpp"
    1a685db Merge "clang-format on sample_muxer_metadata.(cc|h)"
    6634c7f Merge "clang-format on vttreader.cc"
    7566004 Merge "clang-format on vttdemux.cc"
    9915b84 clang-format on mkvreader.[ch]pp
    7437254 clang-format on mkvmuxertypes.hpp and webmids.hpp
    0d5a98c clang-format on sample_muxer.cpp
    e3485c9 clang-format on vttdemux.cc
    46cc823 clang-format on dumpvtt.cc
    5218bd2 clang-format on vttreader.cc
    1a0130d clang-format on sample_muxer_metadata.(cc|h)
    867f189 clang-format on sample.cpp
    4c7bec5 clang-format on mkvwriter.[ch]pp
    9ead078 clang-format on mkvmuxerutil.[ch]pp
    fb6b6e6 clang-format on mkvmuxer.[ch]pp
    ce77592 Update .clang-format to allow short functions in one line
    0a24fe4 Merge "Add support for DateUTC and DefaultDuration in MKV Muxer."
    11d5b66 Merge "Add .clang-format"
    a1a3b14 Add .clang-format
    0fcec38 Add support for DateUTC and DefaultDuration in MKV Muxer.

    Change-Id : Ia0ed161ffc3d63c2eba8ed145707ffe543617976