
Recherche avancée
Autres articles (46)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (7709)
-
How to stream frames from OpenCV C++ code to Video4Linux or ffmpeg ?
6 juillet 2022, par usamazfI am experimenting with OpenCV to process frames from a video stream. The goal is to fetch a frame from a stream, process it and then put the processed frame to a new / fresh stream.


I have been able to successfully read streams using OpenCV video capture functionality. But do not know how I can create an output stream with the processed frames.


In order to do some basic tests, I created a stream from a local video file using ffmpeg like so :


ffmpeg -i sample.mp4 -v 0 -vcodec mpeg4 -f mpegts \
 "udp://@127.0.0.1:23000?overrun_nonfatal=1&fifo_size=50000000"



And in my C++ code using the VideoCapture functionality of the OpenCV library, I am able to capture the above created stream. A basic layout of what I am trying to achieve is attached below :


cv::VideoCapture capture("udp://@127.0.0.1:23000?overrun_nonfatal=1&fifo_size=50000000", cv::CAP_FFMPEG);

cv::Mat frame;

while (true) 
{
 // use the above stream to capture a frame
 capture >> frame;
 
 // process the frame (not relevant here)
 ...

 // finally, after all the processing is done I 
 // want to put this frame on a new stream say at
 // udp://@127.0.0.1:25000, I don't know how to do
 // this, ideally would like to use Video4Linux but
 // solutions with ffmpeg are appreciated as well
}



As you can see from comment in above code, I don't have any idea how I should even begin handling this, I tried searching for similar questions but all I could find was how to do VideoCapture using streams, nothing related to outputting to a stream.


I am relatively new to this and this might seem like a very basic question to many of you, please do excuse me.


-
Can ffmpeg burn in time code ?
12 août 2017, par spinonI have a need to burn in a time code to a video and am wondering if this is something that ffmpeg is capable of ?
-
Sample code for rtp stream from FFMPEG
9 mars 2015, par Yogesh KulkarniI am searching sample code in c or cpp which will send rtp stream using ffmpeg library. Do anyone know where I will get it ?