Recherche avancée

Médias (91)

Autres articles (97)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (9227)

  • avcodec/exr : output float pixels in float pixel format

    10 mai 2020, par Mark Reid
    avcodec/exr : output float pixels in float pixel format
    

    changes since v1
    - default behavior, no longer hidden behind decoder parameter
    - updated tests to reflect change

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/exr.c
    • [DH] tests/fate/image.mak
    • [DH] tests/ref/fate/exr-rgb-b44a-half-negative-4x4
    • [DH] tests/ref/fate/exr-rgb-scanline-b44-half-float-12x8-l1
    • [DH] tests/ref/fate/exr-rgb-scanline-b44-half-float-12x8-l2
    • [DH] tests/ref/fate/exr-rgb-scanline-float-b44
    • [DH] tests/ref/fate/exr-rgb-scanline-float-piz-48x32
    • [DH] tests/ref/fate/exr-rgb-scanline-half-b44-12x8
    • [DH] tests/ref/fate/exr-rgb-scanline-half-b44-13x9
    • [DH] tests/ref/fate/exr-rgb-scanline-half-piz-bw
    • [DH] tests/ref/fate/exr-rgb-scanline-half-piz-color
    • [DH] tests/ref/fate/exr-rgb-scanline-half-piz-dw-t01
    • [DH] tests/ref/fate/exr-rgb-scanline-half-piz-dw-t08
    • [DH] tests/ref/fate/exr-rgb-scanline-none-negative-red
    • [DH] tests/ref/fate/exr-rgb-scanline-pxr24-float-12x8
    • [DH] tests/ref/fate/exr-rgb-scanline-pxr24-float-half-l1
    • [DH] tests/ref/fate/exr-rgb-scanline-pxr24-float-half-l2
    • [DH] tests/ref/fate/exr-rgb-scanline-pxr24-half-float-l1
    • [DH] tests/ref/fate/exr-rgb-scanline-pxr24-half-float-l2
    • [DH] tests/ref/fate/exr-rgb-scanline-pxr24-half-uint32-13x9
    • [DH] tests/ref/fate/exr-rgb-scanline-raw-half-float-l1
    • [DH] tests/ref/fate/exr-rgb-scanline-raw-half-float-l2
    • [DH] tests/ref/fate/exr-rgb-scanline-rle-half-float-l1
    • [DH] tests/ref/fate/exr-rgb-scanline-rle-half-float-l2
    • [DH] tests/ref/fate/exr-rgb-scanline-zip-half-float-l1
    • [DH] tests/ref/fate/exr-rgb-scanline-zip-half-float-l2
    • [DH] tests/ref/fate/exr-rgb-scanline-zip1-half-float-l1
    • [DH] tests/ref/fate/exr-rgb-scanline-zip1-half-float-l1-zero-offsets
    • [DH] tests/ref/fate/exr-rgb-scanline-zip1-half-float-l2
    • [DH] tests/ref/fate/exr-rgb-tile-float-raw-12x8
    • [DH] tests/ref/fate/exr-rgb-tile-float-raw-150x130
    • [DH] tests/ref/fate/exr-rgb-tile-half-float-b44-12x8-l1
    • [DH] tests/ref/fate/exr-rgb-tile-half-float-b44-12x8-l2
    • [DH] tests/ref/fate/exr-rgb-tile-half-raw-12x8
    • [DH] tests/ref/fate/exr-rgb-tile-pxr24-float-half-l1
    • [DH] tests/ref/fate/exr-rgb-tile-pxr24-float-half-l2
    • [DH] tests/ref/fate/exr-rgb-tile-pxr24-half-float-l1
    • [DH] tests/ref/fate/exr-rgb-tile-pxr24-half-float-l2
    • [DH] tests/ref/fate/exr-rgb-tile-raw-half-float-l1
    • [DH] tests/ref/fate/exr-rgb-tile-raw-half-float-l2
    • [DH] tests/ref/fate/exr-rgb-tile-rle-half-float-l1
    • [DH] tests/ref/fate/exr-rgb-tile-rle-half-float-l2
    • [DH] tests/ref/fate/exr-rgb-tile-zip-half-float-l1
    • [DH] tests/ref/fate/exr-rgb-tile-zip-half-float-l2
    • [DH] tests/ref/fate/exr-rgb-tile-zip1-half-float-l1
    • [DH] tests/ref/fate/exr-rgb-tile-zip1-half-float-l2
    • [DH] tests/ref/fate/exr-rgba-multiscanline-half-b44
    • [DH] tests/ref/fate/exr-rgba-scanline-float-half-b44-12x8-l1
    • [DH] tests/ref/fate/exr-rgba-scanline-float-half-b44-12x8-l2
    • [DH] tests/ref/fate/exr-rgba-scanline-float-half-b44-13x9-l1
    • [DH] tests/ref/fate/exr-rgba-scanline-float-half-b44-13x9-l2
    • [DH] tests/ref/fate/exr-rgba-scanline-float-half-b44a-12x8-l1
    • [DH] tests/ref/fate/exr-rgba-scanline-float-half-b44a-12x8-l2
    • [DH] tests/ref/fate/exr-rgba-scanline-float-half-b44a-13x9-l1
    • [DH] tests/ref/fate/exr-rgba-scanline-float-half-b44a-13x9-l2
    • [DH] tests/ref/fate/exr-rgba-zip16-16x32-flag4
    • [DH] tests/ref/fate/exr-slice-pxr24
    • [DH] tests/ref/fate/exr-slice-raw
    • [DH] tests/ref/fate/exr-slice-rle
    • [DH] tests/ref/fate/exr-slice-zip1
    • [DH] tests/ref/fate/exr-slice-zip16
    • [DH] tests/ref/fate/exr-y-scanline-zip-half-12x8
    • [DH] tests/ref/fate/exr-y-tile-zip-half-12x8
  • Additionals : Fix accept method to match period only

    16 juin 2015, par rskm1
    Additionals : Fix accept method to match period only
    

    Fix regex in accept function to match (optional) PERIOD, rather than
    (optional) "any single character".

    Closes #1440

  • FFMPEG(?) Error : [out#0/s16le @ 000002452f906a00] Output file does not contain any stream

    11 mars 2024, par Ondosh
    FFMPEG_OPTIONS = {&#xA;    &#x27;before_options&#x27;: &#x27;-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5&#x27;,&#xA;    &#x27;options&#x27;: &#x27;-vn&#x27;}&#xA;YDL_OPTIONS = {&#xA;    &#x27;format&#x27;: &#x27;bestaudio/best&#x27;,&#xA;    &#x27;extractaudio&#x27;: True,&#xA;    &#x27;noplaylist&#x27;: True,&#xA;    &#x27;simulate&#x27;: &#x27;True&#x27;,&#xA;    &#x27;preferredquality&#x27;: &#x27;192&#x27;,&#xA;    &#x27;preferredcodec&#x27;: &#x27;mp3&#x27;,&#xA;    &#x27;key&#x27;: &#x27;FFmpegExtractAudio&#x27;}&#xA;@bot.command(aliases=[&#x27;Ping&#x27;, &#x27;PING&#x27;, &#x27;Пинг&#x27;, &#x27;ПИНГ&#x27;, &#x27;зштп&#x27;, &#x27;ЗШТП&#x27;, &#x27;Зштп&#x27;,&#xA;                      &#x27;пинг&#x27;])&#xA;async def ping(ctx):&#xA;    await ctx.message.reply(f&#x27;Ping: {round(bot.latency * 1000)}ms&#x27;)&#xA;#########################[PLAY MUSIC BLOCK]#########################&#xA;@bot.command()&#xA;async def add(ctx, *url):&#xA;    url = &#x27; &#x27;.join(url)&#xA;    with yt_dlp.YoutubeDL(YDL_OPTIONS) as ydl:&#xA;        try:&#xA;            info = ydl.extract_info(url, download=False)&#xA;        except:&#xA;            info = ydl.extract_info(f"ytsearch:{url}",&#xA;                                    download=False)[&#x27;entries&#x27;][0]&#xA;&#xA;    URL = info[&#x27;formats&#x27;][0][&#x27;url&#x27;]&#xA;    name = info[&#x27;title&#x27;]&#xA;    time = str(datetime.timedelta(seconds=info[&#x27;duration&#x27;]))&#xA;    songs_queue.q_add([name, time, URL])&#xA;    embed = nextcord.Embed(description=f&#x27;Записываю [{name}]({url}) в очередь &#128221;&#x27;,&#xA;                           colour=nextcord.Colour.red())&#xA;    await ctx.message.reply(embed=embed)&#xA;def step_and_remove(voice_client):&#xA;    if loop_flag:&#xA;        songs_queue.q_add(songs_queue.get_value()[0])&#xA;    songs_queue.q_remove()&#xA;    audio_player_task(voice_client)&#xA;def audio_player_task(voice_client):&#xA;    if not voice_client.is_playing() and songs_queue.get_value():&#xA;        voice_client.play(nextcord.FFmpegPCMAudio(&#xA;            executable="ffmpeg\\bin\\ffmpeg.exe",&#xA;            source=songs_queue.get_value()[0][2],&#xA;            **FFMPEG_OPTIONS),&#xA;            after=lambda e: step_and_remove(voice_client))&#xA;@bot.command(aliases=[&#x27;Play&#x27;, &#x27;PLAY&#x27;, &#x27;играй&#x27;, &#x27;ИГРАЙ&#x27;, &#x27;Играй&#x27;, &#x27;сыграй&#x27;,&#xA;                      &#x27;Сыграй&#x27;, &#x27;СЫГРАЙ&#x27;, &#x27;здфн&#x27;, &#x27;Здфн&#x27;, &#x27;ЗДФН&#x27;, &#x27;p&#x27;, &#x27;P&#x27;,&#xA;                      &#x27;pl&#x27;, &#x27;PL&#x27;, &#x27;Pl&#x27;, &#x27;Плей&#x27;,&#xA;                      &#x27;ПЛЕЙ&#x27;, &#x27;плей&#x27;])&#xA;async def play(ctx, *url):&#xA;    await join(ctx)&#xA;    await add(ctx, &#x27; &#x27;.join(url))&#xA;    await ctx.message.add_reaction(emoji=&#x27;&#127928;&#x27;)&#xA;    voice_client = ctx.guild.voice_client&#xA;    audio_player_task(voice_client)&#xA;@bot.command(aliases=[&#x27;Queue&#x27;, &#x27;QUEUE&#x27;, &#x27;йгугу&#x27;, &#x27;Йгугу&#x27;, &#x27;ЙГУГУ&#x27;, &#x27;очередь&#x27;,&#xA;                      &#x27;Очередь&#x27;, &#x27;ОЧЕРЕДЬ&#x27;, &#x27;список&#x27;, &#x27;Список&#x27;, &#x27;СПИСОК&#x27;,&#xA;                      &#x27;list&#x27;, &#x27;List&#x27;, &#x27;LIST&#x27;, &#x27;дшые&#x27;, &#x27;Дшые&#x27;, &#x27;ДШЫЕ&#x27;, &#x27;Лист&#x27;,&#xA;                      &#x27;лист&#x27;, &#x27;ЛИСТ&#x27;, &#x27;песни&#x27;, &#x27;Песни&#x27;, &#x27;ПЕСНИ&#x27;, &#x27;songs&#x27;,&#xA;                      &#x27;Songs&#x27;, &#x27;SONGS&#x27;, &#x27;ыщтпы&#x27;, &#x27;ЫЩТПЫ&#x27;, &#x27;Ыщтпы&#x27;, &#x27;q&#x27;])&#xA;async def queue(ctx):&#xA;    if len(songs_queue.get_value()) > 0:&#xA;        only_names_and_time_queue = []&#xA;        for i in songs_queue.get_value():&#xA;            name = i[0]&#xA;            if len(i[0]) > 30:&#xA;                name = i[0][:30] &#x2B; &#x27;...&#x27;&#xA;            only_names_and_time_queue.append(f&#x27;&#128192; `{name:&lt;33}   {i[1]:>20}`\n&#x27;)&#xA;        c = 0&#xA;        queue_of_queues = []&#xA;        while c &lt; len(only_names_and_time_queue):&#xA;            queue_of_queues.append(only_names_and_time_queue[c:c &#x2B; 10])&#xA;            c &#x2B;= 10&#xA;&#xA;        embed = nextcord.Embed(title=f&#x27;ОЧЕРЕДЬ [LOOP: {loop_flag}]&#x27;,&#xA;                               description=&#x27;&#x27;.join(queue_of_queues[0]),&#xA;                               colour=nextcord.Colour.red())&#xA;        await ctx.send(embed=embed)&#xA;&#xA;        for i in range(1, len(queue_of_queues)):&#xA;            embed = nextcord.Embed(description=&#x27;&#x27;.join(queue_of_queues[i]),&#xA;                                   colour=nextcord.Colour.red())&#xA;            await ctx.send(embed=embed)&#xA;    else:&#xA;        await ctx.send(&#x27;Очередь пуста&#x27;)&#xA;

    &#xA;

    There is the part of my music bot in Discord, I don't really know why it doesn't work. Actually, I tried to use someone's old code, so it needs to be fixed. I have cut out the most important parts of the code, which most likely had an error.&#xA;I found other questions, but there was another errors.&#xA;After trying to start the video, I get the following errors :&#xA;[out#0/s16le @ 000002452f906a00] Output file does not contain any stream&#xA;Error opening output file pipe:1.&#xA;Error opening output files : Invalid argument

    &#xA;