Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (65)

  • Les images

    15 mai 2013
  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (7195)

  • lavu/opt : fix range check logic in set_format()

    16 décembre 2013, par Stefano Sabatini
    lavu/opt : fix range check logic in set_format()
    

    In particular, allow to reject undefined values. Previously the code
    was only accepting values in the range -1 .. NB_FORMATS-1.

    • [DH] libavutil/opt.c
  • Revision c4d1ab573a : Removing memset calls inside idct/iht functions. Making appropriate memset insi

    2 octobre 2013, par Dmitry Kovalev

    Changed Paths :
     Modify /vp9/decoder/vp9_decodframe.c


     Modify /vp9/decoder/vp9_idct_blk.c



    Removing memset calls inside idct/iht functions.

    Making appropriate memset inside decode_block now.

    Change-Id : I8e944194668c830de08271c8fb6e413251c201d8

  • Making use of -w option in pyinstaller does not start/create the subprocess in python

    15 novembre 2018, par User

    I am making use of python to invoke ffmpeg to start and stop video capturing. I do not want to the console window appear when my python exe starts. The code I have currently to start and stop video recording is below,

    cmd = '\\ffmpeg\\bin\\ffmpeg.exe -loglevel quiet -f gdigrab -framerate 30 -i desktop -vcodec libx264 -pix_fmt yuv420p -preset slow -crf 0 -threads 0 ' + '"' + final_file_for_video_processing + '"'

    def stop_screen_recording():
       sub_process.stdin.write("q".encode())
       stdOutput, stdError = sub_process.communicate()


    def stop_screen_recording(cmd):
       startupinfo = subprocess.STARTUPINFO()
       startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
       global sub_process
       sub_process = subprocess.Popen(cmd, startupinfo=startupinfo,
       stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=None)
       sub_process.wait()

    The challenge faced is, when I build the exe using
    pyinstaller -w —onefile python_file_name.py the recording does not begin. Note : The -w is to not show the console window.

    If I were to make use of pyinstaller and build the exe in the following way,
    pyinstaller —onefile python_file_name.py then recording of the video begins.
    Note : Without the -w command it works perfectly fine.

    I want to make use of the -w command since I do not want to show the console window of my python exe. Any insights will help.