
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (85)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (8209)
-
PyInstaller —noconsole still shows the console after running the app
23 septembre 2020, par Kiren78I've built an app to download and play sound everytime someone inserts or removes USB drive from PC.

Code :

from playsound import playsound
from win10toast import ToastNotifier
from time import sleep
from typing import Callable
import threading
import os
import youtube_dl
import win32file


def play_audio():
 try:
 path = os.getcwd() + "\\audio.mp3"
 ydl_opts = {
 'format': 'bestaudio/best',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 }],
 'outtmpl': path
 }

 with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download(['https://www.youtube.com/watch?v=_0HTwQjMr9k'])

 playsound(path)
 except Exception as e:
 toast = ToastNotifier()
 toast.show_toast("RIP prank failed byq", "no ogolnie prank failed rip co jest?", duration=20)


def get_drives():
 drive_list = []
 drivebits = win32file.GetLogicalDrives()
 for d in range(1, 26):
 mask = 1 << d
 if drivebits & mask:
 drname = '%c:\\' % chr(ord('A') + d)
 t = win32file.GetDriveType(drname)
 if t == win32file.DRIVE_REMOVABLE:
 drive_list.append(drname)
 return drive_list


def watch_drives(on_change: Callable[[dict], None] = print, poll_interval: int = 1):
 def _watcher():
 global prev
 while True:
 drives = get_drives()
 if prev != drives:
 on_change(drives)
 play_audio()
 prev = drives
 sleep(poll_interval)

 t = threading.Thread(target=_watcher)
 t.start()
 t.join()


if __name__ == '__main__':
 prev = get_drives()
 watch_drives(on_change=print)



I don't understand it but everytime the download starts and FFmpeg starts debugging everything (using youtube-dl) a couple of console windows appear for a fraction of a second and they immediately disappear. How can I TOTALLY disable the console so that even FFmpeg can't open it ?


EDIT : Yes, I've already tried using
--windowed
and-w
parameters in PyInstaller

-
Remove Black Frames from an overlayed Circled Video
7 juillet 2017, par amanguelI have a video that I need to overlay on top of another video. The first video have parts with black frames that I don’t want to be overlayed and I also need to mask this video with a circle.
In other words, I will be overlaying a few circled videos on top of a bigger rectangular video and I also don’t want to show black frames from the circled videos.
Could you please help me.
Thanks !!!!!
-
Revision b45438181c : Rewrite filter_selectively_horiz for parallel loopfiltering Added loop filter m
9 novembre 2013, par Yunqing WangChanged Paths :
Modify /vp9/common/vp9_loopfilter.c
Rewrite filter_selectively_horiz for parallel loopfilteringAdded loop filter mask checking, and made the caller function
ready for implementation of parallel loopfiltering in horizontal
direction.Next, we need to go through the loopfilter functions (both c and
optimized versions), and provide 16-byte wide loopfiltering for
each filter type.Change-Id : Ifef47e7ef9086ebc2fd6ca7ede8f27c9bbf79e66