
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (74)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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" (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (15845)
-
Content retreived from glacier vault , how to feed into ffmpeg or ffprobe ?
22 septembre 2021, par maddy23Wrote a python program to retreive the whole archive file from the glacier vault , from get_job_output.py


Further from the respobe body from get_job_output.py , loaded into a varible.


responese = vaultName='vualt_name',
 jobId='UBSW2BjtzM8i868SD97sVS972-Ifz2tVOOW2BjtzM8ifceipTvN-2RgDJG5JjWgIw1BZ9Bv_v9NJTg7OadEupjTFO',
)

content = respone['body'] --> which is an streamingbody 



further i need to feed the streambody cotent into ffmpeg cmd


ffprobe -i "content"



Above cmd returns :
TypeError : can only concatenate str (not "StreamingBody") to str


I dont want to use StreamingBody.read(response['body']) , which basically loads the whole file into RAM.
what are other ways to handle the streamingbody from respone and feed to other programs.
or is there a way to generate a http://link for the


-
Detect face in video file
24 juin 2017, par Yaswanth PushpakMy code is to detect face in a video, but the video is not being loaded even I have given the right path. Also, I installed ffmpeg but there are no .dll files in it.
Can anyone help ?
import cv2
import numpy as np
faceDetect=cv2.CascadeClassifier('C:\\OPENCV\\opencv\\sources\\data\\haarcascades\\haarcascade_frontalface_default.xml')
ret,cam=cv2.VideoCapture('D:\\New folder (5)\\New folder (3)\\Ae Dil Hai Mushkil.mp4')
img=cam.read()
while(cam.isOpened()):
ret,img=cam.read();
if not ret: break
gray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
faces=faceDetect.detectMultiScale(gray,1.3,5);
`enter code here`for (x,y,w,h) in faces:
cv2.rectangle(img,(x,y),(x+w,y+h),(0,255,0),2)
cv2.imshow("Face",img);
if(cv2.waitKey(1) & 0xFF==ord('q')):
break;
cam.release()
cv2.destroyAllWindows()Error :
Traceback (most recent call last):
File "D:\New folder (5)\New folder (3)\facedet.py", line 5, in <module>
ret,cam=cv2.VideoCapture('D:\\New folder (5)\\New folder (3)\\Ae Dil Hai Mushkil.mp4')
TypeError: 'cv2.VideoCapture' object is not iterable
</module> -
convert mkv to mp4 before uploading it to aws
21 mai 2021, par Sambhav jainthere is a videofile which is in mkv format and getting upload to aws but i want to convert it to mp4 first and then upload. is there a way to convert mkv to mp4


handleUpload() {
 for (let i = 0; i < this.files.length; i++) {
 this.awsUploadService
 .getSignedUrlS3(this.files[i]["name"], this.files[i]["type"])
 .subscribe(
 ({ url, keyFile }) => {
 this.awsUploadService
 .uploadfileAWSS3(url, this.files[i]["type"], this.files[i])
 .subscribe(
 (data) => {
 if (data["type"] === 1) {
 this.files[i]["progress"] =
 (data["loaded"] / data["total"]) * 100;
 }
 if (data["type"] === 4) {
 this.files[i]["isUploadCompleted"] = true;
 this.files[i][
 "uploadLocation"
 ] = `https://${environment.S3_BUCKET_NAME}.s3.${environment.S3_Region}.amazonaws.com/${keyFile}`;
 }
 },
 (error) => {
 this.files[i].isUploadCompleted = false;
 throw error;
 }
 );
 },
 (error) => {
 this.files[i].isUploadCompleted = false;
 throw error;
 }
 );
 }
 }