
Recherche avancée
Autres articles (104)
-
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 (...) -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...) -
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 (...)
Sur d’autres sites (10201)
-
FFmpeg command isn't working on Samsung
30 avril 2016, par user4204805I have added the FFmpeg library to my android project.
I am using the following code to slice my video using FFmpeg :
String[] complexCommand = {"ffmpeg","-i",input.mp4,"-vf","crop="+surfaceWidth+":"+surfaceHeight+":"+surfaceStartX+":"+surfaceStartY,"-threads","5","-preset","ultrafast","-strict" ,"-2",output.mp4};
It gives me the following error :
A/libc: Fatal signal 11 (SIGSEGV) at 0x000f4240 (code=1), thread 17377 (IntentService[U)
It works on most devices except for Samsung device (just checked on samsung grand). Please help.
-
Live Video Encoding and Streaming on a Webpage
9 mars 2016, par OckhiusI am trying to show live webcam video stream on webpage and I have a working draft. However, I am not satisfied with the performance and looking for a better way to do the job.
I have a webcam connected to Raspberry PI and a web server which is a simple python-Flask server. Webcam images are captured by using OpenCV and formatted as JPEG. Later, those JPEGs are sent to one of the server’s UDP ports. What I did up to this point is something like a homemade MJPEG(motion-jpeg) streaming.
At the server-side I have a simple python script that continuously reads UDP port and put JPEG image in the HTML5 canvas. That is fast enough to create a perception of a live stream.
Problems :
-
This compress the video very little. Actually it does not compress the video. It only decreases the size of a frame by formatting as JPEG.
-
FPS is low and also quality of the stream is not that good.
-
It is not a major point for now but UDP is not a secure way to stream video.
-
Server is busy with image picking from UDP. Needs threaded server design.
Alternatives :
- I have used FFMPEG before to convert video formats and also stream pre-recorded video. I guess, it is possible to encode(let say H.264) and stream WebCam live video using ffmpeg or avconv. (Encoding)
Is this applicable on Raspberry PI ?
- VLC is able to play live videos streamed on network. (Stream)
Is there any Media Player to embed on HTML/Javascript to handle
network stream like the VLC does ?- I have read about HLS (HTTP Live Stream) and MPEG-DASH.
Does these apply for this case ? If it does,how should I use them ?
Is there any other way to show live stream on webpage ?
- RTSP is a secure protocol.
What is the best practice for transport layer protocol in video
streaming ? -
-
buffer : drop a reference to a non-existing function from the docs
9 janvier 2016, par Anton Khirnov