Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (64)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (11728)

  • lavc/videotoolboxenc : better compat_keys docs

    20 mai 2023, par Rick Kern
    lavc/videotoolboxenc : better compat_keys docs
    

    Added more specific docs about when to use compat_keys, and how to
    add new constants.

    Signed-off-by : Rick Kern <kernrj@gmail.com>

    • [DH] libavcodec/videotoolboxenc.c
  • Why does FFMPEG work with 1080p but doesn't work with 720p size… (code included)

    2 avril 2017, par JavaRunner

    I’ve uploaded my fully compiled code with its Makefile here :

    https://pastebin.com/xtCTj06F

    If I set 1280x720 I get the segmentation fault :

    [libx264 @ 0x7fdf4d25a600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x7fdf4d25a600] profile High, level 3.1
    [libx264 @ 0x7fdf4d25a600] 264 - core 148 r2748 97eaef2 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=12 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=12 rc=abr mbtree=1 bitrate=3400 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '1.mp4':
       Stream #0:0: Video: h264, yuv420p, 1280x720, q=2-31, 3400 kb/s, 20 tbn
       Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 64 kb/s
    sws_scale BEGIN
    ./MakeVideo.sh: line 2: 26422 Segmentation fault: 11  ./MakeVideo 1.mp4

    There’s some problem with this line :

    std::cout &lt;&lt; "sws_scale BEGIN\n";
    sws_scale( sws_context, ( const uint8_t * const * ) &amp;rgb, inLinesize, 0, frame->height, frame->data, frame->linesize );
    std::cout &lt;&lt; "sws_scale END\n";

    but if I set the size of a video to 1920x1080 or to 320x240 - all works fine.

    Is that some sort of a magick ?? Or a bug ?

    OS X 10.12.3
    ffmpeg/3.2.4 —enable-shared —enable-pthreads —enable-gpl —enable-version3 —enable-hardcoded-tables —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-libmp3lame —enable-libx264 —enable-libxvid —enable-opencl —disable-lzma —enable-vda

  • My discord bot did work on local, but didn't work on heroku

    26 juillet 2022, par PeeP

    I depoly my discord bot on Heroku.&#xA;My bot sings normally when running on local,&#xA;If I run it on Heroku, the song will not play.&#xA;Full code is here

    &#xA;

    @commands.command(name ="play")&#xA;    async def play_music(self, ctx, *keywords):&#xA;        if ctx.voice_client is None: &#xA;            if ctx.author.voice:&#xA;                await ctx.author.voice.channel.connect()&#xA;            else:&#xA;                embed = discord.Embed(title = &#x27;erro&#x27;, description = "use after enter the channel &#129300;", color = discord.Color.red())&#xA;                await ctx.send(embed=embed)&#xA;                raise commands.CommandError("Author not connected to a voice channel.")&#xA;        elif ctx.voice_client.is_playing():&#xA;            ctx.voice_client.stop()&#xA;        &#xA;        keyword = &#x27; &#x27;.join(keywords)&#xA;        url = getUrl(keyword)&#xA;        await ctx.send(url)&#xA;        embed = discord.Embed(title = &#x27;play&#x27;, description = &#x27;getting ready to play the song! &#128526;&#x27; , color = discord.Color.red())&#xA;        await ctx.send(embed=embed)&#xA;

    &#xA;

    It works up to the top code, but it doesn't seem to work on the bottom code.

    &#xA;

            data = self.DL.extract_info(url, download = False)&#xA;        link = data[&#x27;url&#x27;]&#xA;        title = data[&#x27;title&#x27;]&#xA;&#xA;        ffmpeg_options = {&#xA;            &#x27;options&#x27;: &#x27;-vn&#x27;,&#xA;            "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5"&#xA;        }&#xA;        player = discord.FFmpegPCMAudio(link, **ffmpeg_options, executable = "./ffmpeg/bin/ffmpeg.exe")&#xA;        ctx.voice_client.play(player)&#xA;        &#xA;        embed = discord.Embed(title = &#x27;play&#x27;, description = f&#x27;{title} start play! &#128037;&#x27; , color = discord.Color.blue())&#xA;        await ctx.send(embed=embed)&#xA;

    &#xA;

    My heroku Buildpacks

    &#xA;

    heroku/python&#xA;https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git&#xA;https://github.com/xrisk/heroku-opus&#xA;https://github.com/heroku/heroku-buildpack-apt.git&#xA;https://github.com/heroku/heroku-buildpack-apt&#xA;https://github.com/kitcast/buildpack-ffmpeg.git&#xA;https://github.com/codeinteger6/heroku-buildpack-libopus.git&#xA;https://github.com/heroku/heroku-buildpack-apt.git&#xA;

    &#xA;

    requirements.txt

    &#xA;

    discord.py&#xA;discord.py[voice]&#xA;asyncio&#xA;openpyxl&#xA;youtube_dl&#xA;requests&#xA;ffmpeg&#xA;PyNaCl&#xA;wheel&#xA;websockets==6.0&#xA;gtts&#xA;PyGithub&#xA;pyssml&#xA;gspread&#xA;oauth2client&#xA;PyOpenSSL&#xA;boto3&#xA;

    &#xA;

    Aptfile

    &#xA;

    git&#xA;libopus0&#xA;libopus-dev&#xA;libssl-dev&#xA;libffi-dev&#xA;libsodium-dev&#xA;

    &#xA;

    I really wanna know my problems.&#xA;Thank you.

    &#xA;