Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (62)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

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

Sur d’autres sites (10464)

  • How is better to use ffmpeg with the ASP.NET Core, on Linux ?

    26 juillet, par user8245660

    I've got the project (ASP.NET Core, on Linux) where are the several tasks, which relate to the video converting and extracting frames from the video file.

    



    I thought about the two possible options :

    



      

    1. using ffmpeg console utility
    2. 


    3. using P/Invoke with the libavcodec library and others, which ffmpeg uses
    4. 


    



    The second option is miles harder and may be very impractical, because it reminds me developing the new wrapper/library, instead of using the ready products.

    



    I've done googling, but there aren't well-done projects for the C#/ASP.NET Core on Linux platform. There are some good for C++ and Python, but NOT for the C# on Linux/.NET Core.

    



    I decided to look at the first option, which I suppose would be more easier and practical. But, there are some weak places, which can produce many problems. We understand (I suppose), that using the 1st option, the end-developer shall use the process forking. So, there could be possible problems with the process idle and other possible issues...

    



    I'm asking about your practice, because it's my first experience on Linux platform with the video converting/sampling using C#. I've used the Expression Encoder .NET library on Windows platform, but it's other story and it makes no sense, right now.

    



    May be, there are other options, which I can't see right at the moment. I dislike the 1st option because of possible unhandled exceptions, because ffmpeg with such role becomes the black box for the ASP.NET Core backend.

    


  • How to install avconv for youtube-dl

    23 janvier 2016, par Hashim

    Up till now, I’ve been using youtube-dl with ffmpeg. I’ve had a few problems doing so, which I posted about in another question, but for the most part, I managed to get ffmpeg set up without a hitch. After having problems converting certain file formats with ffmpeg, I was advised in that question to try and switch to avconv to see whether ffmpeg was indeed the problem, and basically help me troubleshoot, but despite trying for the last 3 hours, I’ve been unable to even get avconv set up.

    So far, I’ve downloaded several of the releases for my Windows 7 x64 operating system from the libav website, each time copying the exact folder structure into the folder where my youtube-dl.exe is, and then making sure that location and the bin folder is in the PATH environment variable. The folder structure looks like this : C:\Program Files (x86)\youtube-dl\usr\bin, where bin contains avconv.exe and the rest of the files that it needs. Does anyone have any clue as to why this isn’t working for me ? It’s beyond me how something so critical to a program as popular as youtube-dl could be so hard and/or badly-documented to get set up.

    Thanks for any help in advance, it’s much appreciated.

    EDIT : Something peculiar that I’ve noticed. When getting rid of all traces of avconv and ffmpeg, youtube-dl throws up the usual error of needing them to convert. But when just the avconv folders are in the necessary places, youtube-dl recognises it as ffmpeg and starts processing the files as such.

  • Invalid data found when processing input for Streaming Discord Bot

    4 mai 2022, par DimKewl

    I tried a variety of streaming links that were working in the past for the same code.
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.
    • 


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