Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (46)

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

  • 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

Sur d’autres sites (6645)

  • lavu/pixfmt : Add packed 4:4:4 format

    23 juillet 2022, par Philip Langdale
    lavu/pixfmt : Add packed 4:4:4 format
    

    The "AYUV" format is defined by Microsoft as their preferred format for
    4:4:4 content, and so it is the format used by Intel VAAPI and QSV.

    As Microsoft like to define their byte ordering in little-endian
    fashion, the memory order is reversed, and so our pix_fmt, which
    follows memory order, has a reversed name (VUYA).

    • [DH] doc/APIchanges
    • [DH] libavutil/pixdesc.c
    • [DH] libavutil/pixfmt.h
    • [DH] libavutil/version.h
    • [DH] tests/ref/fate/imgutils
    • [DH] tests/ref/fate/sws-pixdesc-query
  • Screen Recorder .Net SDK [on hold]

    15 novembre 2017, par ShankarSangoli

    I want to record my Selenium automated tests which are written in C#.

    I am planning to write a .Net console application which will start a screen recorder and at the same time, start the Selenium automated tests. I was looking for any available Screen Recorder .Net library which can be incorporated in the .Net console application. But I could not find anything useful which will help me to record the video in mp4 format with audio(optionally).

    I have already looked at Microsoft Expression Encoder 4 SDK but it has several limitations and also it cannot record video in .mp4 format unless you use Pro version which is not easily available.

    Can anyone please provide a pointer to any helpful resources ?

  • Pause a FFmpeg encoding in a Python Popen subprocess on Windows

    5 décembre 2020, par CasualDemon

    I am trying to pause an encode of FFmpeg while it is in a non-shell subprocess (This is important to how it plays into a larger program). This can be done by presssing the "Pause / Break" key on the keyboard by itself, and I am trying to send that to Popen.

    


    The command itself must be cross platform compatible, so I cannot wrap it in any way, but I can send signals or run functions that are platform specific as needed.

    


    I looked at how to send a "Ctrl+Break" to a subprocess via pid or handler and it suggested to send a signal, but that raised a "ValueError : Unsupported signal : 21"

    


    from subprocess import Popen, PIPE
import signal


if __name__ == '__main__':
    command = "ffmpeg.exe -y -i example_video.mkv -map 0:v -c:v libx265 -preset slow -crf 18 output.mkv"
    proc = Popen(command, stdin=PIPE, shell=False)

    try:
        proc.send_signal(signal.SIGBREAK)
    finally:
        proc.wait()


    


    Then attempted to use GenerateConsoleCtrlEvent to create a Ctrl+Break event as described here https://docs.microsoft.com/en-us/windows/console/generateconsolectrlevent

    


    from subprocess import Popen, PIPE
import ctypes


if __name__ == '__main__':
    command = "ffmpeg.exe -y -i example_video.mkv -map 0:v -c:v libx265 -preset slow -crf 18 output.mkv"
    proc = Popen(command, stdin=PIPE, shell=False)

    try:
        ctypes.windll.kernel32.GenerateConsoleCtrlEvent(1, proc.pid)
    finally:
        proc.wait()


    


    I have tried psutil pause feature, but it keeps the CPU load really high even when "paused".

    


    Even though it wouldn't work with the program overall, I have at least tried setting creationflags=CREATE_NEW_PROCESS_GROUP which makes the SIGBREAK not error, but also not pause it. For the Ctrl-Break event will entirely stop the encode instead of pausing it.