
Recherche avancée
Autres articles (103)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (13895)
-
Revision e22b12e304 : Added clamp of qindex to valid range The qindex for a segment was not clamped i
22 février 2014, par Yaowu XuChanged Paths :
Modify /vp9/common/vp9_quant_common.c
Added clamp of qindex to valid rangeThe qindex for a segment was not clamped in ABSDATA mode, which may
cause invalid memory access if an ill-formed stream has a negative
value in ABSDATA mode. This commit added clamp to make sure qindex
for a segment always fall into valid range.Change-Id : I0a74d00f4ef40aec7edaeca1d03c8645e23ab08c
-
Why opencv can open video but failed to retrieve frame from it ?
20 février 2013, par GreperI build opencv with ffmpeg support and this is a snippet of my code to read a video and iterate through the frames.
if (argc != 3) {
std::cout<<"Usage: exe input_video_filename skip_frames \n"< scores;
while(true)
{
if(!**cap.retrieve(frame)**)
{
std::cout<<"error retrieve frame"<code>The program succeed to read the video at line cap.open(video_fn) but fail to retrieve frame from VideoCapture at the line if(!cap.retrieve(frame)). I tried with mp4 and avi but it always fails.Does anyone encountered similar problem ? How to solve it ? Many thanks !
-
JavaCV FFmpegFrameGrabber output video has incomplete audio
15 juin 2016, par Diego PerozoI’m trying to write a program and part of it is supposed to take an
ArrayList
ofBufferedImage
objects and an audio file to create a movie.Here’s the code that does that :
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import org.bytedeco.javacpp.opencv_core.IplImage;
import org.bytedeco.javacv.FFmpegFrameGrabber;
import org.bytedeco.javacv.FFmpegFrameRecorder;
public class Recorder {
public static void Record(ArrayList<bufferedimage> charFrames, double fps, double frameLength, String outputPath) {
FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(outputPath,Painter.imgx,Painter.imgy);
FFmpegFrameGrabber audioGrabber = new FFmpegFrameGrabber("audio/outputaudio.mp3");
try {
audioGrabber.start();
} catch (org.bytedeco.javacv.FrameGrabber.Exception e1) {
e1.printStackTrace();
}
try {
recorder.setVideoQuality(12.5);
recorder.setVideoCodec(13);
recorder.setFormat("mp4");
recorder.setFrameRate(fps);
recorder.setSampleRate(audioGrabber.getSampleRate());
recorder.setAudioChannels(2);
recorder.start();
System.out.println();
for (int i=0;i (double)(frameLength))*10000))/100);
sb1.append("%");
System.out.println(sb1.toString());
}
recorder.stop();
audioGrabber.stop();
}
catch (Exception e){
e.printStackTrace();
}
}
}
</bufferedimage>The problem is that this code outputs a video file which displays the video perfectly but only plays the audio for the first 3 seconds (when tested with the audio and frames of a five-second-long video). Thanks in advance for any help.