Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (21)

  • Liste des distributions compatibles

    26 avril 2011, par

    Le tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (4967)

  • Python : FFmpeg Input/output error using discord.py

    29 mai 2023, par PeeblYweeb

    here is my code :

    


       async def direct(self, interaction: discord.Interaction, link: str):
        voice_client = get(self.bot.voice_clients, guild=interaction.guild)
        if voice_client is None:
            return await interaction.response.send_message("❌ Connect to a channel first.")

        await interaction.response.send_message("Using direct link.")
        voice_client.play(discord.FFmpegPCMAudio(link))
        return


    


    here is my error :

    


    [tls @ 0x557c73a19d00] Error in the pull function.
https://cdn.discordapp.com/attachments/1109998398150545410/1112473248505004142/portradio-_1_.ogg: Input/output error
2023-05-28 13:29:11 INFO     discord.player ffmpeg process 1458408 successfully terminated with return code of 0.


    


    this happens usually around half-way through whatever im playing consistently

    


    i've tried setting arguments like :

    


    ffmpeg_options = {'options': '-vn -dn -sn -ignore_unknown -fflags +discardcorrupt'}


    


    from this other post
’corrupt input packet in stream 1’ error in FFMPEG
which fixed the error corrupt input packet but im still having trouble any ideas ?

    


    goal is to get the audio playing to discord without having to store the file locally then playing it from there then discarding it after.

    


  • Anomalie #4671 (Nouveau) : pétouille d’affichage du #DESCRIPTIF d’un document

    18 février 2021, par cy_altern -

    suite à https://git.spip.net/spip/medias/commit/fb1de33ae6e8e30f9a9d579655808e170af2c81c , si un document à du contenu dans son champ descriptif, les modèles d’affichage des documents affichent les balises HTML du descriptif : (cf capture jointe )
    A priori c’est le passage de |propre sur la sortie de la balise #DESCRIPTIF qui pouiche
    Un correctif possible est d’étoiler cette balise (puisque son contenu passera par |propre) :

    <span class="CodeRay">...(#ENV{descriptif,#DESCRIPTIF*}|propre|PtoBR)...
    </span>


    ...solution qui règle le problème si c’est #DESCRIPTIF qui "sort de la balise" mais pas si c’est #ENVdescriptif et qu’il contient du code HTML
    L’alternative est d’étoiler le #ENV en totalité :

    <span class="CodeRay">...(#ENV*{descriptif,#DESCRIPTIF}|propre|PtoBR)...
    </span>


    mais ça semble nettement plus risqué (?)

  • php ffmpeg exec & shell_exec process stops after few seconds

    6 octobre 2019, par Salem

    I’m using PHP script file with simple html interface to control FFMPEG process start and stop from the browser , the script goal is start live streaming on my server that usually runs for hours without stop (using ffmpeg and nginx-rtmp )
    my script were working perfectly until I notice recently This is strange behaviors
    here is my php script variables

    $cast =" /usr/sbin/ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i '".$src."' -i /var/www/example/logo.png -r 23.976 -strict -2 480x360 -aspect 16:9 -filter_complex 'overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)-23' -vcodec libx264 -x264opts colormatrix=bt709 -profile:v high444 4 -b:v 290k -maxrate 290k -bufsize 250k  -af "aresample=async=1:min_hard_comp=0.100000:first_pts=0" -acodec libfdk_aac -profile:a aac_he_v2 -b:a 16k -map_metadata -1 -f flv  rtmp://localhost/hls/live 2>/dev/null >/dev/null  &amp; " ;
    $output =  shell_exec( $cast   )    ;

    It’s like FFMPEG process continue until original php process ( that call it ) die , at first I thought this issue with the sorce or ffmpeg command but I test the same command on the sell and it works perfectly .
    My suspicion are with on STDIO etc were not redirected right . even when I excute the same php script from the shell it’s do the same stops after few seconds .

    =Edit=

    Even when I tried to run ffmpeg from the command line and make it run on the background , I got same behavior the process stop after few seconds , ffmpeg continue running only if I wait for it output .

    Here my OS details :-

    DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
    NAME="Ubuntu"
    VERSION="18.04.3 LTS (Bionic Beaver)"