Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (30)

  • 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 (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (3159)

  • Long-running AWS Linux process suddenly freezes once in a while

    12 décembre 2022, par Incredi Blame

    I am running a non-stop process on Ubuntu LTS AWS t2.micro instance. Process is ffmpeg downloading network stream from a CCTV. It crashes every 10 min cause of network errors, so I run it in a cycle script like this :

    


    while true
do
    ~command~
done


    


    The cycler-script itself never crashes.

    


    Everything works fine for hours (I check with ssh from time to time). But then sometimes ffmpeg process just freezes. I checked logs, it is writing the stream and it literally freezes mid-way through the stream, no error messages, nothing, as if it is still waiting for the next packet. Just stops working and never wakes up. Usually if the stream goes down ffmpeg complains, spits errors out and crashes. But on this occasion there is nothing and no crash either.

    


    Another mystery is that I run several of such ffmpeg processes and they all freeze at the same time.

    


    The issue with that freezing is the cycler can't restart ffmpegs, as they haven't crashed. When I check frozen processes with ps -aux they are shown as SL, which doesn't tell much, as they are always marked this way. top -i doesn't display them at all as active. When they work as normal it does. If I kill those frozen processes the cycler restarts them and everything works again as it should.

    


    I can always kill those ffmpegs once in a while on some schedule and let cycler restart them. Or check if they froze by timestamps they output and kill them then, so theoretically the problem is solvable. But I just want to know what causes it.

    


    I haven't figured out yet if this freezing happens at the same time of the day, trying to track that now. I don't think it could be related to free space shortage, as I have a cleaner cron job and free space is always available.

    


    So I have the following questions :

    


      

    1. Is there anything on AWS itself which could cause this freezing ? Like some kind of regular maintenance job that messes with running processes ?
    2. 


    3. Could it be caused by Linux freezing long-running processes ? Probably not, as they all freeze at the same time while current running time is different for each.
    4. 


    5. Last one, my cron job that cleans space also cleans out logs that ffmpeg is appending to. The script goes like this :
    6. 


    


    tail "ffmpeg.log" -n 10000 > "tmp.log" && \
    cat "tmp.log" > "ffmpeg.log" && \
    rm "tmp.log"


    


    The logs now are already full and are never fully cleared. Cron job just preserves the last 10000 lines. It runs every 2 min and runs fine for hours. Could it be responsible for this sudden freezing due to some coincidental timing ?

    


    If none of the above is responsible for freezing it must be some streaming issue on the server side, which I have no access to. In that case I would have to rely on detecting freezing and restarting ffmpegs.

    


  • How to get offset from audio

    24 avril 2014, par Dhaval

    I need to insert another audio on specific offset (where space existed in audio track).

    So, For that, i need to fetch offset of each space from audio and then apply some ffmpeg/sox command to insert another aduio on that offset.

    Please share me some command to fetch the offset for space
    first so, later, i could mix the another audio on same offset.

    Please suggest your view/command or any library.

    I think, it would be possible in FFMPEG OR SOX.

    Updated :
    I have two audio files.
    In which one audio files contains some songs but, there are some space at some interval. These space should be fill by another audio.

    example :
    Audio 1 - song - audio has space at 5 places.

    audio 2 - a people name audio.

    output - audio one should fill up the all 5 places by aduio 2.

    Thanks

  • FFMPEG Waveform with specific color

    17 octobre 2016, par Jeremy

    looking to get a waveform from an input that is this specific gold color #ad9557 (173/255, 149/255, 87/255) and have a transparent background / or black if not possible.

    I’m currently using this script to generate it :

    command = new String[]{
                   "-i", mRapFile.getAbsolutePath(),
                   "-filter_complex",
                   "showwavespic",
                   "-frames:v",
                   "1",
                   mWaveFormFile.getAbsolutePath()};

    The waveform is there but is a weird orange color now. How can I change this ?

    Thank you !