Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (56)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • 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

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (6389)

  • 2023-04-18 18:25:05 INFO discord.player ffmpeg process ##### successfully terminated with return code of 0

    19 avril 2023, par I_am_thing

    I am making a discord music bot with discord.py and ctx, it uses Spotify

    &#xA;

    I am using FFmpeg for my music feature. This is my !play code

    &#xA;

    client_id = &#x27;&#x27;&#xA;client_secret = &#x27;&#x27;&#xA;client_credentials_manager = SpotifyClientCredentials(client_id=client_id, client_secret=client_secret)&#xA;sp = spotipy.Spotify(client_credentials_manager=client_credentials_manager)&#xA;&#xA;bot.volume = 0.5 # initial volume of the bot (can be changed)&#xA;&#xA;@bot.command()&#xA;async def play(ctx, *, track_query):&#xA;    # check if the query is a valid Spotify link&#xA;    if &#x27;open.spotify.com/track/&#x27; in track_query:&#xA;        track_id = track_query.split(&#x27;/&#x27;)[-1] # extract the track ID from the link&#xA;    else:&#xA;        # search for tracks with the given name&#xA;        track_results = sp.search(q=track_query, type=&#x27;track&#x27;, limit=1)&#xA;        if len(track_results[&#x27;tracks&#x27;][&#x27;items&#x27;]) == 0:&#xA;            await ctx.send(f&#x27;Sorry, I could not find any track with the name "{track_query}".&#x27;)&#xA;            return&#xA;        track_id = track_results[&#x27;tracks&#x27;][&#x27;items&#x27;][0][&#x27;id&#x27;] # get the track ID for the first search result&#xA;    track_info = sp.track(track_id) # get the track information for the given ID&#xA;    track_name = track_info[&#x27;name&#x27;]&#xA;    track_artist = track_info[&#x27;artists&#x27;][0][&#x27;name&#x27;]&#xA;    track_duration = time.strftime(&#x27;%M:%S&#x27;, time.gmtime(track_info[&#x27;duration_ms&#x27;]//1000))&#xA;    track_preview_url = track_info[&#x27;preview_url&#x27;] # get the preview URL for the track&#xA;    if track_preview_url is None:&#xA;        await ctx.send(f&#x27;Sorry, the track "{track_name}" by {track_artist} cannot be played.&#x27;)&#xA;        return&#xA;    voice_channel = ctx.author.voice.channel&#xA;    if voice_channel is None:&#xA;        await ctx.send(&#x27;Please join a voice channel first.&#x27;)&#xA;        return&#xA;    voice_client = await voice_channel.connect()&#xA;    audio_source = discord.FFmpegPCMAudio(track_preview_url, options="-b:a 128k -bufsize 512k")&#xA;    voice_client.play(audio_source, after=lambda e: print(&#x27;Player error: %s&#x27; % e) if e else None)&#xA;    voice_client.source = discord.PCMVolumeTransformer(voice_client.source)&#xA;    voice_client.source.volume = bot.volume&#xA;&#xA;    # format the embed message&#xA;    embed = discord.Embed(title=track_name, description=track_artist, color=0xff8c00)&#xA;    embed.add_field(name=&#x27;Duration&#x27;, value=track_duration, inline=True)&#xA;    embed.set_thumbnail(url=track_info[&#x27;album&#x27;][&#x27;images&#x27;][0][&#x27;url&#x27;])&#xA;    embed.set_footer(text=&#x27;This music is from https://www.spotify.com/&#x27;)&#xA;    await ctx.send(embed=embed)&#xA;&#xA;    while voice_client.is_playing():&#xA;        await asyncio.sleep(1)&#xA;    await voice_client.disconnect()&#xA;

    &#xA;

    I joined the unofficial ffmpeg discord server no one could find a fix I searched for ages and I couldn't fix it

    &#xA;

  • Assistance required with filter graph construction(fast motion between times)

    6 janvier 2023, par D-MAN

    I am trying to re-create the following video, using ffmpeg.&#xA;https://youtu.be/eVQ9ysp0Pj0. "please check 0.19 minute for examples"&#xA;I have the following line of code which has most of the elements, except the part where is applies fast motion for 1s at certain outputs([vfr1][vfr2][vfr3])/times. currently it is only setpts=0.5*PTS[vboom] for the entire length of the video.

    &#xA;

    exe = "-i " &#x2B; file &#x2B; " -i " &#x2B; frame &#x2B; " -i " &#x2B; framestart &#x2B; " -i " &#x2B; frameEnd &#x2B; " -i " &#x2B; audioOverlay &#x2B; " -filter_complex \"[0:v]pad="&#x2B;mVideoWidth&#x2B;":"&#x2B;mVideoHeight&#x2B;":576:0[vpad]; [vpad][1]overlay[vframed]; [vframed]split=3[vfr1][vfr2][vfr3]; [vfr1]reverse[vrev]; [vfr2][vrev][vfr3]concat=n=3,setpts=0.5*PTS[vboom]; [vboom][2]overlay=enable=&#x27;lte(t,2)&#x27;[vpreout]; [vpreout][3]overlay=enable=&#x27;gte(t,"&#x2B;msec&#x2B;"*3*0.5-2)&#x27; \" -map 4:a -b:v 8000k -shortest -preset ultrafast -crf 23 " &#x2B; file2.getAbsolutePath();

    &#xA;

    i have tried the following code snippets in various sections of the filter graph, with no luck !

    &#xA;

    //[0:v]trim=0:2,setpts=PTS-STARTPTS[v1] ;[0:v]trim=2:5,setpts=2*(PTS-STARTPTS)[v2] ;[0:v]trim=5,setpts=PTS-STARTPTS[v3] ;&#xA;//[0:v]trim=0:10,setpts=PTS-STARTPTS[vfr1] ;[0:v]trim=10:30,setpts=PTS-STARTPTS[vfr2] ;[0:v]trim=start=30,setpts=PTS-STARTPTS[vfr3] ;&#xA;//[0:v]trim=2:3,setpts=0.75*(PTS-STARTPTS) ; [0:v]trim=4:5,setpts=0.75*(PTS-STARTPTS) ; [0:v]trim=7:8,setpts=0.75*(PTS-STARTPTS) ;&#xA;//[0:v]select='between(t,1,4)+between(t,4,6)',setpts=0.87*PTS ;

    &#xA;

  • avformat/msf : Check that channels doesnt overflow during extradata construction

    25 avril 2021, par Michael Niedermayer
    avformat/msf : Check that channels doesnt overflow during extradata construction
    

    Fixes : signed integer overflow : 2048 * 1122336 cannot be represented in type 'int'
    Fixes : 29102/clusterfuzz-testcase-minimized-ffmpeg_dem_MSF_fuzzer-6726959600107520

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/msf.c