
Recherche avancée
Autres articles (78)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
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" (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (10881)
-
Empty line output while using Popen with ffmpeg
27 mai 2019, par Elena_OuyangmengI’m trying to get information output from the command :
ffmpeg -i 2019-04-22_16-45-14.mp4 -loop 1 -i image.png -an -filter_complex "blend=difference:shortest=1,blackframe=99:32" -f null -
When trying this command in command line - the info is there, but when I try to use
Popen
- nothing (None, None)I’ve tried subprocess, and tried
os.popen
earlier.command = 'ffmpeg -i 2019-04-22_16-45-14.mp4 -loop 1 -i image.png -an -filter_complex "blend=difference:shortest=1,blackframe=99:32" -f null -'
subproc = subprocess.Popen(command.split(' '), shell=True)
x = subproc.communicate()
print(x) -
How to add two video filters in one command line which has transcoding done by two GPUs ?
3 août 2022, par Max DaxI have two video filters :




-vf "hwdownload, drawtext=fontfile=/usr/share/fonts/TTF/Verdana.ttf:text='Hello World',
format=nv12, hwupload"




and




-vf "select='gt(scene,0.04)'" -vsync 0 'snapshot.png'




How can I add these two video filters to the below command line which does transcoding from a webcam livestream of MJPG to HEVC using two GPUs ? :




ffmpeg
-init_hw_device cuda=decdev :/dev/dri/renderD129
-init_hw_device vaapi=encdev :/dev/dri/renderD128
-hwaccel cuda
-hwaccel_device decdev
-hwaccel_output_format cuda
-c:v mjpeg_cuvid
-f v4l2 -input_format mjpeg -framerate 30 -video_size 1920x1080
-i /dev/video0
-filter_hw_device encdev
-c:v hevc_vaapi webcam.mp4"




Basically what I am trying to do is using FFMPEG to transcode and record a live webcam stream and also at the same time take snapshots when motion is detected.


Thanks


-
avformat/hlsenc : Fix the method command line parameter
14 septembre 2015, par Michael Niedermayer