
Recherche avancée
Autres articles (40)
-
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone. -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (5093)
-
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
-
Is it possible to join two fisheye images to one equirectangular image using ffmpeg ?
15 juin 2022, par code0x00I have two fisheye images (one from back and one from front) and i want to join those two images to single equirectangular image.


Is it possible ?


the command i am looking for is something this this :


ffmpeg -i ./image_from_front.jpg -i ./image_from_back.jpg filters_to_use ./final_single_equirectangular_image.jpg



-
5 Key Benefits of Using a Tag Manager
12 décembre 2021, par erin — Analytics Tips, Marketing