Recherche avancée

Médias (0)

Mot : - Tags -/navigation

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

Autres articles (105)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (14854)

  • doc/fftools-common-opts : small fix to -report documentation.

    20 janvier 2020, par Nicolas George
    doc/fftools-common-opts : small fix to -report documentation.
    
    • [DH] doc/fftools-common-opts.texi
  • FFMPEG image + music = video

    24 septembre 2017, par Nikita Slastikhin

    Just trying todo video for youtube from image (1080p .png) + music (320Kb mp3).

        ffmpeg -loop 1 -i image.png -i music.mp3 -c:a copy -c:v libx264 -crf 0 -preset veryslow -shortest output.mp4
    

    But converting is to slowly.
    Any ideas, how it make optimize ?

    E:_TEST>ffmpeg -loop 1 -i image0.png -i music0.mp3 -c:a aac -c:v libx264 -crf 0 -preset veryfast -shortest video0.mp4
       ffmpeg version N-87306-g6743351 Copyright (c) 2000-2017 the FFmpeg developers
       built with gcc 7.2.0 (GCC)
       configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
       libavutil            55. 75.100 / 55. 75.100
       libavcodec         57.106.101 / 57.106.101
       libavformat        57. 82.100 / 57. 82.100
       libavdevice        57.    8.101 / 57.    8.101
       libavfilter         6.105.100 /    6.105.100
       libswscale            4.    7.103 /    4.    7.103
       libswresample     2.    8.100 /    2.    8.100
       libpostproc        54.    6.100 / 54.    6.100
       Input #0, png_pipe, from 'image0.png':
       Duration: N/A, bitrate: N/A
           Stream #0:0: Video: png, rgb24(pc), 1920x1080, 25 fps, 25 tbr, 25 tbn, 25 tbc
       Input #1, mp3, from 'music0.mp3':
       Metadata:
           encoder                 : Lavf57.56.101
       Duration: 01:00:33.06, start: 0.025057, bitrate: 128 kb/s
           Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
           Metadata:
               encoder                 : Lavc57.64
       Stream mapping:
       Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
       Stream #1:0 -> #0:1 (mp3 (native) -> aac (native))
       Press [q] to stop, [?] for help
       [libx264 @ 0000000002d3f320] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA3 BMI1
       [libx264 @ 0000000002d3f320] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
       [libx264 @ 0000000002d3f320] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - <a href="http://www.videolan.org/x264.html" rel="nofollow noreferrer">http://www.videolan.org/x264.html</a> - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=12 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
       Output #0, mp4, to 'video0.mp4':
       Metadata:
           encoder                 : Lavf57.82.100
           Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p(progressive), 1920x1080, q=-1--1, 25 fps, 12800 tbn, 25 tbc
           Metadata:
               encoder                 : Lavc57.106.101 libx264
           Side data:
               cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
           Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
           Metadata:
               encoder                 : Lavc57.106.101 aac
       frame=    107 fps= 40 q=-1.0 Lsize=         778kB time=00:00:04.24 bitrate=1503.5kbits/s speed=1.57x
  • Discord.py Music Bot problem with FFmpeg on heroku

    16 mai 2020, par Phantom_7331

    I'm coding my first music bot for discord and successfully tested it on the localhost. After that, I moved it on Heroku and installed FFmpeg buildpack for it. But for some reason, it doesn't work.&#xA;Here is proof that I installed FFmpeg buildpack on Heroku : Screen

    &#xA;&#xA;

    Here is my code (that works well on localhost) :

    &#xA;&#xA;

    youtube_dl.utils.bug_reports_message = lambda: &#x27;&#x27;&#xA;&#xA;ytdl_format_options = {&#xA;&#x27;format&#x27;: &#x27;bestaudio/best&#x27;,&#xA;&#x27;outtmpl&#x27;: &#x27;%(extractor)s-%(id)s-%(title)s.%(ext)s&#x27;,&#xA;&#x27;restrictfilenames&#x27;: True,&#xA;&#x27;noplaylist&#x27;: True,&#xA;&#x27;nocheckcertificate&#x27;: True,&#xA;&#x27;ignoreerrors&#x27;: False,&#xA;&#x27;logtostderr&#x27;: False,&#xA;&#x27;quiet&#x27;: True,&#xA;&#x27;no_warnings&#x27;: True,&#xA;&#x27;default_search&#x27;: &#x27;auto&#x27;,&#xA;&#x27;source_address&#x27;: &#x27;0.0.0.0&#x27;&#xA;}&#xA;&#xA;ffmpeg_options = {&#xA;    &#x27;options&#x27;: &#x27;-vn&#x27;&#xA;}&#xA;&#xA;ytdl = youtube_dl.YoutubeDL(ytdl_format_options)&#xA;&#xA;class YTDLSource(discord.PCMVolumeTransformer):&#xA;def __init__(self, source, *, data, volume=0.5):&#xA;    super().__init__(source, volume)&#xA;&#xA;    self.data = data&#xA;&#xA;    self.title = data.get(&#x27;title&#x27;)&#xA;    self.url = data.get(&#x27;url&#x27;)&#xA;&#xA;@classmethod&#xA;async def from_url(cls, url, *, loop=None, stream=False):&#xA;    loop = loop or asyncio.get_event_loop()&#xA;    data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url, download=not stream))&#xA;&#xA;    if &#x27;entries&#x27; in data:&#xA;        data = data[&#x27;entries&#x27;][0]&#xA;&#xA;    filename = data[&#x27;url&#x27;] if stream else ytdl.prepare_filename(data)&#xA;    return cls(discord.FFmpegPCMAudio(filename, **ffmpeg_options), data=data)&#xA;&#xA;@client.command()&#xA;async def join(ctx):&#xA;channel = ctx.message.author.voice.channel&#xA;if ctx.voice_client is not None:&#xA;    return await ctx.voice_client.move_to(channel)&#xA;await channel.connect()&#xA;&#xA;@client.command()&#xA;async def play(ctx, *, URL):&#xA;    async with ctx.typing():&#xA;        player = await YTDLSource.from_url(url)&#xA;        ctx.voice_client.play(player, after=lambda e: print(&#x27;Player error: %s&#x27; % e) if e else None)&#xA;    await ctx.send(&#x27;Now playing: {}&#x27;.format(player.title))&#xA;

    &#xA;