Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (74)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (16697)

  • From time to time ffmpeg makes my computer unable to restart

    6 juin 2022, par principal-ideal-domain

    I'm doing very time consuming ffmpeg video editing. That's why I put my commands into a .bat file and run them over night. Usually that works fine but from time to time when I look at the next moring a see an error message of this kind :

    


    enter image description here

    


    From that state on I didn't find any good way to close the console. When I press the x in the top right corner, it freezes. When I try to kill it using the task manager nothing happens. Even explorer.exe can't be closed using the task manager. A shutdown won't do anything. During the last month I had this problem about three times and the only way I could close it was to long press the power button of the computer until it was turned off this hard way.

    


    Any ideas what to in such situations ? Or even better : Any ideas how to prevent those situations ? What is the reason for the error ? Do you understand the message ? By the way, when the computer is started again then at the next morining and I run the same bat file again everything works fine. So the same error does not repeat and the video is edited nicely.

    


    Edit : Now, about one week after posting this question the problem occurred many more times. It is very annoying. I guess it has to do with the external hard drive connected by USB. Sometimes it randomly interrupts the connection. That might be the reason for the behavior. However that be, I want to learn a solution how to deal with this in future. I don't want to always push the reset button of my computer. I want a proper way to shut it down.

    


  • FFMPEG - make a stable & zero-padded frame counter

    2 octobre 2020, par L0Lock

    I use FFMPEG to print a frame counter on my videos, but I have two issues :

    


    demo GIF

    


      

    1. The text stutters
    2. 


    3. I'd like to have the possibility to have the number zero-padded (I.E. write 001 002 003 instead of 1 2 3).
    4. 


    


    Code :

    


    @echo off
:again

cd /D %~p1

ffmpeg ^
    -i "%~nx1" ^
    -vf "drawtext=fontfile=arialbd.ttf: text='Frame \: %%{n}': start_number=1: x=(w-tw)/2: y=h-(2*lh): fontcolor=white: fontsize=40: box=1: boxcolor=black@0.4: boxborderw=8" ^
    -c:a copy ^
    "%~p1%~n1_framenumbered.mov"
if NOT ["%errorlevel%"]==["0"] goto:error
echo [92m%~n1 Done![0m

shift
if "%~1" == "" goto:end
goto:again

:error

echo [93mThere was an error. Please check your input file or report an issue on github.com/L0Lock/FFmpeg-bat-collection/issues.[0m
pause
exit 0

:end

cls
echo [92mEncoding succesful. This window will close after 10 seconds.[0m
timeout /t 10


    


    Solutions :

    


      

    • use `text='Frame : %eif:n:d:3' to get the zero-padded frame count (thanks to this answer)
    • 


    • use a monospace font (courrier new is common on Windows)
    • 


    • the script was failing to load the font, use the full path instead but without the drive (thanks to this answer) :

        

      • Do : /Windows/Fonts/courbd.ttf
      • 


      • Don't C:/Windows/Fonts/courbd.ttf nor use \
      • 


      


    • 


    


  • Can not build ffmpeg with gpu acceleration on macOS

    21 février 2018, par Kirill Serebriakov

    I’m trying to use my GPU for video encoding/decoding operations on macOS.

    • OS : MacOS 10.12.5 (Sierra) //hackintosh if it matters
    • CUDA Toolkit 8.0 installed
    • NVidia GTX 1080 with latest web driver

    Followed this guides :

    Config :

    ./configure --enable-cuda --enable-cuvid --enable-nvenc \
    --enable-nonfree --enable-libnpp \
    --extra-cflags=-I/Developer/NVIDIA/CUDA-8.0/include \
    --extra-ldflags=-L/Developer/NVIDIA/CUDA-8.0/lib

    Got this error :

    ERROR: cuvid requested, but not all dependencies are satisfied: cuda

    config.log - full configure log

    I did not install Video Codec SDK (not sure how to make it on macOS, just thought that it may come with cuda toolkit) and according to this page I have a lot of limitations on OSX.

    Is it possible on macOS ? Or this will work only for linux/windows ?