Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    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 (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (6684)

  • Subtract a specific string from a variable in a for loop

    14 octobre 2020, par Filip

    I am making a file converter with batch using FFMPEG.

    


    I have encountered a problem when trying to subtract the name of a file from the complete link to the file to get the directory of the folder it is in so after the file is converted it can be put into that directory.

    


    Can someone advise me on how I could subtract the string from the filename variable from the string in the directory

    


    My code :

    


    @echo off
SETLOCAL ENABLEDELAYEDEXPANSION
set filetype=.flac
for /R %%a in ("*%filetype%*") do (
    set directory=%%a
    set filename=%%~na%filetype%
    set convdir=!directory:%filename%=!
    echo !convdir!
    pause
    ffmpeg -i "%%a" "convdir%%~na.wav"
    echo Converted %%a
)
echo Convertion Done!
pause


    


  • Anomalie #3575 (Nouveau) : Regression GD2

    28 octobre 2015, par dani-belvil-net -

    Nomadgroup points out a functional regression on spip 3.0.20. compared to 3.0.17 :


    Mensaje reenviado --------
    Asunto : [Spip-es] Arreglado el problema del GD2
    Fecha : Mon, 26 Oct 2015 22:02:48 -0500
    De : Spip Nomadagroup <spip@nomadagroup.com>
    A : spip <spip-es@rezo.net>

    Bueno como mis presentimientos eran ciertos. El problema es de la versión del spip 3.0.20. Me atrase a la versión 3.0.17 y anda bien el el GD2.


    GD filters don’t work :

    El 26/10/15 a las 16:49, Spip Nomadagroup escibió :
    > Resulta que estoy queriendo usar la extensión para recortar unas imágenes pero no funciona... 
    > me esta arrojando errores (Error : filtro image_recadre no definido) o no hace la modificación.
    
  • ydl erroring on download only getting partial download and an error on ydl.download([url])

    11 septembre 2022, par newtboot

    building an audio stream bot command for my custom discord bot but it keep throwing errors on ydl.download([url]) and only fetches a partial download assuming it disconnects from server before finishing download i'm not sure how to fix this error or if its just a syntax thing

    &#xA;

    import discord&#xA;import aiohttp&#xA;import random&#xA;import youtube_dl&#xA;import os&#xA;from discord.ext import commands&#xA;&#xA;@bot.command()&#xA;async def play(ctx, url : str):&#xA;    song_there = os.path.isfile("song.mp3")&#xA;    try:&#xA;        if song_there:&#xA;            os.remove("song.mp3")&#xA;    except PermissionError:&#xA;        await ctx.send("wait for current audion to finish or use the &#x27;stop&#x27; command")&#xA;        return&#xA;&#xA;    voiceChannel = discord.utils.get(ctx.guild.voice_channels, name=&#x27;moosic&#x27;)&#xA;    voice = discord.utils.get(bot.voice_clients, guild=ctx.guild)&#xA;    if voice is None or not voice.is_connected():&#xA;        await voiceChannel.connect()&#xA;    ydl_opts = {&#xA;        &#x27;format&#x27;: &#x27;bestaudio/best&#x27;,&#xA;        &#x27;postprocessors&#x27;: [{&#xA;            &#x27;key&#x27;: &#x27;FFmpegExtractAudio&#x27;,&#xA;            &#x27;preferredcodec&#x27;: &#x27;mp3&#x27;,&#xA;            &#x27;preferredquality&#x27;: &#x27;192&#x27;,&#xA;        }],&#xA;    }&#xA;    with youtube_dl.YoutubeDL(ydl_opts) as ydl:&#xA;        ydl.download([url])&#xA;    for file in os.listdir("./"):&#xA;        if file.endswith(".mp3"):&#xA;            os.rename(file, "song.mp3")&#xA;    voice.play(discord.FFmpegPCMAudio("song.mp3"))&#xA;

    &#xA;