Recherche avancée

Médias (91)

Autres articles (39)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (6059)

  • FFplay doesn't include the `Authorization` header

    29 mars 2022, par Hirrolot

    I am trying to use RTSP basic authentication with FFplay. Here's the command :

    


    $ ffplay rtsp://admin:123@localhost


    


    I expect that FFplay includes the Authorization: Basic ... header, but it doesn't (I've observed it with Wireshark). How can I use RTSP basic authentication with FFplay ? Google suggests using the aforementioned command but it doesn't work for me.

    


  • Invalid data found when processing input when using Streaming Discord Bot (python)

    4 mai 2022, par DimKewl

    After refactoring and working on all possible solutions I could find on google
I always get the following error :

    


    Invalid data found when processing input

    


    My code snippet :

    


     FFMPEG_OPTIONS = {
    "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5",
    "options": "-vn -sn -dn"
}
@commands.command()
async def radio(self,ctx,url):
    await self.joinLogic(ctx)
    await self.playStreamOpus(ctx,url)

async def joinLogic(self, ctx):
    if ctx.author.voice is None:
        await ctx.send("Please join a voice channel!")
    else:
        voice_channel = ctx.author.voice.channel
        if ctx.voice_client is None:
            await voice_channel.connect()

async def playStreamOpus(self, ctx, url):
    source = await discord.FFmpegOpusAudio.from_probe(url, **self.FFMPEG_OPTIONS)
    ctx.voice_client.play(source)


    


    What have I already tried :

    


      

    • Re-install all dependencies on pip.
    • 


    • A variety of streaming links that were working in the past for the same code.
    • 


    • Tried the PCM instead of Opus.
    • 


    • Different streaming URLs.
    • 


    • More options in FFMPEG_Options to explicit that I need only audio.
    • 


    • Made sure that my bot is joined in my channel and can reach other places in my code.
    • 


    


    Streaming (sample) links I tried (worked before) :

    


    


    Full FFmpeg options from Debugger console :
['ffmpeg', '-reconnect', '1', '-reconnect_streamed', '1', '-reconnect_delay_max', '5', '-i', 'http://www.e-radio.gr/Radio-Polis-994-Larisa-i54/live', '-map_metadata', '-1', '-f', 'opus', '-c:a', 'libopus', '-ar', '48000', '-ac', '2', '-b:a', 'Nonek', '-loglevel', 'warning', '-vn', 'pipe:1']

    


    Youtube links work just fine in a similar method in the class.

    


    async def playYouTube(self,ctx,url): 
   await self.joinLogic(ctx) 
   YDL_OPTIONS = { "format": "bestaudio" }
   voiceClient = ctx.voice_client 

   with youtube_dl.YoutubeDL(YDL_OPTIONS) as youTube: 
       info = youTube.extract_info(url, download=False) 
       formattedUrl = info['formats'][0]['url'] 
       source = await discord.FFmpegOpusAudio.from_probe(formattedUrl, **self.FFMPEG_OPTIONS)
       voiceClient.play(source) 


    


    So most likely the problem lies with the URLs, which still boggles me cause they were working before ?

    


    Any insights will be highly appreciated !

    


  • End of file on 19 min from start

    3 septembre 2020, par Andrey Kadnikov

    I want to make like a youtube radio. It's infinity looping video(2 second) and one audio stream(radio). Always after 19 minutes, I getting an error. Does anyone know resolve for that ? enter image description here

    


    UPD :
command : ffmpeg -re -stream_loop -1 -i video.mp4 -i http://127.0.0.1:3000/stream -c:v libx264 -preset ultrafast -map 0:v:0 -map 1:a:0 -filter_complex [0:v]fps=25,format=yuv420p -b:v 4500k -q:v 3 -f flv rtmp://a.rtmp.youtube.com/live2/KEY