
Recherche avancée
Autres articles (111)
-
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (14012)
-
Using FFMPEG codecs with Python OpenCV
24 octobre 2017, par slalomchipI’m using Python 3.6 with OpenCV in Windows and I want to write videos using the h264 codec. OpenCV includes
opencv_ffmpeg320_64.dll
, but it doesn’t appear to write h264 videos. I was told that I need to use the ffmpeg library. How do I use the ffmpeg codec library with OpenCV instead of the few codecs that are packaged inopencv_ffmpeg320_64.dll
?Also, I want to capture live video from a capture device that uses a codec not supported by OpenCV. Is there a good chance the ffmpeg library (instead of
opencv_ffmpeg320_64.dll
) will fix this issue as well ? -
intreadwrite : Add intermediate variables in the byteswise AV_W*() macros
1er août 2016, par Martin Storsjöintreadwrite : Add intermediate variables in the byteswise AV_W*() macros
This avoids issues with expanding the argument multiple times,
and makes sure that it is of the right type for the following shifts.Even if the caller of a macro could be expected not to pass parameters
that have side effects if expanded multiple times, these fallback
codepaths are rarely, if ever, tested, so it is expected that such
issues can arise.Thefore, for safety, make sure the fallback codepaths only expand
the arguments once.Signed-off-by : Martin Storsjö <martin@martin.st>
-
How do I make youtube-dl or streamlink stop after a certain period of time when downloading a live stream
13 janvier 2020, par Programmer4LifeI’m the unofficial historian for a popular 24/7 live feed. I wrote a script to use streamlink (fork of livestreamer) to download the stream constantly. Then i have a script to upload the captured video to YouTube as unlisted for the stream owner. I use a shell script and have the file names be dates and times.
I’ve also used youtube-dl. For both, The maximum captured time appears to be 6 hours because it’ll stop after that amount of time. To address this, I wrote a script to restart the capture when it stops after sleeping for 30 seconds (safety in case of runaway loop) so this isn’t an issue either.
What i am trying to do is to either set my stream capture (whether it’s youtube-dl or streamlink it doesn’t matter) to stop after a shorter interval, say 2 hours. I could also split up the file into 3 parts but i don’t know if that would require re-encoding. If it does, that’s not an option because all of this is done on a VPS with limited resources.
The reason I am trying to split up the files or capture in a shorter time period is because 6 hours is too dang long to easily navigate a YouTube video. On mobile, trying to seek to a specific time is near impossible. Desktop isn’t much easier because you need to be very precise.