
Recherche avancée
Autres articles (48)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP 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" (...)
Sur d’autres sites (5549)
-
Using moviepy, how can I splice up long videos into 8-second bits ?
18 septembre 2020, par ekinugurelrelatively new python user here. I'm trying to use moviepy to splice up 5 min long videos into 8-second bits. I used the code in this thread to extract subclips and it works. I did the following to make it a loop that covers the whole video, but I only get one 8-sec video as an output :


from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
videopath = '../img/videos/Mopac+Cesarchavez-1.m4v'

for sec in videopath:
 sec = 0
 ffmpeg_extract_subclip(videopath, sec, sec+8.00, "../img/videos/subclips/testclip.mp4")
 if sec == 327:
 break



Do I need to specify a naming convention so that my output isn't just one video ? How would I do that ?


-
Anomalie #2374 (En cours) : request url too long
17 octobre 2011, par Ben .et je rouvre parcequ’en fait non ce n’est pas ça
-
Python Docker SDK long command to container [duplicate]
2 avril 2021, par Neil BernardI need to send a fairly long command using python docker SDK


ffmpeg -f lavfi -re -i smptebars=duration=60:size=1280x720:rate=30 -f lavfi -re -i sine=frequency=1000:duration=60:sample_rate=44100 -pix_fmt yuv420p -c:v libx264 -b:v 1000k -g 30 -keyint_min 120 -profile:v baseline -preset veryfast -f mpegts "srt://127.0.0.1:4200?pkt_size=1316"



I have an example where you ned to wrap each element in double quotes.


container1 = client.containers.run("alpine", ["echo", "hello", "world"],name='autotest', detach=True)



2 Questions


Is there an elegant way to do this ?
If not how do I handle the bits that already have quotes ?