Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (48)

  • 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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8279)

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