
Recherche avancée
Autres articles (30)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (6016)
-
Use WebRTC/GetUserMedia stream as input for FFMPEG
10 février 2020, par ApplowPiI’m recording my screen with gerUserMedia and get my video & audio stream. I’m then using WebRTC to send/receive this stream on another device. Is there any way I can then use this incoming webrtc stream as an input for ffmpeg by converting it somehow ?
Everything I’m working with is in javascript.
Thanks in advance.
-
hwframe : Allow hwaccel frame allocators to align surface sizes
22 juin 2017, par Anton Khirnovhwframe : Allow hwaccel frame allocators to align surface sizes
Hardware accelerated decoding generally uses AVHWFramesContext for pool
allocation of hardware surfaces. These are setup to allocate surfaces
aligned to hardware and hwaccel API requirements. Due to the
architecture, av_hwframe_get_buffer() will return AVFrames with
the dimensions set to the aligned sizes.This causes some decoders (like hevc) return these aligned size as
final frame size, instead of cropping them to the video’s actual
dimensions. To make sure this doesn’t happen, crop the frame to the
size the decoder expects when ff_get_buffer() is called.Signed-off-by : Luca Barbato <lu_zero@gentoo.org>
-
Using FFMPEG to overlay 2 concat-demux videos
10 juin 2021, par marcoI am making a screen recording software that captures gestures/mouse moves as coordinates+timestamps, and would like to overlay those on the screen recording. I have a folder of "Frames" that have a red circle and the rest transparent that correspond to the gestures.


The way I initially got it working was to use concat-demux to generate a video of the gestures, and then I overlay it with ffmpeg by chromakeying out the black background and overlaying it, but that is very slow.


Is there a better/faster way to do it that maybe doesn't make an intermediate video that I have to chromakey ? I have access to the timestamps of the gestures as well as the duration these frames should stay on screen.


my pipeline :


Screen Frames w/ Timestamps+durations --> Concat-demux --> ---------------------------+
 |
Gesture Logs --> Frames w/ timestamp+duration --> Concat-demux ---> chromakey --+ |
 (has transparency) (loses transparency) | |
 V V
 Overlay
 |
 V
 Final Video



Example frame from gestures which is the foreground
(The white is transparent)


The background has no transparency as it is a computer background


The command I used to combine the videos I generated is :

ffmpeg -i gestures.mp4 -i screen.mp4 -filter_complex '[0]chromakey=0x000000:.1[bk];[1][bk]overlay' output.mp4