Recherche avancée

Médias (0)

Mot : - Tags -/xmp

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

Autres articles (46)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (4556)

  • ffmpeg crashing server working with fpm-php

    1er janvier 2023, par John

    I'm running a wordpress bitnami stack consisting of apache, mariadb and fpm-php.
I have cron jobs fulfilling encoding of one video at a time using ffmpeg, so while fpm-php is serving http requests ffmpeg works in parallel encoding videos.
When encoding starts everything seems to work fine, as shown here : ffmpeg working alongside fpm-php

    


    But eventually after around an hour the server crashes due to lack of memory space. I've read that when CPU can't handle ffmpeg, ffmpeg will start consuming RAM until it exhausts it so that might be what causes the sudden spike in memory usage.

    


    The image bellow illustrates what happens when the server crashes, kswapd0 creates virtual memory out of disk space to cope with lack of memory :
enter image description here

    


    The server has 4vCPU and 8GB RAM. Website traffic is just me and a colleague, so it should be able to handle ffmpeg taking up around 1vCPU to encode videos.

    


    I use the following configuration for fpm-php :

    


    pm=ondemand
pm.max_children=5
pm.start_servers=2
pm.min_spare_servers=1
pm.max_spare_servers=3
pm.max_requests = 500


    


    Has anyone had this issue before ?

    


    Thank you.

    


    I've tried changing around the configuration of fpm-php, but the issue still happens. I don't see how ffpmeg can crash the server when it's taking up about 25% of the CPU only, when there's no traffic to the server.

    


  • FFmpeg - filter-chaining and mapping output

    15 décembre 2022, par o_ren

    In FFmpeg, is it possible to map an output from the middle of a filter chain ?

    


    For example, in this command :

    


    ffmpeg -f lavfi -i smptehdbars=rate=25:size=1920x1080 -filter_complex "[0:v]drawtext=text=text1:x=100/2:y=100:fontsize=50[txt1];[txt1]drawtext=text=text2:x=200/2:y=200:fontsize=50[txt2];[txt2]drawtext=text=text3:x=300/2:y=300:fontsize=50[txt3];[txt3]drawtext=text=text4:x=400/2:y=400:fontsize=50[txt4]" -map "[txt4]" -t 10 -y ~/Desktop/mapping.mp4


    


    This works : -map "[txt4]".
When trying -map "[txt3]" (or txt2, or txt1) I get "

    


    


    Output with label 'txt3' does not exist in any defined filter graph,
or was already used elsewhere."

    


    


    Thanks

    


  • How to debug GitHub Action failure

    9 décembre 2022, par Meltemi

    Just yesterday a stable GitHub Action (CI) started failing rather cryptically and I've run out of tools to debug it.

    


    All I can think of is our BUNDLE_ACCESS_TOKEN went bad somehow but I didn't set that up. It's an Action secret under Repository Secrets that are not visible in GitHub UI. How can I test to see if it's valid ?

    


    Or maybe it's something else ?!? "Bad credentials" is vague...

    


    Here's the meat of the action we're trying to run :

    


    #my_tests.yml
jobs:
  my-test:
    runs-on: ubuntu-latest
    services:
      postgres:
        image: postgres:13.4
        env:
          POSTGRES_USERNAME: postgres
          POSTGRES_PASSWORD: postgres
          POSTGRES_DB: myapp_test
        ports:
          - 5432:5432
        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
    env:
      RAILS_ENV: test
      POSTGRES_HOST: localhost
      POSTGRES_USERNAME: pg
      POSTGRES_PASSWORD: pg
      GITHUB_TOKEN: ${{ secrets.BUNDLE_ACCESS_TOKEN }}
      BUNDLE_GITHUB__COM: x-access-token:${{ secrets.BUNDLE_ACCESS_TOKEN }}
      CUCUMBER_FORMAT: progress
    steps:
      - uses: actions/checkout@v2
      - uses: FedericoCarboni/setup-ffmpeg@v1
      ...


    


    And with debug turned on here's the Failure (line 20) from GitHub Actions :

    


    Run FedericoCarboni/setup-ffmpeg@v1

1 ------- ##[debug]Evaluating condition for step: 'Run FedericoCarboni/setup-ffmpeg@v1'
2 ##[debug]Evaluating: success()
3 ##[debug]Evaluating success:
4 ##[debug]=> true
5 ##[debug]Result: true
6 ##[debug]Starting: Run FedericoCarboni/setup-ffmpeg@v1
7 ##[debug]Loading inputs
8 ##[debug]Loading env
9 Run FedericoCarboni/setup-ffmpeg@v1
10   with:
11   env:
12     RAILS_ENV: test
13     POSTGRES_HOST: localhost
14     POSTGRES_USERNAME: pg
15     POSTGRES_PASSWORD: pg
16     GITHUB_TOKEN: ***
17     BUNDLE_GITHUB__COM: x-access-token:***
19     CUCUMBER_FORMAT: progress
20 Error: Bad credentials
21 ##[debug]Node Action run completed with exit code 1
22 ##[debug]Finishing: Run FedericoCarboni/setup-ffmpeg@v1


    


    Thanks for any help.