Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (105)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (9505)

  • I want to create the discord bot by use python,but ffmpeg always had problem

    12 décembre 2023, par Bot
    async def play(ctx, *, song_name):  

    if ctx.author.voice is None or ctx.author.voice.channel is None:
        await ctx.send("nobody")
        return

    voice_channel = ctx.author.voice.channel
    channel = None
    if ctx.voice_client is None:
        channel = await voice_channel.connect()
    else:
        await ctx.voice_client.move_to(voice_channel)

    ydl_opts = {'format': 'bestaudio'}
    videosSearch = VideosSearch(song_name, limit=1) 
    results = videosSearch.result()
    
    url = results['result'][0]['link']
    
    if voice_channel.guild.id in queues:
        queues[voice_channel.guild.id].append(url)
        
    else:
        queues[voice_channel.guild.id] = [url]
        
    if not ctx.voice_client.is_playing():
        await play_next(ctx.voice_client, voice_channel.guild.id)


    


    ffmpeg has this error detail :

    


    discord.player ffmpeg process 17656 successfully terminated with return code of 3199971767.

    


    I found the internet ,lots of people got the code of 1 or -1.

    


    But i get 3199971767 ,i don't know the meaning of this.

    


    BTW, my url is correct.

    


    Hoping someone can help me.

    


    TY

    


  • How to see FFmpeg command MovePY uses ?

    16 novembre 2019, par user319862

    I am trying to figure out why moviepy doesn’t output expected results. How can I log the FFmpeg command that it uses so that I can compare ?

  • How to benchmark the decoding of the frame by ffmpeg ?

    13 juin 2018, par Anny G

    [ What I have done ]

    I am trying to measure a performance of different ffmpeg decoders by

    • timing how long the call to function avcodec_decode_video2(..) takes in ffmpeg.c and running ffmpeg binary the following way

    ~/bin/ffmpeg -benchmark_all -loglevel debug -threads 0 -i ~/Documents/video-input.h264 -c:v libx265 -x265-params crf=25 video-output.hevc

    • and by timing how long the same function takes in ffplay.c and running the ffplay binary the following way

    ~/bin/ffplay ~/Documents/video-input.h264

    In my understanding the average time for the call to that function should be the same whether I am converting the video or playing it, because I am only measuring how long it takes to decode the frame for that video. Is this a wrong way of doing it ? Please let me know if I am incorrect. The results I am getting are strange to me - the call to the aforementioned function takes twice as much in ffmpeg binary compared to ffplay binary. I have tried to run ffmpeg binary with -threads 0 and without it, but the results are still the same(twice as long as ffplay). Could it be because ffplay binary simply utilizes more threads ? When I try it with -threads 1, ffmpeg takes about 10 times as long as ffplay (which makes sense to me since before it was using several threads and now it is only using 1)

    Before I ask my question, I want you to know that I am a beginner in video processing and video encoding/decoding processes.

    [My question]

    I am wondering what would be an accurate way to measure how long it takes to decode a frame (using 1 thread) ? Should I simply measure only how long it takes to call avcodec_decode_video2(..) function using the ffmpeg binary, and not the ffplay binary ? Would the results be more accurate that way ?
    I also tried to enable -benchmark_all -loglevel debug options, but it seems like the following message bench:    64537 decode_video 0.0 is not very helpful if 0.0 is supposed to mean time. (Not sure what the other number means).