Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (30)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (5193)

  • (Shell) Strange issue with find loop, skips characters if ffmpeg is introduced. Work around ?

    5 janvier 2023, par Nebarik

    My goal here is to write a simple shell script that finds .ogg files in a folder and then does a little ffmpeg check on them one by one. Seems simple, but I'm running into the weirdest bug where it's randomly dropping 0-5 characters from the begining of the filename causing errors.

    


    I stripped my script down and did some testing with some test files and this is what happens if it's not doing ffmpeg.

    


    find . -type f -name '*.ogg' | while read filename
do
echo "${filename}"
done


    


    ./folder/222.ogg
./folder/111.ogg
./folder/333.ogg


    


    Great, perfect, exactly what I want.

    


    Now if I add ffmpeg as a line AFTER the echo I get this :

    


    find . -type f -name '*.ogg' | while read filename
do
echo "${filename}"
ffmpeg -v error -i "${filename}" -f null - 2>${location}/fferror.log
done


    


    ./folder/222.ogg
older/111.ogg
folder/333.ogg


    


    Some extra testing shows the ffmpeg is getting the messed up filename variables. So it must be the find that's acting different after running ffmpeg. With only 3 files it doesnt seem serious, but I intend to run this on many many files. It's chaos.

    


    Has anyone encountered something like this before ? I've tried adding sleep lines everywhere to troubleshoot, no change (also unsustainable for how many files i have). Any ideas to counter act this strange behaviour and get a clean filename everytime ?

    


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

    


  • Can this be a TC burn-in ; 993[1001(1001)1100]1108 - start frame 1001 end 1100 ; (1001) is current frame ;993 &1108 are head and tail 8 frame handles

    21 novembre 2022, par Abraham Thomas

    Need to create a Timecode overlay on videos in frames as "993[1001(1001)1100]1108"
Here -start frame is 1001 and last frame is 1100 ;
the (1001) is the current frame counter
and 993 and 1108 are head and tail handles (1001-8 and 1100+8)

    


    This is currently done in Davinci Resolve by using below text script (was helped in another forum) :
comp.RenderStart+1001-8 .. " [".. comp.RenderStart+1001 .. " (" .. time+1001 ..") " .. comp.RenderEnd +1001 .. "] " ..comp.RenderEnd +1001+8

    


    At times there are 200 + video clips requiring this ; if same can be achieved in ffmpeg this will speed up our workflow. Is this possible using a single ffmpeg command ; please help

    


    In this forum someone had posted a Timecode overlay command, which gives the current frame number ;
I've used this and this below single command works for me :

    


    ffmpeg -i inputvid.mp4 -vf "drawtext=fontfile=Arial.ttf : text='%frame_num' : start_number=1001 : x=(w-tw)/2 : y=h-(2*lh) : fontcolor=white : fontsize=55 : box=1 : boxcolor=black : boxborderw=5" -c:a copy D :\Test\outputvid.mp4

    


    Is there a way to add to this command ; the first frame and last frame of the video automatically detected by ffmpeg (I'm on windows) ;