Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (102)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (12620)

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

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

    


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