Recherche avancée

Médias (91)

Autres articles (54)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (9632)

  • Show progress of a video conversion with FFMpeg

    27 février 2015, par ChrisCreateBoss

    I’m using C# WinForms to make a video converter, I’m using NReco.VideoConverter library. It has an EventHandler named ConvertProgress but I have never used EventHandlers, I was searching for some information on internet, but I still don’t know how to apply it to my application.

    I tried this :

    public static event EventHandler<convertprogresseventargs> _getPercent;
    //...
    _getPercent += ???
    progressBar1.Value = ??
    </convertprogresseventargs>

    I’m stuck there, and I don’t know what to do. Can someone help me ?? Thanks in advance.

  • Discord.py rewrite play audio from youtube into voice chat

    23 avril 2021, par John Henry 5

    I'm trying to get a bot that can join a voice chat on command and then play some audio extracted from a youtube video. I don't know how to do this and all the code that I've gotten does not seem to work. Does anyone know how to do this ?

    &#xA;

    @client.command() async def play(ctx):&#xA;   channel = ctx.message.author.voice.channel&#xA;   voice_client = await channel.connect()&#xA;&#xA;   opts = {&#x27;format&#x27;: &#x27;bestaudio&#x27;}&#xA;   FFMPEG_OPTIONS = {&#x27;before_options&#x27;: &#x27;-reconnect 1 -reconnect_streamed 1 - &#xA;   reconnect_delay_max 5&#x27;, &#x27;options&#x27;: &#x27;-vn&#x27;}&#xA;&#xA;   with youtube_dl.YoutubeDL(opts) as ydl:&#xA;      song_info = ydl.extract_info(&#x27;video&#x27;, download=False)&#xA;      URL = song_info[&#x27;formats&#x27;][0][&#x27;url&#x27;]&#xA;   &#xA;   voice_client.play(FFmpegPCMAudio(URL, **FFMPEG_OPTIONS))&#xA;

    &#xA;

  • Set the filename downloaded via youtube-dl to a variable [closed]

    22 septembre 2020, par Jim Jamil

    This is the current script, it's a Windows batch file that prompts for a Youtube url and then downloads the best audio in m4a. It's basically cobbled together and uses aria2 to manage the download.

    &#xA;

    @echo off&#xA;SETLOCAL ENABLEDELAYEDEXPANSION&#xA;(set /p var1="Url? " &amp;&amp; youtube-dl -f bestaudio[ext=m4a] --external-downloader aria2c --external-downloader-args "-j 16 -s 16 -x 16 -k 5M" --restrict-filenames -o "%%(title)s.%%(ext)s" --add-metadata --embed-thumbnail !Var1!)&#xA;ENDLOCAL&#xA;pause&#xA;

    &#xA;

    After asking for the url, I want to also prompt the user to input the start and end times to trim the audio, which would be done by ffmpeg post download.

    &#xA;

    Something like :

    &#xA;

    ffmpeg -i file.m4a -ss 00:00:20 -to 00:00:40 -c copy file-2.m4a&#xA;

    &#xA;

    Based on this : https://unix.stackexchange.com/questions/182602/trim-audio-file-using-start-and-stop-times/302469#302469

    &#xA;

    The beginning and end times would need to be variables set by user input in 00:00:00 format, but not sure how to add the ffmpeg post-processing at the end or how it would all fit together. I want to add this trimming feature to remove some of the preamble on podcasts and get straight to the guest part of the show.

    &#xA;

    The --embed-thumbnail is optional, and won't work anyway unless Atomic Parsley is present. FFmpeg often has trouble with Album Art anyway so I usually just use -vn on the final output file.

    &#xA;