Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (69)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (11399)

  • Correct load() and play() with new UR parameter, so that subsequent play() call uses new URL (and not URL assigned with original createSound() call.)

    16 septembre 2012, par Scott Schiller

    m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Correct load() and play() with new UR parameter, so that subsequent play() call uses new URL (and not URL assigned with original createSound() (...)

  • Discord.py, ffmpeg and pytube to play audio, but it keeps stopping early. Why ? [closed]

    15 septembre 2023, par LowEloTV

    I tried to program a discord,py bot to play audio, but the audio kept cutting out in the middle.

    


    @bot.command()
async def play(ctx, url: str):
    global ffmpeg_executable
    if discord.utils.get(ctx.guild.roles, name='music'):
        role = discord.utils.get(ctx.guild.roles, name='music')
        if role in ctx.author.roles:
            voice_client = ctx.voice_client


            if voice_client is None:
                channel = ctx.author.voice.channel
                voice_client = await channel.connect()
                print("Bot joined voice channel successfully.")


            try:
                # Fetch the audio stream URL using pytube
                yt = YouTube(url)
                audio_stream = yt.streams.filter(only_audio=True).first()


                # Play the audio stream using the VoiceProtocol
                if voice_client.is_playing():
                    voice_client.stop()
                voice_client.play(discord.FFmpegPCMAudio(audio_stream.url, executable=ffmpeg_executable))
            except Exception as e:
                await ctx.reply(f"An error occurred: {str(e)}")
        else:
            await ctx.reply('You don\'t have the permission for this command!')
    else:
        await ctx.reply('This Feature is not available on this guild, ask an Admin to add it!')




    


    I tried to program a discord,py bot to play audio, but the audio kept cutting out in the middle.

    


  • I use ffmpeg dinamically to edit a local hosted video to be streamed on iPhone over 3G [on hold]

    3 octobre 2014, par Luchian Chivoiu

    I use ffmpeg dinamically to edit a local hosted video to be streamed on iPhone over 3G .

    I use this line :
    "ffmpeg -i C :\file1.mp4 -s 640x480 -r 30000/1001 -b:a 56k -bt 40k -b:v 50k -maxrate 10M -bufsize 10M -coder 0 -bf 0 -refs 1 -ar 48000 -ab 52k C :\file2.mp4" and it doesn’t work to open on iPhone the transformed file called "file2.mp4".
    I use Web Api and C# to call the ffmpeg locally and the resulted file opens on the browser but still doesn’t want to stream to an iPhone over 3G only if it’s over WiFi.

    Here Apple explains the process but I still didn’t get it work .

    https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/CreatingVideoforSafarioniPhone/CreatingVideoforSafarioniPhone.html

    One example that can’t be played on IPhone is this one : http://www.starlety.com/Videos/8ada5277-424a-e411-b2e5-00ff91d7f3dd.mp4