
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (102)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (8016)
-
Python : How to use ffmpeg to read videos(video file or rtsp) and display them using OpenCV ?
22 août 2019, par ToughMindI know that if we want to read video file or USB camera or rtsp stream, we can use
cv2.VideoCapture
.
But for some reason, I want to use ffmpeg to do the thing and process obtained images using opencv. So the pseudocode would be :import cv2
import ffmpeg
videoFile = 'XXX.mp4'
video = ffmpeg.XXX(videoFile)
while True:
frame = video.read() # this read() function is made up by me
frameCV = ffmpeg2cv(frame) # this ffmpeg2cv() function is made up by me
cv2.imshow('frame', frameCV)I have searched a something like https://github.com/kkroening/ffmpeg-python. But I still not know how to do this. I think ffmpeg is too hard and there are few online docs unlike opencv. So please help.
-
How to change ffmpeg -threads settings [migrated]
5 août 2014, par JacobWorking on a tube site. I’m running videos through ffmpeg on a linux dedicated server to convert to mp4.
The server specs :
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 60
Stepping: 3
CPU MHz: 3491.749
BogoMIPS: 6983.49
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7Issue during testing is that even only doing 4-5 at once, the server load skyrockets to an average of around 36. This is just a single person. I imagine when it opens, many people will be uploading at once.
It seems ffmpeg tries to use all the resources available per conversion.
I’ve heard there’s a -threads setting you can change, but I cannot find it. I have an 8 cpu server. It’s only used for conversions, so I’ve heard the best setting would be between 2 and 4. I can test it out.
But how do I change this setting ? Everything I see online discusses this setting, but not the steps to change it.
-
FFMPEG not converting or sending new video to folder
7 mars 2016, par David DrawSo recently I wanted to work on converting any video file that isn’t a MP4 file to that very file type. I did a lot of browsing and FFMPEG was the solution.
I tried using FFMPEG_php on my wamp server but seems it is outdated and is no longer updated
So I downloaded the static package off the FFMPEG website and put it into my C : drive and put the path to it in my computer, following some videos and tutorials online to do so.I believe calling it from the php file with a path is what I have to do as there is so much conflicting information on this which isn’t clear.
So I’m on windows 7 build 7601
I use wamp server 2.5 with the Highest PHP, MYSQL and APACHE.I added the below code into my php script after the file is moved to the first folder as by a few tutorials I’ve read. But the uploaded file is not converting nor is being put in the destination_mp4 folder.
Any help would be greatly appreciated. Thank you.
if(move_uploaded_file($file_loc,$folder.$final_file))
{
exec("C:/ffmpeg/bin/ffmpeg.exe -i ".$folder.$final_file." ". $destination_mp4."");
$newName = $_SERVER['REMOTE_ADDR'].'_'.$_SESSION['id'].''.time();
$mp4Name=$newName.'.mp4';
$destination_mp4='C:/wamp/www/include/uploadvideomp4/'.$mp4Name;