Recherche avancée

Médias (91)

Autres articles (59)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7216)

  • Streaming low latency video

    26 août 2018, par user4893295

    Goal is to get low latency HD video over the LAN from a USB camera on a ARM device (a10 Lime running Armbian Jessie) to OBS Studio.

    Thinking first step is to at least get it viewable on VLC on another device. So, to that end, I have tried gstreamer (no joy), ffmpeg (same) and VLC. Best luck with VLC so far, but the picture is mostly blank with occasional spots of picture.

    This is the command I’m using :

    cvlc v4l2:///dev/video0:chroma=h264:width=1920:height=1080 --sout '#standard{access=http,mux=ts,dst=0.0.0.0:8080/stream,name=stream,mime=video/ts}' -vvv

    It moans a bit at first with

    [00b4a178] core interface error: no suitable interface module
    [00ab18f8] core libvlc error: interface "globalhotkeys,none" initialization failed
    [00b4a178] core interface debug: looking for interface module matching "dbus,none": 18 candidates
    [00b4a178] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    [00b4a178] core interface debug: no interface modules matched
    [00b4a178] core interface error: no suitable interface module
    [00ab18f8] core libvlc error: interface "dbus,none" initialization failed

    But then seems to get a bit happier

    [b4316038] core demux meta debug: no meta reader modules matched
    [b4300508] core input debug: `v4l2:///dev/video0:chroma=h264:width=1920:height=1080' successfully opened
    [b4300508] core input debug: Buffering 0%
    [b4300508] core input debug: switching to sync mode
    [b430cce8] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0)
    [b430cce8] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0)
    [b4300508] core input debug: Buffering 10%
    [b43041a0] core stream output debug: adding a new sout input (sout_input:0xb49004f0)
    [b43060f8] core mux debug: adding a new input
    [b43060f8] mux_ts mux debug: adding input codec=h264 pid=68
    [b43060f8] mux_ts mux debug: new PCR PID is 68
    [b4300508] core input debug: Buffering 32%
    [b4300508] core input debug: Buffering 44%
    [b4300508] core input debug: Buffering 55%
    [b4300508] core input debug: Buffering 65%
    [b4300508] core input debug: Buffering 77%
    [b4300508] core input debug: Buffering 88%
    [b4300508] core input debug: Buffering 98%
    [b4300508] core input debug: Stream buffering done (332 ms in 331 ms)
    [b4300508] core input debug: Decoder wait done in 0 ms

    And I can connect to it from VLC, but the picture looks like

    enter image description here

    Processor peaks at around 17% and memory even less than that, so it’s not that.

    Any suggestions ?

  • FFMPeg : how to establish a mms connection on the iPhone ?

    29 décembre 2011, par Winston

    I'd like to use ffmpeg to connect to a live stream, using the mms:// protocol and afterwards decode the WMA file to play on the iPhone.

    Which one of the following function should I use ? And how do I use it ?

    1) MMSContext http://ffmpeg.org/doxygen/trunk/structMMSContext.html

    or

    2) URLContext http://ffmpeg.org/doxygen/trunk/structURLContext.html

  • How do I make my discord.py bot play a sound effect ?

    15 mai 2024, par Kronik71

    My bot is supposed to be some sort of jeopardy quiz show type of bot. /joinvc makes the bot connect to the call, however, I cant seem to make the bot make noise when its in a vc. Here's some of the code :

    


    @interactions.slash_command(
    name="press",
    description="Press the button"
)

async def press(ctx: interactions.ComponentContext):
    await ctx.send(f"{ctx.author.mention} has pressed the button")
    vc = ctx.author.voice.channel
    player = vc.create_ffmpeg_player('audiopath', after=lambda: print('done'))
    player.start()


    


    But whenever I use the /press command, I get this error AttributeError: 'GuildVoice' object has no attribute 'create_ffmpeg_player'

    


    Is it something I did wrong with ffmpeg ?

    


    I tried using a different way to write the code, basically grabbing the ffmpeg.exe path and the audio path, didn't work either. I just want the bot to play a small noise whenever someone uses /press command.