
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (108)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (8995)
-
Anomalie #2687 (Nouveau) : ajouter un document n’apparait pas sur la fenêtre de modification d’un ...
4 mai 2012, par Ben .11:48 rien à voir avec fabrique, mais si on permet d’associer les documents : http://127.0.0.1/ben/svn/spip/ecrire/?exec=definition&id_definition=1 ya bien le formulaire ajouter un document .... par contre il n’y en pas là (...)
-
Rotation on Video frame image makes video quality low and becomes green ffmpeg opencv
21 novembre 2013, par bindalI am working on one application in which i have to record video on touch which includes pause recording so , i am using FFmpegFrameRecorder for that
But when i am recording video with rear camera then in onpreviewframe
i am getting yuvIplImage in portrait mode that is correct but when i
am recording with front camera in portrait mode then in onPreviewframe
i am getting image upside down , so my half, so from that result my
half video is showing in correct portrait mode and remaining half
video id showing upside down, so i am applying rotation on yuvIplImage
when recording from front cameraHere is my onPreviewFrame Method
@Override
public void onPreviewFrame(byte[] data, Camera camera) {
long frameTimeStamp = 0L;
if (mAudioTimestamp == 0L && firstTime > 0L)
frameTimeStamp = 1000L * (System.currentTimeMillis() - firstTime);
else if (mLastAudioTimestamp == mAudioTimestamp)
frameTimeStamp = mAudioTimestamp + frameTime;
else {
long l2 = (System.nanoTime() - mAudioTimeRecorded) / 1000L;
frameTimeStamp = l2 + mAudioTimestamp;
mLastAudioTimestamp = mAudioTimestamp;
}
synchronized (mVideoRecordLock) {
if (recording && rec && lastSavedframe != null
&& lastSavedframe.getFrameBytesData() != null
&& yuvIplImage != null) {
mVideoTimestamp += frameTime;
if (lastSavedframe.getTimeStamp() > mVideoTimestamp)
mVideoTimestamp = lastSavedframe.getTimeStamp();
try {
yuvIplImage.getByteBuffer().put(
lastSavedframe.getFrameBytesData());
videoRecorder.setTimestamp(lastSavedframe
.getTimeStamp());
// if (defaultCameraId == 1) {
// CvSize size = new CvSize(yuvIplImage.height(),
// yuvIplImage.width());
// IplImage yuvIplImage2 = opencv_core.cvCreateImage(
// size, yuvIplImage.depth(),
// yuvIplImage.nChannels());
//
// videoRecorder.record(yuvIplImage2);
// } else {
// }
if (defaultCameraId == 1) {
yuvIplImage = rotate(yuvIplImage, 270);
videoRecorder.record(yuvIplImage);
}else
{
videoRecorder.record(yuvIplImage);
}
// else
// opencv_core.cvTranspose(yuvIplImage, yuvIplImage);
} catch (com.googlecode.javacv.FrameRecorder.Exception e) {
e.printStackTrace();
}
}
lastSavedframe = new SavedFrames(data, frameTimeStamp);
}
}
}Here is rotation function
public static IplImage rotate(IplImage image, double angle) {
IplImage copy = opencv_core.cvCloneImage(image);
IplImage rotatedImage = opencv_core.cvCreateImage(
opencv_core.cvGetSize(copy), copy.depth(), copy.nChannels());
CvMat mapMatrix = opencv_core.cvCreateMat(2, 3, opencv_core.CV_32FC1);
// Define Mid Point
CvPoint2D32f centerPoint = new CvPoint2D32f();
centerPoint.x(copy.width() / 2);
centerPoint.y(copy.height() / 2);
// Get Rotational Matrix
opencv_imgproc.cv2DRotationMatrix(centerPoint, angle, 1.0, mapMatrix);
// opencv_core.cvReleaseImage(copy);
// Rotate the Image
opencv_imgproc.cvWarpAffine(copy, rotatedImage, mapMatrix,
opencv_imgproc.CV_INTER_CUBIC
+ opencv_imgproc.CV_WARP_FILL_OUTLIERS,
opencv_core.cvScalarAll(170));
opencv_core.cvReleaseImage(copy);
opencv_core.cvReleaseMat(mapMatrix);
return rotatedImage;
}But Final output of video makes half of the video green
Thanks in advance
-
avutil/rational : use frexp rather than ad-hoc log to get floating point exponent
29 octobre 2015, par Ganesh Ajjanagaddeavutil/rational : use frexp rather than ad-hoc log to get floating point exponent
This simplifies and cleans up the code.
Furthermore, it is much faster due to absence of the slow log computation.Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>