Recherche avancée

Médias (91)

Autres articles (46)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (9396)

  • Why is ffmpeg not working in my Python discord bot ?

    27 juillet 2023, par Dantheman1765

    I decided to start learning how to make a discord bot in Python and I have run into an issue with ffmpeg playing audio through my bot. I first wrote the code on my laptop and it worked fine but when I transferred it to my computer I ran into a problem and ffmpeg does not work. I can get the bot to join but it wont play anything. I am fairly certain I have installed all of the dependencies but I could be mistaken.

    


    Here is the code for the play function I am having trouble with :

    


    @client.command(pass_context=True) 
async def play(ctx, arg): 
    voice = ctx.guild.voice_client 
    source = FFmpegPCMAudio(arg) 
    player = voice.play(source) 


    


    and here are all of my imports :

    


    import discord 
from discord.ext import commands 
from discord import FFmpegPCMAudio 
from discord import Member


    


    I have installed ffmpeg and put it in my path as well.

    


    Whenever I try to use the play function, I get this message :

    


    discord.player ffmpeg process 33068 successfully terminated with return code of 4294967294.


    


    The process number changes but the return code stays the same.

    


    Can anyone help me get to the bottom of this or point me in the right direction ?

    


  • Play video overlay over video not working in ffmpeg

    24 décembre 2017, par Sumit Marwha

    I am trying to play video over another video using ffmpeg. When i am trying to play video from starting then overlay video plays. But if i try to overlay video from n seconds it doesn’t work

    ffmpeg -i input.mp4 -i overlay.mp4
    -filter_complex [1:v]scale=920:920[out],[out][0]overlay=0:0:enable='between(t\,4\,8)'[out]
    -map [out] output.mp4

    If i change between(t\,4\,8) to between(t\,0\,4) then overlay video works normally. It is not working for between(t\,4\,8). Please help how to solve it

  • ffmpeg converting RTSP to HLS stops working after hours

    28 juin 2019, par lin wang

    I’m using ffmpeg to convert RTSP stream to HLS, here is the command :

    ffmpeg -rtsp_transport tcp -i rtsp ://address/9012120.smil -vcodec copy -acodec copy -fflags +genpts -f hls -hls_wrap 5 -hls_list_size 2 -hls_time 3 /dev/shm/live/1/v.m3u8

    It worked properly at the beginning, but after hours(sometimes 8 hours sometimes less),it just stopped updating .ts files but the ffmpeg process was still running, so the hls stream just stuck.
    Check the log, no error log at the moment of the converting stopping,but before that there were some warning logs as below :

    [hls @ 0x57602c0] Non-monotonous DTS in output stream 0:1 ; previous : 5957536600,
    current : 2744367719 ; changing to 5957536601. This may result in incorrect timestamps in the output file.

    Any idea how to fix this ?