Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (56)

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

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

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

Sur d’autres sites (3115)

  • Is it possible to play two videos as one like this ? [on hold]

    25 février 2015, par Marko

    Is it possible to show/play video online that’s made of two or more video files ? Here’s explanation.

    My site is hosted on Linux/Appache/PHP server. I have video files in FLV/F4V format.

    What I want is to have online video player that plays video composed of multiple video files concatenated together in real-time, i.e. when user clicks to see a video.

    Resulting video looks like one video, with no visual clues, lags or any delay between videos parts. Basically what is done is some form of on-the-fly editing or pre-editing, and user sees the result.

    Is this possible anyhow with flash, actionscript, ffmpeg, php, html or some other online technology ? I don’t need explanation how it’s possible, but just a nod that it’s possible and some links to further investigate.

  • How do I make my discord.py bot play mp3 in voice channel ?

    17 décembre 2020, par ropke

    I'm a beginner in Python and I have recently started making a discord bot for some friends and I. The idea is to type !startq and have the bot join the channel, play an mp3 file that is locally stored in the same folder that the bot.py is in also.

    



    import discord, chalk
from discord.ext import commands
import time
import asyncio

bot = commands.Bot(command_prefix = "!")

@bot.event
async def on_ready():
    print("Bot is ready!")

@bot.command()
async def q5(ctx):
    await ctx.send("@here QUEUE STARTING IN 5 MINUTES")

@bot.command()
async def q3(ctx):
    await ctx.send("@here QUEUE STARTING IN 3 MINUTES")

@bot.command()
async def q1(ctx):
    await ctx.send("@here QUEUE STARTING IN 1 MINUTES")

@bot.command()
async def ping(ctx):
    ping_ = bot.latency
    ping =  round(ping_ * 1000)
    await ctx.send(f"my ping is {ping}ms")

@bot.command()
async def startq(ctx):
    voicechannel = discord.utils.get(ctx.guild.channels, name='queue')
    vc = await voicechannel.connect()
    vc.play(discord.FFmpegPCMAudio("countdown.mp3"), after=lambda e: print('done', e))
    bot.run('TOKEN')


    



    So far my bot joins the channel fine, but it doesn't actually play the mp3. I've asked countless people in the "Unofficial Discord API Discord" and a few other programming Discords, but I haven't gotten an answer yet.

    


  • Short HLS MPEG2 Video Segments Do Not Play

    24 août 2019, par Jon H

    I’ve been attempting to cut a video into small segments (words), to be rearranged. While I’ve been able to do it with FFMPEG, cutting into segments and using the fast concat demuxer to reassemble the segments, I am trying to speed it up.

    I have been doing this by splitting the original video into short MPEG2 .ts segments for each word :

    ffmpeg -ss 1 -to 1.5 -i "source.mp4" -c:v libx264 -b:v 1200k -c:a aac -b:a 192k -hls_flags single_file "word.ts"

    I have then tried making a m3u8 playlist of these short video segments, but I found that only segments around 2 seconds or more, play at all.

    I then tried using the ’cat’ command to join these segments into a single file, which I understand should be possible with MPEG2 streams. However, this did not play all the segments either.

    To test if all the segments were present in this concatenated file, I used FFMPEG to convert it back into an MP4 file, and all the segments were present.

    I would appreciate any suggestions on producing the segments, and concatenating individual segments simply without FFMEPG. My project isn’t viable if having to call FFMPEG each time, but would work great if I can simply concatenate words together.