Recherche avancée

Médias (91)

Autres articles (73)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

Sur d’autres sites (11250)

  • Can I make calls to APIs such as youtube-dl and ffmpeg from a chrome-app ?

    8 janvier 2015, par ErickR

    First of all, I haven’t started the implementation of the system I’m about to describe, as I didn’t want to commit on implementing something I did not know if was possible.

    So, what I’m trying to achieve is to build a chrome-app to download the audio from certain websites (e.g. youtube and soundcloud) using youtube-dl, post process it using ffmpeg and then upload it to a cloud service via some api. The reason I want to do it via a chrome-app is because I could do all the work on the client side (no need for servers) and I’d have the ability to insert javascript into the pages using content scripts, which would make the app pretty simple to use (I could create buttons such as ’download song’ and stuff like that).

    Although I have already read the documentation explaining the NaCl Technical Overview and some of the Application Structure, I still am not sure as to whether I would be able to make these calls via some C/C++ module or if I would get denied due to security reasons.

    To summarize : considering that the user has the needed dependencies in his system (youtube-dl, python, ffmpeg and etc.), is it possible to make calls to third party APIs such as the ones described before via a chrome-app using NaCl ?

    Thank you all in advance,

  • discord.py FFMPEG Option reconnect not found

    19 avril 2021, par Lukelele

    I'm working on a music bot using discord.py, I've looked online and found that I needed to pass in ffmpeg options into discord.FFmpegPCMAudio() for the bot to not stop half way through the song. However it returns an error "Option reconnect not found."

    


    vc = await ctx.message.author.voice.channel.connect()

ydl_opts = {
    'format': 'bestaudio/best',
    'outtmpl': 'C:/Luke/YoutubeDLAudio/audio.mp3',
    'postprocessors': [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'mp3',
        'preferredquality': '192'
    }],
    'prefer_ffmpeg': True,
    'keepvideo': True
}

ffmpeg_opts = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5','options': '-vn'}   # <---------------

with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    ydl.download([url])

vc.play(discord.FFmpegPCMAudio(executable="C:/Luke/ffmpeg/bin/ffmpeg.exe", source="C:/Luke/YoutubeDLAudio/audio.mp3", **ffmpeg_opts))    <--------------


    


    Does anyone know the problem ? Thanks for any help.

    


  • Seekbar issue in FFMPEG

    25 décembre 2014, par user543

    I am using FFMPEG for playing audio files. But, seeking file for some audio files are inaccurate.Means, song is playing out of total duration also. This issue is coming while seeking the audio file. If I play continuously without seek, then there is no issue. I have used below code :

    int stream_index = av_find_default_stream_index(fmt_ctx);
    int64_t target = av_rescale(seekValue, audio_st->time_base.den,
               audio_st->time_base.num);
    if (avformat_seek_file(fmt_ctx, stream_index, INT64_MIN, target, INT64_MAX,  
    AVSEEK_FLAG_FRAME) < 0) {  
           av_log(NULL, AV_LOG_ERROR, "ERROR av_seek_frame");
       } else {
           av_log(NULL, AV_LOG_ERROR, "SUCCEEDED av_seek_frame");
           avcodec_flush_buffers(fmt_ctx->streams[stream_index]->codec);
       }

    Any help ?