Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (49)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (7727)

  • FFMPEG not concatenating webm videos on centos | Only VP8 or VP9 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM

    28 février 2019, par Saurabh Sharma

    I’m trying to concat multiple .webm videos into single video using ffmpeg on centos 7 server. I have txt file like :
    video.txt

    file upload_0d62886ccceb71117f93e08f6ce40ed4.webm
    file upload_0dc5935ea564aa105484b17cf0eae2cb.webm
    file upload_0dc89839a1cb1d1cb84649c966b03f9b.webm
    file upload_eefa16438205bcead017145b7d15ec58.webm

    I’m using below command for concat :

    ffmpeg -f concat -safe 0 -i video.txt -c copy output.webm

    Then I got the following output

    ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
    configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg -
    -incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --
    arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -
    fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-
    switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --enable-
    libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --
    enable-version3 --enable-bzlib --disable-crystalhd --enable-gnutls --enable-
    ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-
    indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --
    enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --
    enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
    --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --
    enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --
    enable-postproc --enable-pthreads --disable-static --enable-shared --enable-
    gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-
    runtime-cpudetect
    libavutil      54. 31.100 / 54. 31.100
    libavcodec     56. 60.100 / 56. 60.100
    libavformat    56. 40.101 / 56. 40.101
    libavdevice    56.  4.100 / 56.  4.100
    libavfilter     5. 40.101 /  5. 40.101
    libavresample   2.  1.  0 /  2.  1.  0
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  2.101 /  1.  2.101
    libpostproc    53.  3.100 / 53.  3.100

    Input #0, concat, from ’video.txt’ :
    Duration : N/A, start : 0.000000, bitrate : N/A
    Stream #0:0(eng) : Audio : opus, 48000 Hz, mono, fltp
    Stream #0:1(eng) : Video : h264 (Constrained Baseline), yuv420p, 640x480, SAR
    1:1 DAR 4:3, 30.30 fps, 30 tbr, 1k tbn, 60 tbc
    [webm @ 0x708120] Codec for stream 0 does not use global headers but
    container format requires global headers
    [webm @ 0x708120] Codec for stream 1 does not use global headers but
    container format requires global headers
    [webm @ 0x708120] Only VP8 or VP9 video and Vorbis or Opus audio and WebVTT
    subtitles are supported for WebM.
    Output #0, webm, to ’output.webm’ :
    Metadata :
    encoder : Lavf56.40.101
    Stream #0:0(eng) : Video : h264, yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 30.30 fps, 30 tbr, 1k tbn, 1k tbc
    Stream #0:1(eng) : Audio : opus, 48000 Hz, mono
    Stream mapping :
    Stream #0:1 -> #0:0 (copy)
    Stream #0:0 -> #0:1 (copy)
    Could not write header for output file #0 (incorrect codec parameters ?) :
    Invalid argument

  • Small discord bot with a set of working music commands, about 6 days ago the play function completely stopped functioning (more below)

    24 février 2021, par TheColoradoKid

    It is a small discord python bot for my server with various features, which had included music commands until they stopped out of the blue without showing any error for the problem.
It uses FFMpeg, and youtubeDl along with pytube to gather the song and store it locally to play it, I have pip updated all of these and they are definitely on the current versions as I have made sure of this online.
Any help or insight anyone could provide would be greatly appreciated. I'm sorry if the code is convoluted in the way it's written I'm still pretty new to coding and this is one of my first proper larger projects.

    


    If you need any information I'm happy to give what I can to help.

    


    Here is the code for the play command :

    


    @client.command()
async def play(ctx, *args):
    global queu
    #global autom
    if not args:
        voice = get(client.voice_clients, guild=ctx.guild)
        if not voice.is_playing():
            server = ctx.message.guild
            voice_channel = server.voice_client
            if queu:
                async with ctx.typing():
                    player = await YTDLSource.from_url(queu[0], loop=client.loop)
                    voice_channel.play(player, after=lambda e: print('Player error: %s' % e) if e else None)

                await ctx.send('**Now playing:** {}'.format(player.title))
                del(queu[0])
                # while autom == True:
                #     try:
                #         a = client.get_command('auto')
                #         await ctx.invoke(a)
                #     except:
                #         print('')
            elif not queu:
                await ctx.send("You can't play if there isn't anything in the queue\nIf auto mode was on it has now been disabled, to use it gain please add to the queue and run ``;auto on``")
                autom = False
    if args:
        global gueu
        search_keywords = ""
        print(args)
        for word in args:
            search_keywords += word
            search_keywords += '+'
        link = "https://www.youtube.com/results?search_query="
        link += search_keywords
        #print(link)
        html = urllib.request.urlopen(link)
        video_ids = re.findall(r"watch\?v=(\S{11})", html.read().decode())
        url = ("https://www.youtube.com/watch?v=" + video_ids[0])
        #print(url)
        queu.append(url)
        #print(queu)
        await ctx.send("``{}`` added to queue!\n If the song doesn't start please either let the current song end and run ``;play``/``;next`` again or run ``;next`` to play now".format(url))
        try:
            p = client.get_command('play')
            await ctx.invoke(p)
        except:
            print('failed')


    


  • nomenclature #2520 : extensions’ vs ’vérouillés

    25 mars 2012, par marcimat -

    J’ai fait un mix avec la phrase de Fil et celle qui y était avant (http://zone.spip.org/trac/spip-zone/changeset/59700). L’url de documentation sera a changer, mais je n’en ai point trouvé de correcte sur les extensions dans spip.net, juste un article global sur SPIP 2.1 je (...)